Class MarkPairCollection
- All Implemented Interfaces:
UpdatableMarks
A collection of
MarkPairs with Marks 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, shallowCopyMethods 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
MarkPairas the underlying class type for the random collection.
-
-
Method Details
-
describeBean
Description copied from class:AnchorBeanA (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:
describeBeanin classAnchorBean<RandomCollection<MarkPair<Mark>>>- Returns:
- either the short-name of the bean, or a longer description
-