Class MarkPairCollection
- All Implemented Interfaces:
UpdatableMarks
A collection of
MarkPair
s with Mark
s as the underlying type.
This class extends RandomCollectionWithAddCriteria
to provide a specialized collection
for pairs of marks, allowing for random access and specific addition criteria.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA (maybe longer) description identifying the bean and perhaps its key parameters.Methods inherited from class org.anchoranalysis.mpp.feature.addcriteria.RandomCollectionWithAddCriteria
add, containsMark, createPairsUnique, deepCopy, exchange, getAddCriteria, getMarks, getPairsFor, getPairTypeClass, initUpdatableMarks, isMarksSpan, remove, sampleRandomPairNonUniform, setAddCriteria, setPairTypeClass, shallowCopy
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
MarkPairCollection
public MarkPairCollection()Creates a newMarkPairCollection
.Initializes the collection with
MarkPair
as the underlying class type for the random collection.
-
-
Method Details
-
describeBean
Description copied from class:AnchorBean
A (maybe longer) description identifying the bean and perhaps its key parameters.By default, it returns the same as
AnchorBean.getBeanName()
but beans can optionally override it- Overrides:
describeBean
in classAnchorBean<RandomCollection<MarkPair<Mark>>>
- Returns:
- either the short-name of the bean, or a longer description
-