Class CacheSet<K>

java.lang.Object
org.aksw.commons.collections.CacheSet<K>
Type Parameters:
K -
All Implemented Interfaces:
Iterable<K>, Collection<K>, Set<K>

public class CacheSet<K> extends Object implements Set<K>
T is the Timestamp object (e.g. Date, Long, etc). Multiple keys may have the same timestamp. At each time there may only be a single key.
Author:
raven JFreeChart
  • Constructor Details

    • CacheSet

      public CacheSet()
      inclusive: wheter max distance is inclusive or exclusive. e.g. if maxDistance is 10, and a distance is also 10, then inclusive: the item is retained (10 is included) exclusive: the item is removed
    • CacheSet

      public CacheSet(int maxItemCount, boolean allowRenewal)
  • Method Details