Package org.eclipse.xtext.findReferences
Class TargetURIs.Key<T>
- java.lang.Object
-
- org.eclipse.xtext.findReferences.TargetURIs.Key<T>
-
- Enclosing interface:
- TargetURIs
public static final class TargetURIs.Key<T> extends java.lang.Object
A user data key with equalitiy semantics on the type of the value and the logical name of the key.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
static <T> TargetURIs.Key<T>
from(java.lang.String key, java.lang.Class<T> type)
java.lang.String
getKey()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
from
public static <T> TargetURIs.Key<T> from(java.lang.String key, java.lang.Class<T> type)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getKey
public java.lang.String getKey()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-