public abstract class AbstractData extends AbstractCalibratedRealInterval<CalibratedAxis> implements Data, Comparable<Data>, Externalizable
Data
.Dataset
,
Overlay
,
Serialized FormConstructor and Description |
---|
AbstractData(Context context,
RealInterval interval)
TODO
|
AbstractData(RealInterval interval)
Default constructor for use by serialization code.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Data data) |
Context |
context() |
void |
decrementReferences()
Subtracts from the data object's reference count.
|
protected void |
delete()
Informs interested parties that the data object is no longer relevant and
should be deleted.
|
Context |
getContext() |
String |
getName() |
void |
incrementReferences()
Adds to the data object's reference count.
|
protected void |
publish(SciJavaEvent event) |
void |
readExternal(ObjectInput in) |
protected void |
register()
Informs interested parties that the data object has become relevant and
should be registered.
|
void |
setContext(Context context) |
void |
setName(String name) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
averageScale, realMax, realMax, realMax, realMin, realMin, realMin
axes, axis, numDimensions, setAxis
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMax, realMax, realMin, realMin, realMin
averageScale
dimensionIndex
axes, axis, setAxis
numDimensions
public AbstractData(RealInterval interval)
AbstractOverlay.duplicate()
public AbstractData(Context context, RealInterval interval)
protected void register()
protected void delete()
public void incrementReferences()
Data
AbstractData
does exactly this to let interested parties know that
a data object has come into use.incrementReferences
in interface Data
public void decrementReferences()
Data
AbstractData
does exactly this to let interested parties know that
the data object is no longer in use.decrementReferences
in interface Data
public int compareTo(Data data)
compareTo
in interface Comparable<Data>
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public Context context()
context
in interface Contextual
public Context getContext()
getContext
in interface Contextual
public void setContext(Context context)
setContext
in interface Contextual
protected void publish(SciJavaEvent event)
Copyright © 2014–2022 ImageJ. All rights reserved.