Package io.keikaiex.model.sys
Class DependencyTableEx
- java.lang.Object
-
- io.keikai.model.impl.sys.DependencyTableAdv
-
- io.keikai.model.impl.sys.DependencyTableImpl
-
- io.keikaiex.model.sys.DependencyTableEx
-
- All Implemented Interfaces:
DependencyTable
,Serializable
public class DependencyTableEx extends DependencyTableImpl
Enhanced version with much better performance.- Author:
- henri
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.keikai.model.sys.dependency.DependencyTable
DependencyTable.RefFilter
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEPENDENT_CACHE
-
Fields inherited from class io.keikai.model.impl.sys.DependencyTableImpl
_books, _evaledMap, _map, _regionTypes
-
-
Constructor Summary
Constructors Constructor Description DependencyTableEx()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Ref dependant, Ref precedent)
void
adjustSheetIndex(String bookName, int index, int size)
void
clearDependents(Ref ref)
void
clearDependents(Ref ref, Ref.RefType skipType)
void
del(Ref ref, Ref precedent)
Set<Ref>
getDependents(Ref precedent)
Set<Ref>
getDirectDependents(Ref precedent)
Set<Ref>
getDirectRegionDependents(Ref precedent)
Set<Ref>
getDirectRegionPrecedents(Ref dependent)
Set<Ref>
getEvaluatedDependents(Ref precedent)
Set<Ref>
getRegionDependents(Ref precedent)
Set<Ref>
getRegionPrecedents(Ref dependent)
void
merge(DependencyTableAdv dependencyTable)
void
moveSheetIndex(String bookName, int oldIndex, int newIndex)
void
setEvaluated(Ref dependent)
-
Methods inherited from class io.keikai.model.impl.sys.DependencyTableImpl
clear, dump, getDirectPrecedents, mergeAllRefs, searchPrecedents, setBookSeries, toString
-
-
-
-
Field Detail
-
DEPENDENT_CACHE
public static final String DEPENDENT_CACHE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDependents
public Set<Ref> getDependents(Ref precedent)
- Specified by:
getDependents
in interfaceDependencyTable
- Overrides:
getDependents
in classDependencyTableImpl
-
getDirectDependents
public Set<Ref> getDirectDependents(Ref precedent)
- Specified by:
getDirectDependents
in interfaceDependencyTable
- Overrides:
getDirectDependents
in classDependencyTableImpl
-
getEvaluatedDependents
public Set<Ref> getEvaluatedDependents(Ref precedent)
- Specified by:
getEvaluatedDependents
in interfaceDependencyTable
- Overrides:
getEvaluatedDependents
in classDependencyTableImpl
-
add
public void add(Ref dependant, Ref precedent)
- Specified by:
add
in interfaceDependencyTable
- Overrides:
add
in classDependencyTableImpl
-
setEvaluated
public void setEvaluated(Ref dependent)
- Specified by:
setEvaluated
in interfaceDependencyTable
- Overrides:
setEvaluated
in classDependencyTableImpl
-
clearDependents
public void clearDependents(Ref ref)
- Specified by:
clearDependents
in interfaceDependencyTable
- Overrides:
clearDependents
in classDependencyTableImpl
-
clearDependents
public void clearDependents(Ref ref, Ref.RefType skipType)
- Overrides:
clearDependents
in classDependencyTableImpl
-
del
public void del(Ref ref, Ref precedent)
- Specified by:
del
in interfaceDependencyTable
- Overrides:
del
in classDependencyTableImpl
-
merge
public void merge(DependencyTableAdv dependencyTable)
- Overrides:
merge
in classDependencyTableImpl
-
adjustSheetIndex
public void adjustSheetIndex(String bookName, int index, int size)
- Overrides:
adjustSheetIndex
in classDependencyTableImpl
-
moveSheetIndex
public void moveSheetIndex(String bookName, int oldIndex, int newIndex)
- Overrides:
moveSheetIndex
in classDependencyTableImpl
-
getDirectRegionPrecedents
public Set<Ref> getDirectRegionPrecedents(Ref dependent)
- Overrides:
getDirectRegionPrecedents
in classDependencyTableImpl
-
getRegionPrecedents
public Set<Ref> getRegionPrecedents(Ref dependent)
- Overrides:
getRegionPrecedents
in classDependencyTableImpl
-
getDirectRegionDependents
public Set<Ref> getDirectRegionDependents(Ref precedent)
- Overrides:
getDirectRegionDependents
in classDependencyTableImpl
-
getRegionDependents
public Set<Ref> getRegionDependents(Ref precedent)
- Overrides:
getRegionDependents
in classDependencyTableImpl
-
-