Package org.apache.calcite.runtime
Class FlatLists.ComparableEmptyList<T>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<T>
-
- org.apache.calcite.runtime.FlatLists.ComparableEmptyList<T>
-
- Type Parameters:
T
- element type
- All Implemented Interfaces:
java.lang.Comparable<java.util.List>
,java.lang.Iterable<T>
,java.util.Collection<T>
,java.util.List<T>
,FlatLists.ComparableList<T>
- Enclosing class:
- FlatLists
private static class FlatLists.ComparableEmptyList<T> extends java.util.AbstractList<T> implements FlatLists.ComparableList<T>
Empty list that implements theComparable
interface.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ComparableEmptyList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(java.util.List o)
boolean
equals(java.lang.Object o)
T
get(int index)
int
hashCode()
int
size()
-
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
-