public static final class GenericConverter.ConvertiblePair
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.Class<?> |
sourceType |
private java.lang.Class<?> |
targetType |
Constructor and Description |
---|
ConvertiblePair(java.lang.Class<?> sourceType,
java.lang.Class<?> targetType)
Create a new source-to-target pair.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Class<?> |
getSourceType() |
java.lang.Class<?> |
getTargetType() |
int |
hashCode() |
java.lang.String |
toString() |
private final java.lang.Class<?> sourceType
private final java.lang.Class<?> targetType
public ConvertiblePair(java.lang.Class<?> sourceType, java.lang.Class<?> targetType)
sourceType
- the source typetargetType
- the target typepublic java.lang.Class<?> getSourceType()
public java.lang.Class<?> getTargetType()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object