public final class CoContraDimensionPair
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
contravariant()
Retrieves the contravariant part of the pair, no matter if it is left or right
|
java.lang.Class<?> |
covariant()
Retrieves the covariant part of the pair, no matter if it is left or right
|
java.lang.Class<?> |
left() |
static CoContraDimensionPair |
ofLeftRight(java.lang.Class<?> leftDimension,
java.lang.Class<?> rightDimension) |
java.lang.Class<?> |
right() |
java.lang.Object |
toLeft(java.lang.Object rightCoordinate) |
java.lang.Object |
toRight(java.lang.Object leftCoordinate) |
public static CoContraDimensionPair ofLeftRight(java.lang.Class<?> leftDimension, java.lang.Class<?> rightDimension)
public java.lang.Class<?> left()
public java.lang.Class<?> right()
public java.lang.Class<?> covariant()
public java.lang.Class<?> contravariant()
public java.lang.Object toLeft(java.lang.Object rightCoordinate)
public java.lang.Object toRight(java.lang.Object leftCoordinate)