All Implemented Interfaces:, Op, Named, PrintSerializable
Direct Known Subclasses:
OpDisjunction, OpSequence

public abstract class OpN extends OpBase
  • Method Details

    • add

      public void add(Op op)
      Accumulate an op in the OpN. This exists to help building OpN in the first place. Once built, an OpN, like any Op should be treated as immutable with no calls change the sub ops contents. No calls to .add.
    • get

      public Op get(int idx)
    • apply

      public abstract Op apply(Transform transform, List<Op> elts)
    • copy

      public abstract OpN copy(List<Op> elts)
    • size

      public int size()
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class OpBase
    • getElements

      public List<Op> getElements()
    • iterator

      public Iterator<Op> iterator()