Package org.apache.lucene.index

Examples of org.apache.lucene.index.Payload.toByteArray()


        for (Long value: values) {
       
            LongPayload lPayload = new LongPayload(value);
            Payload payload = lPayload.asPayload();

            LongPayload bPayload = new LongPayload(payload.toByteArray());

            assertEquals(lPayload,bPayload);
            assertEquals(value,bPayload.asLong());
        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.