T - the type the class of this key has to be a subtype ofpublic class ClassBasedComponentKey<T>
extends java.lang.Object
Component key that is based on a single Class.| Constructor and Description |
|---|
ClassBasedComponentKey(java.lang.Class<? extends T> type)
Creates a new key.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
java.lang.Class<? extends T> |
getType()
Gets the type associated with this key.
|
int |
hashCode() |
java.lang.String |
toString() |
public ClassBasedComponentKey(java.lang.Class<? extends T> type)
type - the type associated with this keypublic java.lang.Class<? extends T> getType()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.