org.jrdf.graph.index.longindex.derby
Class ReadOnlyLongSet

java.lang.Object
  extended by org.jrdf.graph.index.longindex.derby.ReadOnlyLongSet
All Implemented Interfaces:
Iterable<Long>, Collection<Long>, Set<Long>

public class ReadOnlyLongSet
extends Object
implements Set<Long>

Class description goes here.


Constructor Summary
ReadOnlyLongSet(org.apache.derby.iapi.store.access.BackingStoreHashtable hashtable)
           
 
Method Summary
 boolean add(Long o)
           
 boolean addAll(Collection<? extends Long> c)
           
 void clear()
           
 boolean contains(Object o)
           
 boolean containsAll(Collection<?> c)
           
 boolean isEmpty()
           
 Iterator<Long> iterator()
           
 boolean remove(Object o)
           
 boolean removeAll(Collection<?> c)
           
 boolean retainAll(Collection<?> c)
           
 int size()
           
 Object[] toArray()
           
<T> T[]
toArray(T[] a)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Set
equals, hashCode
 

Constructor Detail

ReadOnlyLongSet

public ReadOnlyLongSet(org.apache.derby.iapi.store.access.BackingStoreHashtable hashtable)
Method Detail

size

public int size()
Specified by:
size in interface Collection<Long>
Specified by:
size in interface Set<Long>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Collection<Long>
Specified by:
isEmpty in interface Set<Long>

contains

public boolean contains(Object o)
Specified by:
contains in interface Collection<Long>
Specified by:
contains in interface Set<Long>

iterator

public Iterator<Long> iterator()
Specified by:
iterator in interface Iterable<Long>
Specified by:
iterator in interface Collection<Long>
Specified by:
iterator in interface Set<Long>

toArray

public Object[] toArray()
Specified by:
toArray in interface Collection<Long>
Specified by:
toArray in interface Set<Long>

toArray

public <T> T[] toArray(T[] a)
Specified by:
toArray in interface Collection<Long>
Specified by:
toArray in interface Set<Long>

containsAll

public boolean containsAll(Collection<?> c)
Specified by:
containsAll in interface Collection<Long>
Specified by:
containsAll in interface Set<Long>

retainAll

public boolean retainAll(Collection<?> c)
Specified by:
retainAll in interface Collection<Long>
Specified by:
retainAll in interface Set<Long>

removeAll

public boolean removeAll(Collection<?> c)
Specified by:
removeAll in interface Collection<Long>
Specified by:
removeAll in interface Set<Long>

add

public boolean add(Long o)
Specified by:
add in interface Collection<Long>
Specified by:
add in interface Set<Long>

remove

public boolean remove(Object o)
Specified by:
remove in interface Collection<Long>
Specified by:
remove in interface Set<Long>

addAll

public boolean addAll(Collection<? extends Long> c)
Specified by:
addAll in interface Collection<Long>
Specified by:
addAll in interface Set<Long>

clear

public void clear()
Specified by:
clear in interface Collection<Long>
Specified by:
clear in interface Set<Long>