@Equality public class SubCloud extends Object
Equality is implemented so that two equal subclouds have the same geom and coordinate columns. This means they will iterate over the same data positions for a given tuple sequence, but not necessarily that they have the same DataSpec objects or coordinate index positions.
Constructor and Description |
---|
SubCloud(DataGeom geom,
DataSpec spec,
int iPosCoord)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static SubCloud[] |
createPartialSubClouds(PlotLayer[] layers,
boolean deduplicate)
Returns a collection of subclouds from a list of layers,
but including only those layers whose positions are partial.
|
static SubCloud[] |
createSubClouds(DataGeom geom,
DataSpec spec,
int npos,
boolean deduplicate)
Returns a collection of subclouds for a number of positions from
a data spec.
|
static SubCloud[] |
createSubClouds(PlotLayer[] layers,
boolean deduplicate)
Returns an array of subclouds from a list of layers,
with optional deduplication.
|
boolean |
equals(Object o) |
DataGeom |
getDataGeom()
Returns the data geom for this subcloud.
|
DataSpec |
getDataSpec()
Returns the data spec for this subcloud.
|
int |
getPosCoordIndex()
Returns the index of the data spec coordinate at which the
position information starts for this subcloud.
|
int |
hashCode() |
public DataGeom getDataGeom()
public DataSpec getDataSpec()
public int getPosCoordIndex()
public static SubCloud[] createSubClouds(PlotLayer[] layers, boolean deduplicate)
layers
- plot layersdeduplicate
- true to cull duplicate subcloudspublic static SubCloud[] createPartialSubClouds(PlotLayer[] layers, boolean deduplicate)
layers
- plot layersdeduplicate
- true to cull duplicate subcloudspublic static SubCloud[] createSubClouds(DataGeom geom, DataSpec spec, int npos, boolean deduplicate)
geom
- data geomspec
- data specnpos
- number of positions in the data specdeduplicate
- true to cull duplicate layersCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.