Module ch.bind.philib
Package ch.bind.philib.util
-
Interface Summary Interface Description ClusteredIndex<K,T extends ClusteredIndex.Entry<K>> ClusteredIndex.Entry<K> IntPair<T> A key value pair who's key is of type long.LongPair<T> A key value pair who's key is of type long.LruNode TimeoutMap<K,V> A map which additionaly to normal map operations allows the user to supply a timeout. -
Class Summary Class Description ArrayIterator<E> AnIteratorover an array.ClusteredHashIndex<K,T extends ClusteredIndex.Entry<K>> Counter A simple counter where values can be added or the whole counter be reset.CounterRepo CowSet<E> A simple implementation of a copy-on-write set.
There are two modification methods:CowSet.add(Object)andCowSet.remove(Object)
and two read methods:CowSet.getView()andCowSet.isEmpty()
Every modification through theCowSet.add(Object)orCowSet.remove(Object)methods and a return value oftruewill update the view.FinishedFuture<T> Intervals LeakyBucket An implementation of the leaky bucket pattern for throughput control.LimitedConcurrentQueue<T> LruList<E extends LruNode> SimpleTimeoutMap<K,V> An implementation ofTimeoutMapwhich uses theTreeMapandHashMapfrom java.util for internal data management.StaticIntMap<T> A statically initialized and immutable map ofint -> T.StaticLongMap<T> A statically initialized and immutable map oflong -> T.