Module graph

Class ByteTreeAttribute

All Implemented Interfaces:
Described, KeyDescription, Comparable

public abstract class ByteTreeAttribute extends ByteAttribute
  • Constructor Details

    • ByteTreeAttribute

      public ByteTreeAttribute(Type type)
    • ByteTreeAttribute

      public ByteTreeAttribute()
  • Method Details

    • getParentAttribute

      protected ObjectAttribute getParentAttribute(GraphState gs)
    • getDerived

      protected byte getDerived(Object object, boolean asNode, GraphState gs)
      Overrides:
      getDerived in class ByteAttribute
    • derive

      protected abstract byte derive(Object object, boolean asNode, byte parentValue, GraphState gs)
    • getInitialValue

      protected abstract byte getInitialValue(GraphState gs)
    • isDerived

      public boolean isDerived()
      Description copied from class: Attribute
      Determines whether this is a derived attribute or not.
      Overrides:
      isDerived in class Attribute<Byte>
      Returns:
      true iff this is a derived attribute
    • dependsOn

      public abstract boolean dependsOn(Attribute[] b)
    • getParentValue

      public byte getParentValue(Object object, boolean asNode, GraphState gs)