Created
October 17, 2016 01:28
-
-
Save snadjafi/f15c2d58d654035a92896d243ab15477 to your computer and use it in GitHub Desktop.
This file contains 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 Triple<F, S, T> { | |
public final F first; | |
public final S second; | |
public final T third; | |
private static <F, S, T> Triple<F, S, T> create(F first, S second, T third) { | |
return new Triple<>(first, second, third); | |
} | |
public Triple(F first, S second, T third) { | |
this.first = first; | |
this.second = second; | |
this.third = third; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment