Class Lists


  • public final class Lists
    extends 

    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 Summary

      Constructors 
      Constructor Description
      Lists()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean <?> target,  element)  
      boolean <?> target, [] elements)  
      boolean <?> target, <?> elements)  
      boolean <?> target)  
      int <?> target)  
      <T extends <? super T>>
      <T>
      <T> list)  
      <T> <T> <T> list, <? super T> c)  
      <?>  target)  
      • Methods inherited from class java.lang.

        , , , , , , , , , ,
    • Constructor Detail

      • Lists

        public Lists()
    • Method Detail

      • toList

        public <?> toList​( target)
      • size

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

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

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

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

        public boolean containsAll​(<?> target,
                                   <?> elements)
      • sort

        public <T extends <? super T>> <T> sort​(<T> list)
      • sort

        public <T> <T> sort​(<T> list,
                                <? super T> c)