Pairpublic class Pair extends Object Type used to demonstrate Generics Syntax. |
Fields Summary |
---|
private LeftType | left | private RightType | right |
Methods Summary |
---|
public void | Right(RightType right)
this.right = right;
| public LeftType | left()
return this.left;
| public void | left(LeftType left)
this.left = left;
| public RightType | right()
return this.right;
|
|