Class FSTMap<K,​V>

java.lang.Object
org.nustaq.serialization.util.FSTMap<K,​V>

public class FSTMap<K,​V>
extends java.lang.Object
Created by ruedi on 15.06.2015.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    java.lang.Object[] mKeys  
    int mNumberOfElements  
    java.lang.Object[] mValues  
  • Constructor Summary

    Constructors 
    Constructor Description
    FSTMap​(int initialSize)  
  • Method Summary

    Modifier and Type Method Description
    static int adjustSize​(int size)  
    void clear()  
    V get​(K key)  
    void put​(K key, V value)  
    int size()  

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • FSTMap

      public FSTMap​(int initialSize)
  • Method Details

    • adjustSize

      public static int adjustSize​(int size)
    • size

      public int size()
    • put

      public final void put​(K key, V value)
    • get

      public final V get​(K key)
    • clear

      public void clear()