Interface StringMap<S extends java.lang.CharSequence>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long serialVersionUID  
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods 
      Modifier and Type Method Description
      it.unimi.dsi.fastutil.objects.ObjectBigList<? extends S> list()
      Returns a list view of the domain of this string map (optional operation).
      default int size()
      Deprecated.
      Please use size64() instead.
      default long size64()
      Returns the intended number of keys in this function, or -1 if no such number exists.
      • Methods inherited from interface it.unimi.dsi.fastutil.Function

        apply, clear, containsKey
      • Methods inherited from interface java.util.function.Function

        compose
      • Methods inherited from interface it.unimi.dsi.fastutil.objects.Object2LongFunction

        andThen, andThenByte, andThenChar, andThenDouble, andThenFloat, andThenInt, andThenLong, andThenObject, andThenReference, andThenShort, applyAsLong, composeByte, composeChar, composeDouble, composeFloat, composeInt, composeLong, composeObject, composeReference, composeShort, defaultReturnValue, defaultReturnValue, get, getLong, getOrDefault, getOrDefault, put, put, remove, removeLong
    • Method Detail

      • list

        it.unimi.dsi.fastutil.objects.ObjectBigList<? extends S> list()
        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.

        Returns:
        a list view of the domain of this string map, or null if this map does not support this operation.
      • size64

        default long size64()
        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 it.unimi.dsi.fastutil.Size64
        Returns:
        the intended number of keys in this function, or -1 if that number is not available.
      • size

        @Deprecated
        default int size()
        Deprecated.
        Please use size64() instead.
        Specified by:
        size in interface it.unimi.dsi.fastutil.Function<java.lang.CharSequence,​java.lang.Long>
        Specified by:
        size in interface it.unimi.dsi.fastutil.Size64