Class Lists


  • public final class Lists
    extends Object

    Expression Object for performing list operations inside Thymeleaf Standard Expressions.

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

    Since:
    1.0
    Author:
    Daniel Fernández
    • Constructor Detail

      • Lists

        public Lists()
    • Method Detail

      • size

        public int size(List<?> target)
      • isEmpty

        public boolean isEmpty(List<?> target)
      • contains

        public boolean contains(List<?> target,
                                Object element)
      • containsAll

        public boolean containsAll(List<?> target,
                                   Object[] elements)
      • containsAll

        public boolean containsAll(List<?> target,
                                   Collection<?> elements)