Class QueryMatchesCollection
- java.lang.Object
-
- net.ontopia.topicmaps.query.impl.utils.QueryMatchesCollection
-
- All Implemented Interfaces:
Iterable,Collection
public class QueryMatchesCollection extends Object implements Collection
INTERNAL: A set implementation that wraps an QueryMatches instance and presents the values in one of the columns as a collection.
-
-
Field Summary
Fields Modifier and Type Field Description protected intcolidxprotected QueryMatchesmatches
-
Constructor Summary
Constructors Constructor Description QueryMatchesCollection(QueryMatches matches, int colidx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(Object o)booleanaddAll(Collection c)voidclear()booleancontains(Object o)booleancontainsAll(Collection c)booleanisEmpty()Iteratoriterator()booleanremove(Object o)booleanremoveAll(Collection c)booleanretainAll(Collection c)intsize()Object[]toArray()Object[]toArray(Object[] a)StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
-
-
-
Field Detail
-
matches
protected QueryMatches matches
-
colidx
protected int colidx
-
-
Constructor Detail
-
QueryMatchesCollection
public QueryMatchesCollection(QueryMatches matches, int colidx)
-
-
Method Detail
-
clear
public void clear()
- Specified by:
clearin interfaceCollection
-
add
public boolean add(Object o)
- Specified by:
addin interfaceCollection
-
addAll
public boolean addAll(Collection c)
- Specified by:
addAllin interfaceCollection
-
remove
public boolean remove(Object o)
- Specified by:
removein interfaceCollection
-
removeAll
public boolean removeAll(Collection c)
- Specified by:
removeAllin interfaceCollection
-
retainAll
public boolean retainAll(Collection c)
- Specified by:
retainAllin interfaceCollection
-
size
public int size()
- Specified by:
sizein interfaceCollection
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceCollection
-
contains
public boolean contains(Object o)
- Specified by:
containsin interfaceCollection
-
containsAll
public boolean containsAll(Collection c)
- Specified by:
containsAllin interfaceCollection
-
toArray
public Object[] toArray()
- Specified by:
toArrayin interfaceCollection
-
toArray
public Object[] toArray(Object[] a)
- Specified by:
toArrayin interfaceCollection
-
iterator
public Iterator iterator()
- Specified by:
iteratorin interfaceCollection- Specified by:
iteratorin interfaceIterable
-
-