Class PermutePropertySequence<T>

Object
org.anchoranalysis.bean.AnchorBean<PermuteProperty<T>>
org.anchoranalysis.bean.permute.property.PermuteProperty<T>
org.anchoranalysis.bean.permute.property.PermutePropertySequence<T>
Type Parameters:
T - element-type of the bean whose property or properties will be changed during permutation.
Direct Known Subclasses:
PermutePropertySequenceDouble, PermutePropertySequenceInteger

public abstract class PermutePropertySequence<T>
extends PermuteProperty<T>
Base class for assigning a sequence of numbers to a particular property of a bean.
Author:
Owen Feehan
  • Constructor Details

  • Method Details

    • sequenceIterator

      protected Iterator<Integer> sequenceIterator()
      Iterates each element in sequence.
      Returns:
      the iterator for the elements.
    • getSequence

      public SequenceInteger getSequence()
      A sequence of integers, with each element assigned assigned directly during the permutation, or after further manipulation.
    • setSequence

      public void setSequence​(SequenceInteger sequence)
      A sequence of integers, with each element assigned assigned directly during the permutation, or after further manipulation.