Module com.aoapps.dao.base
Package com.aoapps.dao.base
Class EmptyTable<K extends Comparable<? super K>,R extends Row<K,?>>
java.lang.Object
com.aoapps.dao.base.EmptyTable<K,R>
- All Implemented Interfaces:
Table<K,
,R> Iterable<R>
,Collection<R>
public class EmptyTable<K extends Comparable<? super K>,R extends Row<K,?>>
extends Object
implements Table<K,R>
An empty table does not return any rows and never finds any object.
-
Constructor Summary
-
Method Summary
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
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
Methods inherited from interface com.aoapps.dao.Table
add, addAll, canonicalize, clear, clearCaches, contains, containsAll, getIterator, getName, getOrderedRows, getRows, getSize, isEmpty, iterator, remove, removeAll, retainAll, size, tableUpdated, toArray, toArray
-
Constructor Details
-
EmptyTable
-
-
Method Details
-
getModel
-
getMap
-
getSortedMap
- Specified by:
getSortedMap
in interfaceTable<K extends Comparable<? super K>,
R extends Row<K, ?>>
-
getUnsortedRows
- Specified by:
getUnsortedRows
in interfaceTable<K extends Comparable<? super K>,
R extends Row<K, ?>>
-
getRows
-
get
- Specified by:
get
in interfaceTable<K extends Comparable<? super K>,
R extends Row<K, ?>> - Throws:
NoRowException
-