public interface ComparableIdentifiedDataSerializable extends Comparable, IdentifiedDataSerializable
Comparable
and
IdentifiedDataSerializable
.
This contract basically allows to avoid a leakage of the internal
implementation details to the outside world if a class is required to be
Comparable
by some of its consumers and IdentifiedDataSerializable
by the others.
See AbstractIndex.NULL
and CompositeValue.NEGATIVE_INFINITY
for examples.
compareTo
getFactoryId, getId
readData, writeData
Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.