public class Dependency extends Object implements Serializable
| Modifier and Type | Class and Description | 
|---|---|
| static class  | Dependency.FlagFlags associated with a dependency. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Dependency | create(DesireChain desires,
      EnumSet<Dependency.Flag> flags) | 
| boolean | equals(Object o) | 
| DesireChain | getDesireChain()Get the desire chain associated with this dependency. | 
| EnumSet<Dependency.Flag> | getFlags()Get the flags associated with this dependency. | 
| Desire | getInitialDesire()Convenience method to get the initial desire that prompted this dependency. | 
| int | hashCode() | 
| static com.google.common.base.Predicate<Dependency> | hasInitialDesire(Desire d)Create a predicate matching dependencies with the specified initial desire. | 
| boolean | isFixed()Query whether this dependency is immune to rewriting. | 
| String | toString() | 
public static Dependency create(DesireChain desires, EnumSet<Dependency.Flag> flags)
public DesireChain getDesireChain()
public Desire getInitialDesire()
public EnumSet<Dependency.Flag> getFlags()
public boolean isFixed()
true if this dependency cannot be rewritten during a graph rewrite.public static com.google.common.base.Predicate<Dependency> hasInitialDesire(Desire d)
d - The desire.d.Copyright © 2016 GroupLens Research. All rights reserved.