Class Sets


  • public final class Sets
    extends 

    Expression Object for performing set operations inside Thymeleaf Standard Expressions.

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

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

      Constructors 
      Constructor Description
      Sets()  
    • 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)  
      <?>  target)  
      • Methods inherited from class java.lang.

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

      • Sets

        public Sets()
    • Method Detail

      • toSet

        public <?> toSet​( 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)