Package org.apache.uima.internal.util
Class OrderedFsSet_array2.SubSet
java.lang.Object
org.apache.uima.internal.util.OrderedFsSet_array2.SubSet
- All Implemented Interfaces:
Iterable<TOP>
,Collection<TOP>
,NavigableSet<TOP>
,Set<TOP>
,SortedSet<TOP>
- Enclosing class:
OrderedFsSet_array2
This is used in a particular manner:
only used to create iterators over that subset
-- no insert/delete
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
addAll
(Collection<? extends TOP> c) void
clear()
Comparator
<? super TOP> boolean
boolean
containsAll
(Collection<?> c) first()
boolean
isEmpty()
iterator()
last()
pollLast()
boolean
boolean
removeAll
(Collection<?> c) boolean
retainAll
(Collection<?> c) int
size()
Object[]
toArray()
<T> T[]
toArray
(T[] a1) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.SortedSet
spliterator
-
Method Details
-
comparator
- Specified by:
comparator
in interfaceSortedSet<TOP>
-
first
-
last
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
toArray
-
toArray
public <T> T[] toArray(T[] a1) -
add
-
remove
-
containsAll
- Specified by:
containsAll
in interfaceCollection<TOP>
- Specified by:
containsAll
in interfaceSet<TOP>
-
addAll
-
retainAll
-
removeAll
-
clear
public void clear() -
lower
- Specified by:
lower
in interfaceNavigableSet<TOP>
-
floor
- Specified by:
floor
in interfaceNavigableSet<TOP>
-
ceiling
- Specified by:
ceiling
in interfaceNavigableSet<TOP>
-
higher
- Specified by:
higher
in interfaceNavigableSet<TOP>
-
pollFirst
- Specified by:
pollFirst
in interfaceNavigableSet<TOP>
-
pollLast
- Specified by:
pollLast
in interfaceNavigableSet<TOP>
-
iterator
-
descendingSet
- Specified by:
descendingSet
in interfaceNavigableSet<TOP>
-
descendingIterator
- Specified by:
descendingIterator
in interfaceNavigableSet<TOP>
-
subSet
public NavigableSet<TOP> subSet(TOP fromElement1, boolean fromInclusive1, TOP toElement1, boolean toInclusive1) - Specified by:
subSet
in interfaceNavigableSet<TOP>
-
headSet
- Specified by:
headSet
in interfaceNavigableSet<TOP>
-
tailSet
- Specified by:
tailSet
in interfaceNavigableSet<TOP>
-
subSet
-
headSet
-
tailSet
-