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 TypeMethodDescriptionboolean
containsOption
(V query) boolean
getOptionOrNeighbour
(V variant) long
getRankAtVariant
(V variant) long
getSize()
getVariantAtRank
(long rank) int
hashCode()
boolean
isEmpty()
iterator()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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
-