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<?>otherprotected TopicMapImpltm
-
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()booleanremove(Object o)intsize()-
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:
sizein interfaceCollection<T>- Specified by:
sizein interfaceSet<T>- Specified by:
sizein classAbstractCollection<T>
-
remove
public boolean remove(Object o)
- Specified by:
removein interfaceCollection<T>- Specified by:
removein interfaceSet<T>- Overrides:
removein classAbstractCollection<T>
-
-