Search in sources :

Example 1 with Person

use of com.hazelcast.map.impl.record.Person in project hazelcast by hazelcast.

the class AbstractValueComparatorTest method init.

@Before
public final void init() {
    serializationService = createSerializationService();
    partitioningStrategy = new DefaultPartitioningStrategy();
    object1 = new Person("Alice");
    object2 = new Person("Bob");
    data1 = serializationService.toData(object1);
    data2 = serializationService.toData(object2);
    nullData = new HeapData(new byte[0]);
}
Also used : DefaultPartitioningStrategy(com.hazelcast.partition.strategy.DefaultPartitioningStrategy) HeapData(com.hazelcast.internal.serialization.impl.HeapData) Person(com.hazelcast.map.impl.record.Person) Before(org.junit.Before)

Aggregations

HeapData (com.hazelcast.internal.serialization.impl.HeapData)1 Person (com.hazelcast.map.impl.record.Person)1 DefaultPartitioningStrategy (com.hazelcast.partition.strategy.DefaultPartitioningStrategy)1 Before (org.junit.Before)1