mondrian.olap.fun
Class FunUtil.ObjIntPair<T>

java.lang.Object
  extended by mondrian.olap.fun.FunUtil.ObjIntPair<T>
Enclosing class:
FunUtil

public static class FunUtil.ObjIntPair<T>
extends Object

Tuple consisting of an object and an integer.

Similar to Pair, but saves boxing overhead of converting int to Integer.


Field Summary
(package private)  int i
           
(package private)  T t
           
 
Constructor Summary
FunUtil.ObjIntPair(T t, int i)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

t

T t

i

int i
Constructor Detail

FunUtil.ObjIntPair

public FunUtil.ObjIntPair(T t,
                          int i)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads