T
- The type of data stored in the table.public interface Column<T> extends List<T>, Sizable
Table
.Modifier and Type | Method and Description |
---|---|
default boolean |
contains(Object o) |
default boolean |
containsAll(Collection<?> c) |
String |
getHeader()
Gets the header of this column.
|
Class<T> |
getType()
Returns the actual type of data stored in the column.
|
default int |
indexOf(Object o) |
default boolean |
isEmpty() |
default Iterator<T> |
iterator() |
default int |
lastIndexOf(Object o) |
default ListIterator<T> |
listIterator() |
default ListIterator<T> |
listIterator(int index) |
void |
setHeader(String header)
Sets the header of this column.
|
void |
setSize(int size)
Sets the column's size (i.e., number of rows).
|
int |
size()
Gets the column's size (i.e., number of rows).
|
default List<T> |
subList(int fromIndex,
int toIndex) |
default Object[] |
toArray() |
default <E> E[] |
toArray(E[] a) |
add, add, addAll, addAll, clear, equals, get, hashCode, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator
parallelStream, removeIf, stream
String getHeader()
void setHeader(String header)
int size()
void setSize(int size)
default boolean isEmpty()
default boolean contains(Object o)
default Object[] toArray()
default <E> E[] toArray(E[] a)
default boolean containsAll(Collection<?> c)
containsAll
in interface Collection<T>
containsAll
in interface List<T>
default int lastIndexOf(Object o)
lastIndexOf
in interface List<T>
default ListIterator<T> listIterator()
listIterator
in interface List<T>
default ListIterator<T> listIterator(int index)
listIterator
in interface List<T>
Copyright © 2015–2022 SciJava. All rights reserved.