Class VOptions

  • All Implemented Interfaces:
    Iterable<V>

    public class VOptions
    extends Object
    implements Iterable<V>

    A set of values of a variation point.

    The set is not stored in memory completely, but instead partially generated on request.

    • Method Detail

      • getVariantAtRank

        public V getVariantAtRank​(long rank)
      • getRankAtVariant

        public long getRankAtVariant​(V variant)
      • getOptionOrNeighbour

        public V getOptionOrNeighbour​(V variant)
      • getRandomElement

        public V getRandomElement()
      • getSize

        public long getSize()
      • isEmpty

        public boolean isEmpty()
      • containsOption

        public boolean containsOption​(V query)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object