Package overit.geocall.util
Class DependencyChain.Item<T>
java.lang.Object
overit.geocall.util.DependencyChain.Item<T>
- Type Parameters:
T- the type of the chain's objects
- Enclosing class:
DependencyChain<T>
Single entry of the chain
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanprotected voidfillDependencies(Set<DependencyChain.Item<T>> hs, Set<DependencyChain.Item<T>> starts) get()Returns the instance of the object belongs to this item.inthashCode()isAfter(DependencyChain.Item<T> before) Used to place the current element after the one passed as parameterisBefore(DependencyChain.Item<T> after) Used to place the current element before the one passed as parameter.toString()
-
Field Details
-
value
-
befores
-
-
Method Details
-
get
Returns the instance of the object belongs to this item.- Returns:
- the instance of the object belongs to this item.
-
isAfter
Used to place the current element after the one passed as parameter- Parameters:
before- object to place before the current- Returns:
- the current item
-
isBefore
Used to place the current element before the one passed as parameter.- Parameters:
after- object to place after the current- Returns:
- the current item
-
computeExplosion
public void computeExplosion() -
fillDependencies
protected void fillDependencies(Set<DependencyChain.Item<T>> hs, Set<DependencyChain.Item<T>> starts) -
hashCode
public int hashCode() -
equals
-
toString
-