public static class Preprocessor.GraphModifyTarget
extends java.lang.Object
equals(Object) and have the same hashCode().| Modifier and Type | Field and Description |
|---|---|
long |
targetId |
Preprocessor.TargetType |
targetType |
| Constructor and Description |
|---|
Preprocessor.GraphModifyTarget(Preprocessor.TargetType targetType,
long targetId)
Construct a target type-ID tuple.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
static java.util.List<Preprocessor.GraphModifyTarget> |
filterByType(java.util.Collection<Preprocessor.GraphModifyTarget> targets,
Preprocessor.TargetType targetType)
Return only the targets of the given type.
|
int |
hashCode() |
java.lang.String |
toString() |
public final Preprocessor.TargetType targetType
public final long targetId
public Preprocessor.GraphModifyTarget(Preprocessor.TargetType targetType, long targetId)
targetType - the target typetargetId - the target IDpublic static java.util.List<Preprocessor.GraphModifyTarget> filterByType(java.util.Collection<Preprocessor.GraphModifyTarget> targets, Preprocessor.TargetType targetType)
targets - some targetstargetType - the desired type of targetpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object