|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.util.Dependency<T>
T
- a comparable identifier type (commonly String or Integer)public class Dependency<T extends Comparable<T>>
The class representing an object dependency.
Constructor Summary | |
---|---|
Dependency(T id)
Constructs a strong dependency. |
|
Dependency(T id,
boolean weakDep)
Constructs a dependency. |
Method Summary | |
---|---|
T |
getID()
Returns the dependency identifier. |
boolean |
isStrong()
Returns whether the depdency is strong or not. |
boolean |
isWeak()
Returns whether the dependency is weak or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Dependency(T id, boolean weakDep)
id
- the dependency identifierweakDep
- true if the depedency is weakpublic Dependency(T id)
id
- the dependency identifierMethod Detail |
---|
public T getID()
public boolean isWeak()
public boolean isStrong()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |