Last active
May 18, 2019 10:48
-
-
Save SkyLightQP/9b79f39b3d67ae2c1d1e669a5b08c1a8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class Pair<F, S> { | |
| private F first; | |
| private S second; | |
| public Pair(F first, S second) { | |
| this.first = first; | |
| this.second = second; | |
| } | |
| public F getFirst() { | |
| return first; | |
| } | |
| public S getSecond() { | |
| return seconnd; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment