com.mysema.query.types.expr
Interface EMap<K,V>

Type Parameters:
K - key type
V - value type
All Known Implementing Classes:
EMapBase, PMap

public interface EMap<K,V>

EMap represents java.util.Map typed expressions

Author:
tiwe
See Also:
Map

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
 Expr<V> get(Expr<K> key)
          Get a this.get(key) expression
 Expr<V> get(K key)
          Get a this.get(key) expression
 Class<K> getKeyType()
          Get the key type for this path
 Class<V> getValueType()
          Get the value type for this path
 EBoolean isEmpty()
          Get the this.isEmpty() expression
 EBoolean isNotEmpty()
          Get the !this.isEmpty() expression
 ENumber<Integer> size()
          Get the size of the Map instance
 

Method Detail

contains

EBoolean contains(Expr<K> key,
                  Expr<V> value)
Parameters:
key -
value -
Returns:
this.get(key).equals(value)

containsKey

EBoolean containsKey(Expr<K> key)
Get a this.containsKey(key) expression

Parameters:
key -
Returns:
this.containsKey(key)
See Also:
Map.containsKey(Object)

containsKey

EBoolean containsKey(K key)
Get a this.containsKey(key) expression

Parameters:
key -
Returns:
this.containsKey(key)
See Also:
Map.containsKey(Object)

containsValue

EBoolean containsValue(Expr<V> value)
Get a this.containsValue(value) expression

Parameters:
value -
Returns:
this.containsValue(value)
See Also:
Map.containsValue(Object)

containsValue

EBoolean containsValue(V value)
Get a this.containsValue(value) expression

Parameters:
value -
Returns:
this.containsValue(value)
See Also:
Map.containsValue(Object)c

get

Expr<V> get(Expr<K> key)
Get a this.get(key) expression

Parameters:
key -
Returns:
this.get(key)
See Also:
Map.get(Object)

get

Expr<V> get(K key)
Get a this.get(key) expression

Parameters:
key -
Returns:
this.get(key)
See Also:
Map.get(Object)

getKeyType

Class<K> getKeyType()
Get the key type for this path

Returns:

getValueType

Class<V> getValueType()
Get the value type for this path

Returns:

isEmpty

EBoolean isEmpty()
Get the this.isEmpty() expression

Returns:
this.isEmpty()
See Also:
Map.isEmpty()

isNotEmpty

EBoolean isNotEmpty()
Get the !this.isEmpty() expression

Returns:
!this.isEmpty()
See Also:
Map.isEmpty()

size

ENumber<Integer> size()
Get the size of the Map instance

Returns:
this.size()
See Also:
Map.size()


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