com.mysema.query.group
Class QPair<K,V>

java.lang.Object
  extended by com.mysema.query.types.ExpressionBase<T>
      extended by com.mysema.query.types.ConstructorExpression<com.mysema.commons.lang.Pair<K,V>>
          extended by com.mysema.query.group.QPair<K,V>
Type Parameters:
K - Map key type
V - Map value type
All Implemented Interfaces:
Expression<com.mysema.commons.lang.Pair<K,V>>, FactoryExpression<com.mysema.commons.lang.Pair<K,V>>, Serializable

public final class QPair<K,V>
extends ConstructorExpression<com.mysema.commons.lang.Pair<K,V>>

A pair of (Map) key and value

Author:
sasa
See Also:
Serialized Form

Constructor Summary
QPair(Expression<K> key, Expression<V> value)
           
 
Method Summary
static
<K,V> QPair<K,V>
create(Expression<K> key, Expression<V> value)
           
 boolean equals(Expression<?> keyExpr, Class<?> valueType)
           
 boolean equals(Expression<?> keyExpr, Expression<?> valueExpr)
           
 
Methods inherited from class com.mysema.query.types.ConstructorExpression
accept, as, as, create, equals, getArgs, hashCode, newInstance
 
Methods inherited from class com.mysema.query.types.ExpressionBase
getType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.mysema.query.types.Expression
getType
 

Constructor Detail

QPair

public QPair(Expression<K> key,
             Expression<V> value)
Method Detail

create

public static <K,V> QPair<K,V> create(Expression<K> key,
                                      Expression<V> value)

equals

public boolean equals(Expression<?> keyExpr,
                      Expression<?> valueExpr)

equals

public boolean equals(Expression<?> keyExpr,
                      Class<?> valueType)


Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.