L
- Left class member type.R
- Right class member type.public class BiReference<L,R>
extends java.lang.Object
Constructor and Description |
---|
BiReference()
Initialize.
|
BiReference(L left,
R right)
Initialize.
|
Modifier and Type | Method and Description |
---|---|
L |
getLeft()
Returns element of left.
|
R |
getRight()
Returns element of right.
|
boolean |
isLeftNull()
Returns the left whether is null.
|
boolean |
isNotLeftNull()
Returns the left whether not null.
|
boolean |
isNotRightNull()
Returns the left whether not null.
|
boolean |
isRightNull()
Returns the right whether is null.
|
void |
setLeft(L left)
Set element of the left.
|
void |
setRight(R right)
Set element of the right.
|
java.lang.String |
toString() |
public L getLeft()
public void setLeft(L left)
left
- leftpublic boolean isLeftNull()
public boolean isNotLeftNull()
public R getRight()
public void setRight(R right)
right
- rightpublic boolean isRightNull()
public boolean isNotRightNull()
public java.lang.String toString()
toString
in class java.lang.Object