Module graph

Class LongTreeAttribute

All Implemented Interfaces:
Described, KeyDescription, Comparable

public abstract class LongTreeAttribute extends LongAttribute
  • Constructor Details

    • LongTreeAttribute

      public LongTreeAttribute(Type type)
    • LongTreeAttribute

      public LongTreeAttribute()
  • Method Details

    • getParentAttribute

      protected ObjectAttribute getParentAttribute(GraphState gs)
    • getDerived

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

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

      protected abstract long 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<Long>
      Returns:
      true iff this is a derived attribute
    • dependsOn

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

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