Package com.cedarsoftware.io.util
Class EmptyNavigableSet<E>
java.lang.Object
com.cedarsoftware.io.util.EmptySet<E>
com.cedarsoftware.io.util.EmptySortedSet<E>
com.cedarsoftware.io.util.EmptyNavigableSet<E>
- All Implemented Interfaces:
Iterable<E>
,Collection<E>
,NavigableSet<E>
,Set<E>
,SortedSet<E>
- Author:
- John DeRegnaucourt ([email protected])
Copyright (c) Cedar Software LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
License
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.cedarsoftware.io.util.EmptySortedSet
comparator, first, headSet, last, subSet, tailSet
Methods inherited from class com.cedarsoftware.io.util.EmptySet
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
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
Methods inherited from interface java.util.NavigableSet
headSet, iterator, subSet, tailSet
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray
Methods inherited from interface java.util.SortedSet
comparator, first, last, spliterator
-
Constructor Details
-
EmptyNavigableSet
public EmptyNavigableSet()
-
-
Method Details
-
lower
- Specified by:
lower
in interfaceNavigableSet<E>
-
floor
- Specified by:
floor
in interfaceNavigableSet<E>
-
ceiling
- Specified by:
ceiling
in interfaceNavigableSet<E>
-
higher
- Specified by:
higher
in interfaceNavigableSet<E>
-
pollFirst
- Specified by:
pollFirst
in interfaceNavigableSet<E>
-
pollLast
- Specified by:
pollLast
in interfaceNavigableSet<E>
-
descendingSet
- Specified by:
descendingSet
in interfaceNavigableSet<E>
-
descendingIterator
- Specified by:
descendingIterator
in interfaceNavigableSet<E>
-
subSet
public NavigableSet<E> subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) - Specified by:
subSet
in interfaceNavigableSet<E>
-
headSet
- Specified by:
headSet
in interfaceNavigableSet<E>
-
tailSet
- Specified by:
tailSet
in interfaceNavigableSet<E>
-