- 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
ConstructorDescriptionInstantiate an empty tableInstantiate a table with headers and several lines -
Method Summary
Modifier and TypeMethodDescriptionstatic StampTable
empty()
empty.boolean
int
hashCode()
headers()
headers.listIterator
(int index) int
size()
Methods inherited from class java.util.AbstractSequentialList
add, addAll, get, iterator, remove, set
Methods inherited from class java.util.AbstractList
add, clear, indexOf, lastIndexOf, listIterator, removeRange, subList
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods 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:
listIterator
in interfaceList<List<String>>
- Specified by:
listIterator
in classAbstractSequentialList<List<String>>
-
empty
empty.
- Returns:
- a
StampTable
object
-
headers
headers.
- Returns:
- a
List
object
-