Class LazySet<T>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<T>
-
- net.ontopia.topicmaps.impl.tmapi2.LazySet<T>
-
- All Implemented Interfaces:
Iterable<T>
,Collection<T>
,Set<T>
public class LazySet<T> extends AbstractSet<T>
INTERNAL: OKS->TMAPI object wrapper.
-
-
Field Summary
Fields Modifier and Type Field Description protected Collection<?>
other
protected TopicMapImpl
tm
-
Constructor Summary
Constructors Constructor Description LazySet(TopicMapImpl tm, Collection<?> other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<T>
iterator()
boolean
remove(Object o)
int
size()
-
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
-
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
-
-
-
Field Detail
-
tm
protected TopicMapImpl tm
-
other
protected Collection<?> other
-
-
Constructor Detail
-
LazySet
public LazySet(TopicMapImpl tm, Collection<?> other)
-
-
Method Detail
-
size
public int size()
- Specified by:
size
in interfaceCollection<T>
- Specified by:
size
in interfaceSet<T>
- Specified by:
size
in classAbstractCollection<T>
-
remove
public boolean remove(Object o)
- Specified by:
remove
in interfaceCollection<T>
- Specified by:
remove
in interfaceSet<T>
- Overrides:
remove
in classAbstractCollection<T>
-
-