public class CoreMetadataList extends MetadataList<CoreMetadata>
Modifier and Type | Field and Description |
---|---|
(package private) static java.util.Comparator<CoreMetadata> |
comparator |
data
Constructor and Description |
---|
CoreMetadataList() |
CoreMetadataList(CoreMetadataList copy) |
CoreMetadataList(int size1)
Construct a list containing a specified number of primary elements.
|
CoreMetadataList(int[] sizes)
Construct a list containing a specified number of primary and secondary elements.
|
CoreMetadataList(int size1,
int size2)
Construct a list containing a specified number of primary elements and a fixed number of secondary elements.
|
CoreMetadataList(java.util.List<CoreMetadata> list) |
Modifier and Type | Method and Description |
---|---|
void |
add(int i1,
CoreMetadata value)
Add a secondary array element to the specified primary array
|
int |
flattenedIndex(int series,
int resolution) |
int[] |
flattenedIndexes(int flattenedIndex) |
int |
flattenedSize()
Get flattened size (all resolutions in all series)
|
java.util.List<CoreMetadata> |
getFlattenedList() |
java.util.List<CoreMetadata> |
getSeriesList() |
void |
reorder() |
void |
setFlattenedList(java.util.List<CoreMetadata> list) |
static final java.util.Comparator<CoreMetadata> comparator
public CoreMetadataList()
public CoreMetadataList(CoreMetadataList copy)
public CoreMetadataList(int size1)
size1
- The number of primary list elementspublic CoreMetadataList(int size1, int size2)
size1
- The number of primary list elementssize2
- The number of secondary level list elementspublic CoreMetadataList(int[] sizes)
sizes
- The number of primary and secondary list elements; the array elements are the secondary element sizes.public CoreMetadataList(java.util.List<CoreMetadata> list)
public void add(int i1, CoreMetadata value)
add
in class MetadataList<CoreMetadata>
i1
- The primary array indexvalue
- The element to setpublic void reorder()
public java.util.List<CoreMetadata> getFlattenedList()
public void setFlattenedList(java.util.List<CoreMetadata> list)
public java.util.List<CoreMetadata> getSeriesList()
public int flattenedSize()
public int flattenedIndex(int series, int resolution)
public int[] flattenedIndexes(int flattenedIndex)
Copyright © 2020 Open Microscopy Environment