public class ResultsTableWrapper extends Object implements GenericTable
ResultsTable
as a GenericTable
.Constructor and Description |
---|
ResultsTableWrapper(ij.measure.ResultsTable table) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Column<? extends Object> column) |
void |
add(int col,
Column<? extends Object> column) |
boolean |
addAll(Collection<? extends Column<? extends Object>> c) |
boolean |
addAll(int col,
Collection<? extends Column<? extends Object>> c) |
Column<? extends Object> |
appendColumn() |
Column<? extends Object> |
appendColumn(String header) |
List<Column<? extends Object>> |
appendColumns(int count) |
List<Column<? extends Object>> |
appendColumns(String... headers) |
void |
appendRow() |
void |
appendRow(String header) |
void |
appendRows(int count) |
void |
appendRows(String... headers) |
void |
clear() |
boolean |
contains(Object column) |
boolean |
containsAll(Collection<?> c) |
Column<? extends Object> |
get(int col) |
Object |
get(int col,
int row) |
Column<? extends Object> |
get(String colHeader) |
Object |
get(String colHeader,
int row) |
int |
getColumnCount() |
String |
getColumnHeader(int col) |
int |
getColumnIndex(String header) |
int |
getRowCount() |
String |
getRowHeader(int row) |
int |
getRowIndex(String header) |
ij.measure.ResultsTable |
getSource() |
int |
indexOf(Object column) |
Column<? extends Object> |
insertColumn(int col) |
Column<? extends Object> |
insertColumn(int col,
String header) |
List<Column<? extends Object>> |
insertColumns(int col,
int count) |
List<Column<? extends Object>> |
insertColumns(int col,
String... headers) |
void |
insertRow(int row) |
void |
insertRow(int row,
String header) |
void |
insertRows(int row,
int count) |
void |
insertRows(int row,
String... headers) |
boolean |
isEmpty() |
Iterator<Column<? extends Object>> |
iterator() |
int |
lastIndexOf(Object column) |
ListIterator<Column<? extends Object>> |
listIterator() |
ListIterator<Column<? extends Object>> |
listIterator(int col) |
Column<? extends Object> |
remove(int col) |
boolean |
remove(Object column) |
boolean |
removeAll(Collection<?> c) |
Column<? extends Object> |
removeColumn(int col) |
Column<? extends Object> |
removeColumn(String header) |
List<Column<? extends Object>> |
removeColumns(int col,
int count) |
List<Column<? extends Object>> |
removeColumns(String... headers) |
void |
removeRow(int row) |
void |
removeRow(String header) |
void |
removeRows(int row,
int count) |
void |
removeRows(String... headers) |
boolean |
retainAll(Collection<?> c) |
Column<? extends Object> |
set(int col,
Column<? extends Object> column)
Returns null, since the previous column needs to be overwritten with the
new column.
|
void |
set(int col,
int row,
Object value)
Sets the value at the given row column.
|
void |
set(String colHeader,
int row,
Object value)
Sets the value at the given row column.
|
void |
setColumnCount(int colCount) |
void |
setColumnHeader(int col,
String header) |
void |
setDimensions(int colCount,
int rowCount) |
void |
setRowCount(int rowCount) |
void |
setRowHeader(int row,
String header) |
int |
size() |
List<Column<? extends Object>> |
subList(int fromCol,
int toCol) |
Object[] |
toArray() |
<A> A[] |
toArray(A[] a) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, replaceAll, sort, spliterator
parallelStream, removeIf, stream
public ij.measure.ResultsTable getSource()
public int getColumnCount()
getColumnCount
in interface Table<Column<? extends Object>,Object>
public void setColumnCount(int colCount)
setColumnCount
in interface Table<Column<? extends Object>,Object>
public Column<? extends Object> appendColumn()
appendColumn
in interface Table<Column<? extends Object>,Object>
public Column<? extends Object> appendColumn(String header)
appendColumn
in interface Table<Column<? extends Object>,Object>
public List<Column<? extends Object>> appendColumns(int count)
appendColumns
in interface Table<Column<? extends Object>,Object>
public List<Column<? extends Object>> appendColumns(String... headers)
appendColumns
in interface Table<Column<? extends Object>,Object>
public Column<? extends Object> insertColumn(int col)
insertColumn
in interface Table<Column<? extends Object>,Object>
public Column<? extends Object> insertColumn(int col, String header)
insertColumn
in interface Table<Column<? extends Object>,Object>
public List<Column<? extends Object>> insertColumns(int col, int count)
insertColumns
in interface Table<Column<? extends Object>,Object>
public List<Column<? extends Object>> insertColumns(int col, String... headers)
insertColumns
in interface Table<Column<? extends Object>,Object>
public Column<? extends Object> removeColumn(int col)
removeColumn
in interface Table<Column<? extends Object>,Object>
public Column<? extends Object> removeColumn(String header)
removeColumn
in interface Table<Column<? extends Object>,Object>
public List<Column<? extends Object>> removeColumns(int col, int count)
removeColumns
in interface Table<Column<? extends Object>,Object>
public List<Column<? extends Object>> removeColumns(String... headers)
removeColumns
in interface Table<Column<? extends Object>,Object>
public int getRowCount()
getRowCount
in interface Table<Column<? extends Object>,Object>
public void setRowCount(int rowCount)
setRowCount
in interface Table<Column<? extends Object>,Object>
public void appendRow()
public void appendRow(String header)
public void appendRows(int count)
appendRows
in interface Table<Column<? extends Object>,Object>
public void appendRows(String... headers)
appendRows
in interface Table<Column<? extends Object>,Object>
public void insertRow(int row)
public void insertRow(int row, String header)
public void insertRows(int row, int count)
insertRows
in interface Table<Column<? extends Object>,Object>
public void insertRows(int row, String... headers)
insertRows
in interface Table<Column<? extends Object>,Object>
public void removeRow(int row)
public void removeRow(String header)
public void removeRows(int row, int count)
removeRows
in interface Table<Column<? extends Object>,Object>
public void removeRows(String... headers)
removeRows
in interface Table<Column<? extends Object>,Object>
public void setDimensions(int colCount, int rowCount)
setDimensions
in interface Table<Column<? extends Object>,Object>
public String getColumnHeader(int col)
getColumnHeader
in interface Table<Column<? extends Object>,Object>
public void setColumnHeader(int col, String header)
setColumnHeader
in interface Table<Column<? extends Object>,Object>
public int getColumnIndex(String header)
getColumnIndex
in interface Table<Column<? extends Object>,Object>
public String getRowHeader(int row)
getRowHeader
in interface Table<Column<? extends Object>,Object>
public void setRowHeader(int row, String header)
setRowHeader
in interface Table<Column<? extends Object>,Object>
public int getRowIndex(String header)
getRowIndex
in interface Table<Column<? extends Object>,Object>
public void set(int col, int row, Object value)
Number
it will be stored as a double
.public void set(String colHeader, int row, Object value)
Number
it will be stored as a double
.public Object get(int col, int row)
public int size()
public boolean isEmpty()
public boolean contains(Object column)
public Object[] toArray()
public <A> A[] toArray(A[] a)
public boolean remove(Object column)
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<Column<? extends Object>>
containsAll
in interface List<Column<? extends Object>>
containsAll
in interface Table<Column<? extends Object>,Object>
public boolean addAll(Collection<? extends Column<? extends Object>> c)
public boolean addAll(int col, Collection<? extends Column<? extends Object>> c)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public void clear()
public Column<? extends Object> set(int col, Column<? extends Object> column)
public int indexOf(Object column)
public int lastIndexOf(Object column)
lastIndexOf
in interface List<Column<? extends Object>>
lastIndexOf
in interface Table<Column<? extends Object>,Object>
public ListIterator<Column<? extends Object>> listIterator()
listIterator
in interface List<Column<? extends Object>>
listIterator
in interface Table<Column<? extends Object>,Object>
public ListIterator<Column<? extends Object>> listIterator(int col)
listIterator
in interface List<Column<? extends Object>>
listIterator
in interface Table<Column<? extends Object>,Object>
Copyright © 2014–2022 ImageJ. All rights reserved.