Interface ARI1IntMapReadableType<T>

Type Parameters:
T - The type of values
All Known Subinterfaces:
ARI1IntMapMutableType<T>

public interface ARI1IntMapReadableType<T>
A readable map of unboxed integers to values.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(int key)
    Get the value associated with the given key.
    boolean
     
    int
     
     
  • Method Details

    • values

      Collection<T> values()
      Returns:
      The values
    • get

      T get(int key)
      Get the value associated with the given key.
      Parameters:
      key - The key
      Returns:
      The value, if any
    • isEmpty

      boolean isEmpty()
      Returns:
      true if the map is empty
    • size

      int size()
      Returns:
      The size of the map