パッケージ org.piax.util

クラス Cache<K,​V>

java.lang.Object
org.piax.util.Cache<K,​V>

public class Cache<K,​V>
extends Object
  • コンストラクタの詳細

    • Cache

      public Cache​(int maxNum)
  • メソッドの詳細

    • size

      public int size()
    • get

      public V get​(K key)
    • put

      public V put​(K key, V value)
    • remove

      public V remove​(K key)
    • clear

      public void clear()