Package org.proforma.variability.util
Class VOptions
java.lang.Object
org.proforma.variability.util.VOptions
A set of values of a variation point.
The set is not stored in memory completely, but instead partially generated on request.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsOption(V query) booleangetOptionOrNeighbour(V variant) longgetRankAtVariant(V variant) longgetSize()getVariantAtRank(long rank) inthashCode()booleanisEmpty()iterator()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
VOptions
-
-
Method Details
-
getVariantAtRank
-
getRankAtVariant
-
getOptionOrNeighbour
-
getRandomElement
-
getSize
public long getSize() -
isEmpty
public boolean isEmpty() -
containsOption
-
iterator
-
hashCode
public int hashCode() -
equals
-
toString
-
toString
-