public class IntPair extends Object
Constructor and Description |
---|
IntPair(int fst,
int snd)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getFirst()
Get the first element.
|
int |
getSecond()
Get the second element.
|
void |
setFirst(int first)
Set the first element.
|
void |
setSecond(int second)
Set the second element.
|
public IntPair(int fst, int snd)
fst
- First elementsnd
- Second elementpublic int getFirst()
public void setFirst(int first)
first
- The first elementpublic int getSecond()
public void setSecond(int second)
second
- The second elementCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.