public class HGAtomSet extends java.lang.Object implements HGSortedSet<HGHandle>
A HGAtomSet
represents a temporary construction of a set of atoms.
Each atom handle is stored in the set. The implementation provides:
Modifier and Type | Field and Description |
---|---|
protected HGSortedSet<HGPersistentHandle> |
impl |
Constructor and Description |
---|
HGAtomSet() |
HGAtomSet(HGSortedSet implementation) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(HGHandle h) |
boolean |
addAll(java.util.Collection<? extends HGHandle> c) |
void |
clear() |
java.util.Comparator<? super HGHandle> |
comparator() |
boolean |
contains(java.lang.Object o) |
boolean |
containsAll(java.util.Collection<?> c) |
boolean |
equals(java.lang.Object x) |
HGHandle |
first() |
HGRandomAccessResult<HGHandle> |
getSearchResult() |
int |
hashCode() |
java.util.SortedSet<HGHandle> |
headSet(HGHandle h) |
boolean |
isEmpty() |
java.util.Iterator<HGHandle> |
iterator() |
HGHandle |
last() |
boolean |
remove(java.lang.Object o) |
boolean |
removeAll(java.util.Collection<?> c) |
boolean |
retainAll(java.util.Collection<?> c) |
int |
size() |
java.util.SortedSet<HGHandle> |
subSet(HGHandle fromElement,
HGHandle toElement) |
java.util.SortedSet<HGHandle> |
tailSet(HGHandle h) |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
protected HGSortedSet<HGPersistentHandle> impl
public HGAtomSet()
public HGAtomSet(HGSortedSet implementation)
public HGRandomAccessResult<HGHandle> getSearchResult()
getSearchResult
in interface HGSortedSet<HGHandle>
public java.util.Comparator<? super HGHandle> comparator()
comparator
in interface java.util.SortedSet<HGHandle>
public java.util.SortedSet<HGHandle> headSet(HGHandle h)
headSet
in interface java.util.SortedSet<HGHandle>
public java.util.SortedSet<HGHandle> subSet(HGHandle fromElement, HGHandle toElement)
subSet
in interface java.util.SortedSet<HGHandle>
public java.util.SortedSet<HGHandle> tailSet(HGHandle h)
tailSet
in interface java.util.SortedSet<HGHandle>
public boolean add(HGHandle h)
public boolean addAll(java.util.Collection<? extends HGHandle> c)
public void clear()
public boolean contains(java.lang.Object o)
public boolean containsAll(java.util.Collection<?> c)
public boolean isEmpty()
public java.util.Iterator<HGHandle> iterator()
public boolean remove(java.lang.Object o)
public boolean removeAll(java.util.Collection<?> c)
public boolean retainAll(java.util.Collection<?> c)
public int size()
public java.lang.Object[] toArray()
public <T> T[] toArray(T[] a)
public int hashCode()