com.hankcs.hanlp.collection.dartsclone
类 Pair<T,U>

java.lang.Object
  继承者 com.hankcs.hanlp.collection.dartsclone.Pair<T,U>

public class Pair<T,U>
extends Object

模拟C++中的pair,也兼容JavaFX中的Pair

作者:
manabe

字段摘要
 T first
           
 U second
           
 
构造方法摘要
Pair(T first, U second)
           
 
方法摘要
 T getFirst()
           
 T getKey()
           
 U getSecond()
           
 U getValue()
           
 String toString()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

first

public final T first

second

public final U second
构造方法详细信息

Pair

public Pair(T first,
            U second)
方法详细信息

getFirst

public T getFirst()

getKey

public T getKey()

getSecond

public U getSecond()

getValue

public U getValue()

toString

public String toString()
覆盖:
Object 中的 toString


Copyright © 2014–2015 鐮佸啘鍦�/a>. All rights reserved.