Class Element

    • Constructor Detail

      • Element

        public Element​(ValueType type,
                       List<List<Instruction>> initializers)
        Construct a new instance.
        Parameters:
        type - the type of the element values (must not be null)
        initializers - the list of instruction lists which are used to initialize each element in the range (must not be null)
    • Method Detail

      • type

        public ValueType type()
        {@return the type of the element values}
      • initializers

        public List<List<Instruction>> initializers()
        {@return the list of instruction lists which are used to initialize each element in the range}
      • elementCount

        public int elementCount()
        {@return the number of elements defined by this section} This value is equal to the number of initializers present.