com.mysema.query.types.expr
Class EMapBase<K,V>

java.lang.Object
  extended by com.mysema.query.types.Expr<D>
      extended by com.mysema.query.types.expr.ESimple<Map<K,V>>
          extended by com.mysema.query.types.expr.EMapBase<K,V>
Type Parameters:
K -
V -
All Implemented Interfaces:
EMap<K,V>, Serializable
Direct Known Subclasses:
PMap

public abstract class EMapBase<K,V>
extends ESimple<Map<K,V>>
implements EMap<K,V>

EMapBase is an abstract base class for EMap implementations

Author:
tiwe
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mysema.query.types.Expr
primitive
 
Constructor Summary
EMapBase(Class<? extends Map<K,V>> type)
           
 
Method Summary
 EBoolean contains(Expr<K> key, Expr<V> value)
           
 EBoolean containsKey(Expr<K> key)
          Get a this.containsKey(key) expression
 EBoolean containsKey(K key)
          Get a this.containsKey(key) expression
 EBoolean containsValue(Expr<V> value)
          Get a this.containsValue(value) expression
 EBoolean containsValue(V value)
          Get a this.containsValue(value) expression
 EBoolean isEmpty()
          Get the this.isEmpty() expression
 EBoolean isNotEmpty()
          Get the !this.isEmpty() expression
 ENumber<Integer> size()
          Get the size of the Map instance
 
Methods inherited from class com.mysema.query.types.expr.ESimple
as, asExpr, count, countDistinct, eq, eq, in, in, in, ne, ne, when, when
 
Methods inherited from class com.mysema.query.types.Expr
accept, equals, getType, hashCode, notIn, notIn, notIn, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.mysema.query.types.expr.EMap
get, get, getKeyType, getValueType
 

Constructor Detail

EMapBase

public EMapBase(Class<? extends Map<K,V>> type)
Method Detail

contains

public final EBoolean contains(Expr<K> key,
                               Expr<V> value)
Specified by:
contains in interface EMap<K,V>
Returns:
this.get(key).equals(value)

containsKey

public final EBoolean containsKey(Expr<K> key)
Description copied from interface: EMap
Get a this.containsKey(key) expression

Specified by:
containsKey in interface EMap<K,V>
Returns:
this.containsKey(key)
See Also:
Map.containsKey(Object)

containsKey

public final EBoolean containsKey(K key)
Description copied from interface: EMap
Get a this.containsKey(key) expression

Specified by:
containsKey in interface EMap<K,V>
Returns:
this.containsKey(key)
See Also:
Map.containsKey(Object)

containsValue

public final EBoolean containsValue(Expr<V> value)
Description copied from interface: EMap
Get a this.containsValue(value) expression

Specified by:
containsValue in interface EMap<K,V>
Returns:
this.containsValue(value)
See Also:
Map.containsValue(Object)

containsValue

public final EBoolean containsValue(V value)
Description copied from interface: EMap
Get a this.containsValue(value) expression

Specified by:
containsValue in interface EMap<K,V>
Returns:
this.containsValue(value)
See Also:
Map.containsValue(Object)c

isEmpty

public final EBoolean isEmpty()
Description copied from interface: EMap
Get the this.isEmpty() expression

Specified by:
isEmpty in interface EMap<K,V>
Returns:
this.isEmpty()
See Also:
Map.isEmpty()

isNotEmpty

public final EBoolean isNotEmpty()
Description copied from interface: EMap
Get the !this.isEmpty() expression

Specified by:
isNotEmpty in interface EMap<K,V>
Returns:
!this.isEmpty()
See Also:
Map.isEmpty()

size

public final ENumber<Integer> size()
Description copied from interface: EMap
Get the size of the Map instance

Specified by:
size in interface EMap<K,V>
Returns:
this.size()
See Also:
Map.size()


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