public class TableListWrapper extends Object implements List<ij.measure.ResultsTable>
Constructor and Description |
---|
TableListWrapper(List<Table<?,?>> tables,
ConvertService convertService) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
ij.measure.ResultsTable element) |
boolean |
add(ij.measure.ResultsTable e) |
boolean |
addAll(Collection<? extends ij.measure.ResultsTable> c) |
boolean |
addAll(int index,
Collection<? extends ij.measure.ResultsTable> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
ij.measure.ResultsTable |
get(int index) |
List<Table<?,?>> |
getSource()
Returns the source
List<Table<?, ?>> . |
List<Table<?,?>> |
getUpdatedSource()
Synchronizes and returns the source
List<Table<?, ?>> . |
int |
indexOf(Object o) |
boolean |
isEmpty() |
Iterator<ij.measure.ResultsTable> |
iterator() |
int |
lastIndexOf(Object o) |
ListIterator<ij.measure.ResultsTable> |
listIterator() |
ListIterator<ij.measure.ResultsTable> |
listIterator(int index) |
ij.measure.ResultsTable |
remove(int index) |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
ij.measure.ResultsTable |
set(int index,
ij.measure.ResultsTable element) |
int |
size() |
List<ij.measure.ResultsTable> |
subList(int fromIndex,
int toIndex) |
void |
synchronize()
Synchronizes
this and the source List<Table<?, ?>> . |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, replaceAll, sort, spliterator
parallelStream, removeIf, stream
public TableListWrapper(List<Table<?,?>> tables, ConvertService convertService)
public List<Table<?,?>> getSource()
List<Table<?, ?>>
. This may be out of sync.List<Table<?, ?>>
public void synchronize()
this
and the source List<Table<?, ?>>
.public List<Table<?,?>> getUpdatedSource()
List<Table<?, ?>>
.List<Table<?, ?>>
public int size()
size
in interface Collection<ij.measure.ResultsTable>
size
in interface List<ij.measure.ResultsTable>
public boolean isEmpty()
isEmpty
in interface Collection<ij.measure.ResultsTable>
isEmpty
in interface List<ij.measure.ResultsTable>
public boolean contains(Object o)
contains
in interface Collection<ij.measure.ResultsTable>
contains
in interface List<ij.measure.ResultsTable>
public Iterator<ij.measure.ResultsTable> iterator()
public Object[] toArray()
toArray
in interface Collection<ij.measure.ResultsTable>
toArray
in interface List<ij.measure.ResultsTable>
public <T> T[] toArray(T[] a)
toArray
in interface Collection<ij.measure.ResultsTable>
toArray
in interface List<ij.measure.ResultsTable>
public boolean add(ij.measure.ResultsTable e)
add
in interface Collection<ij.measure.ResultsTable>
add
in interface List<ij.measure.ResultsTable>
public boolean remove(Object o)
remove
in interface Collection<ij.measure.ResultsTable>
remove
in interface List<ij.measure.ResultsTable>
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<ij.measure.ResultsTable>
containsAll
in interface List<ij.measure.ResultsTable>
public boolean addAll(Collection<? extends ij.measure.ResultsTable> c)
addAll
in interface Collection<ij.measure.ResultsTable>
addAll
in interface List<ij.measure.ResultsTable>
public boolean addAll(int index, Collection<? extends ij.measure.ResultsTable> c)
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<ij.measure.ResultsTable>
removeAll
in interface List<ij.measure.ResultsTable>
public boolean retainAll(Collection<?> c)
retainAll
in interface Collection<ij.measure.ResultsTable>
retainAll
in interface List<ij.measure.ResultsTable>
public void clear()
clear
in interface Collection<ij.measure.ResultsTable>
clear
in interface List<ij.measure.ResultsTable>
public ij.measure.ResultsTable get(int index)
public ij.measure.ResultsTable set(int index, ij.measure.ResultsTable element)
public void add(int index, ij.measure.ResultsTable element)
public ij.measure.ResultsTable remove(int index)
public int indexOf(Object o)
public int lastIndexOf(Object o)
lastIndexOf
in interface List<ij.measure.ResultsTable>
public ListIterator<ij.measure.ResultsTable> listIterator()
listIterator
in interface List<ij.measure.ResultsTable>
public ListIterator<ij.measure.ResultsTable> listIterator(int index)
listIterator
in interface List<ij.measure.ResultsTable>
Copyright © 2014–2022 ImageJ. All rights reserved.