Class Maps


  • public final class Maps
    extends Object

    Expression Object for performing map operations inside Thymeleaf Standard Expressions.

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

    Since:
    1.0
    Author:
    Daniel Fernández
    • 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)