Class DefaultPartitionAttributesBuilder

  • All Implemented Interfaces:
    PartitionAttributesBuilder

    public final class DefaultPartitionAttributesBuilder
    extends java.lang.Object
    implements PartitionAttributesBuilder
    Default implementation of PartitionAttributesBuilder.

    This class provides a relatively low memory overhead (when compared to TreeMap) for a PartitionAttributes. The goals are to provide fast Object.equals(Object) and Object.hashCode() which do not require intermediate object allocation and pointer traversal (e.g. Iterator).