- All Implemented Interfaces:
Iterable<List<String>>,Collection<List<String>>,List<List<String>>,SequencedCollection<List<String>>
Represents a table with several columns, a header line, and several lines of content
- Since:
- 1.6.2
- Version:
- ${version}
- Author:
- Joseph Verron
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionInstantiate an empty tableInstantiate a table with headers and several lines -
Method Summary
Modifier and TypeMethodDescriptionstatic StampTableempty()empty.booleaninthashCode()headers()headers.listIterator(int index) intsize()Methods inherited from class java.util.AbstractSequentialList
add, addAll, get, iterator, remove, setMethods inherited from class java.util.AbstractList
add, clear, indexOf, lastIndexOf, listIterator, removeRange, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, addFirst, addLast, contains, containsAll, getFirst, getLast, isEmpty, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, sort, spliterator, toArray, toArray
-
Constructor Details
-
StampTable
public StampTable()Instantiate an empty table -
StampTable
Instantiate a table with headers and several lines- Parameters:
headers- the header linesrecords- the lines that the table should contain
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
size
public int size() -
listIterator
- Specified by:
listIteratorin interfaceList<List<String>>- Specified by:
listIteratorin classAbstractSequentialList<List<String>>
-
empty
empty.
- Returns:
- a
StampTableobject
-
headers
headers.
- Returns:
- a
Listobject
-