Class PMap.SortedBuilder<K extends java.lang.Comparable,V>

  • Type Parameters:
    K - The key type.
    V - The value type.
    All Implemented Interfaces:
    PMap.Builder<K,V>, PBuilder<java.util.Map<K,V>>
    Enclosing class:
    PMap<Key,Value>

    public static class PMap.SortedBuilder<K extends java.lang.Comparable,V>
    extends java.lang.Object
    implements PMap.Builder<K,V>
    Sorted map builder returning an ImmutableSortedMap.
    • Constructor Detail

      • SortedBuilder

        public SortedBuilder()
    • Method Detail

      • build

        @Nonnull
        public java.util.Map<K,V> build()
        Description copied from interface: PBuilder
        Build the instance value.
        Specified by:
        build in interface PBuilder<K extends java.lang.Comparable>
        Specified by:
        build in interface PMap.Builder<K extends java.lang.Comparable,V>
        Returns:
        The instance value.