Interface ArraySizeMapper<T>

All Known Subinterfaces:
ArrayAssignMapper<K,V,T>, ArrayDeleteMapper<K,T>, ArrayUpdateMapper<K,V,T>
All Known Implementing Classes:
HashMap, HashMap.Builder, HashSet

public interface ArraySizeMapper<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    mappedSize(T mapping)
    Called to obtain number of keys in a given mapping.
  • Method Details

    • mappedSize

      int mappedSize(@Nonnull T mapping)
      Called to obtain number of keys in a given mapping.
      Parameters:
      mapping - mapping to be sized
      Returns:
      number of keys in the mapping