public interface ARH<K>
extends java.lang.Iterable<K>
Modifier and Type | Method and Description |
---|---|
boolean |
add(K s)
add a value to the cache.
|
void |
clear()
clear the cache
|
boolean |
contains(java.lang.Object s)
check if a value in the cache exist
|
void |
delete(K s)
delete an entry from the cache
|
int |
hashCode()
a hash code for this ARH
|
java.util.Iterator<K> |
iterator()
iterator implements the Iterable interface
|
java.util.Set<K> |
set()
Return a Set view of the mappings contained in this map.
|
int |
size()
get the size of the ARH.
|
int size()
boolean add(K s)
s
- boolean contains(java.lang.Object s)
s
- void delete(K s)
s
- void clear()
java.util.Iterator<K> iterator()
iterator
in interface java.lang.Iterable<K>
java.util.Set<K> set()
int hashCode()
hashCode
in class java.lang.Object