Interface DependencyTable

  • All Known Implementing Classes:
    DependencyTableAdv, DependencyTableEx, DependencyTableImpl

    public interface DependencyTable
    NodeA --- depends on ---> NodeB. A is B's dependent, B is A's precedent. When B changes , should call getDependents(Ref) of B to create notification of A When A been clear or deleted, should call clearDependents(Ref) of A to clear tracking data For example, in A1 =SUM(B1 + C1) when edit B1 (precedent), its dependents is A1
    Since:
    3.5.0
    Author:
    dennis
    • Method Detail

      • getDependents

        Set<Ref> getDependents​(Ref precedent)
      • getDirectDependents

        Set<Ref> getDirectDependents​(Ref precedent)
      • getEvaluatedDependents

        Set<Ref> getEvaluatedDependents​(Ref precedent)
      • add

        void add​(Ref dependent,
                 Ref precedent)
      • setEvaluated

        void setEvaluated​(Ref dependent)
      • clearDependents

        void clearDependents​(Ref dependant)
      • del

        void del​(Ref dependent,
                 Ref precedent)