ch.bind.philib.util
Class ClusteredHashIndex<K,T extends ClusteredIndex.Entry<K>>

java.lang.Object
  extended by ch.bind.philib.util.ClusteredHashIndex<K,T>
All Implemented Interfaces:
ClusteredIndex<K,T>

public final class ClusteredHashIndex<K,T extends ClusteredIndex.Entry<K>>
extends Object
implements ClusteredIndex<K,T>


Nested Class Summary
 
Nested classes/interfaces inherited from interface ch.bind.philib.util.ClusteredIndex
ClusteredIndex.Entry<K>
 
Constructor Summary
ClusteredHashIndex(int capacity)
           
 
Method Summary
 boolean add(T entry)
           
 void clear()
           
 T get(K key)
           
 boolean remove(T entry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusteredHashIndex

public ClusteredHashIndex(int capacity)
Method Detail

add

public boolean add(T entry)
Specified by:
add in interface ClusteredIndex<K,T extends ClusteredIndex.Entry<K>>

remove

public boolean remove(T entry)
Specified by:
remove in interface ClusteredIndex<K,T extends ClusteredIndex.Entry<K>>

get

public T get(K key)
Specified by:
get in interface ClusteredIndex<K,T extends ClusteredIndex.Entry<K>>

clear

public void clear()
Specified by:
clear in interface ClusteredIndex<K,T extends ClusteredIndex.Entry<K>>


Copyright © 2013. All Rights Reserved.