Class StringMaps.StringMapWrapper<T extends CharSequence>

    • Constructor Detail

      • StringMapWrapper

        public StringMapWrapper​(StringMap<T> stringMap)
    • Method Detail

      • size64

        public long size64()
        Description copied from interface: StringMap
        Returns the intended number of keys in this function, or -1 if no such number exists.

        Most function implementations will have some knowledge of the intended number of keys in their domain. In some cases, however, this might not be possible. This default implementation, in particular, returns -1.

        Specified by:
        size64 in interface Size64
        Specified by:
        size64 in interface StringMap<T extends CharSequence>
        Returns:
        the intended number of keys in this function, or -1 if that number is not available.
      • list

        public ObjectBigList<? extends T> list()
        Description copied from interface: StringMap
        Returns a list view of the domain of this string map (optional operation).

        Note that the list view acts as an inverse of the mapping implemented by this map.

        Specified by:
        list in interface StringMap<T extends CharSequence>
        Returns:
        a list view of the domain of this string map, or null if this map does not support this operation.