org.crsh.util
Class Pair<F,S>

java.lang.Object
  extended by org.crsh.util.Pair<F,S>

public class Pair<F,S>
extends Object


Field Summary
private  F first
          .
private  S second
          .
 
Constructor Summary
Pair(F first, S second)
           
 
Method Summary
 F getFirst()
           
 S getSecond()
           
static
<F,S> Pair<F,S>
of(F first, S second)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

first

private final F first
.


second

private final S second
.

Constructor Detail

Pair

public Pair(F first,
            S second)
Method Detail

of

public static <F,S> Pair<F,S> of(F first,
                                 S second)

getFirst

public F getFirst()

getSecond

public S getSecond()


Copyright © 2014 eXo Platform SAS. All Rights Reserved.