org.thymeleaf.expression
Class Maps

Object
  extended by org.thymeleaf.expression.Maps

public final class Maps
extends Object

Utility class for performing map operations.

An object of this class is usually available in variable evaluation expressions with the name #maps.

Since:
1.0
Author:
Daniel Fernández

Constructor Summary
Maps()
           
 
Method Summary
<X> boolean
containsAllKeys(Map<? super X,?> target, Collection<X> keys)
           
<X> boolean
containsAllKeys(Map<? super X,?> target, X[] keys)
           
<X> boolean
containsAllValues(Map<?,? super X> target, Collection<X> values)
           
<X> boolean
containsAllValues(Map<?,? super X> target, X[] values)
           
<X> boolean
containsKey(Map<? super X,?> target, X key)
           
<X> boolean
containsValue(Map<?,? super X> target, X value)
           
 boolean isEmpty(Map<?,?> target)
           
 int size(Map<?,?> target)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Maps

public Maps()
Method Detail

size

public int size(Map<?,?> target)

isEmpty

public boolean isEmpty(Map<?,?> target)

containsKey

public <X> boolean containsKey(Map<? super X,?> target,
                               X key)

containsValue

public <X> boolean containsValue(Map<?,? super X> target,
                                 X value)

containsAllKeys

public <X> boolean containsAllKeys(Map<? super X,?> target,
                                   X[] keys)

containsAllKeys

public <X> boolean containsAllKeys(Map<? super X,?> target,
                                   Collection<X> keys)

containsAllValues

public <X> boolean containsAllValues(Map<?,? super X> target,
                                     X[] values)

containsAllValues

public <X> boolean containsAllValues(Map<?,? super X> target,
                                     Collection<X> values)


Copyright © 2012 The THYMELEAF team. All Rights Reserved.