Class Allocation

java.lang.Object
io.rtr.alchemy.models.Allocation

public class Allocation extends Object
Represents a contiguous allocation block of a single treatment in an experiment
  • Constructor Details

    • Allocation

      public Allocation(Treatment treatment, int offset, int size)
  • Method Details

    • getTreatment

      public Treatment getTreatment()
    • getOffset

      public int getOffset()
    • getSize

      public int getSize()
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object