Package gaiasky.util

Class LargeLongMap<T>

java.lang.Object
gaiasky.util.LargeLongMap<T>

public class LargeLongMap<T>
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    LargeLongMap​(int N)
    Creates a LargeLongMap with the given number of backend maps
  • Method Summary

    Modifier and Type Method Description
    boolean containsKey​(java.lang.Long key)  
    T get​(java.lang.Long key)  
    boolean isEmpty()  
    void put​(java.lang.Long key, T value)  
    int size()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LargeLongMap

      public LargeLongMap​(int N)
      Creates a LargeLongMap with the given number of backend maps
      Parameters:
      N - Number of maps to back this long map
  • Method Details

    • containsKey

      public boolean containsKey​(java.lang.Long key)
    • put

      public void put​(java.lang.Long key, T value)
    • get

      public T get​(java.lang.Long key)
    • size

      public int size()
    • isEmpty

      public boolean isEmpty()