Class Arrays

  • public final class Arrays
    extends Object

    Expression Object for performing array operations inside Thymeleaf Standard Expressions.

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

    Daniel Fernández
    • Constructor Detail

      • Arrays

        public Arrays()
    • Method Detail

      • toStringArray

        public Object[] toStringArray​(Object target)
      • toIntegerArray

        public Object[] toIntegerArray​(Object target)
      • toLongArray

        public Object[] toLongArray​(Object target)
      • toDoubleArray

        public Object[] toDoubleArray​(Object target)
      • toFloatArray

        public Object[] toFloatArray​(Object target)
      • toBooleanArray

        public Object[] toBooleanArray​(Object target)
      • length

        public int length​(Object[] target)
      • isEmpty

        public boolean isEmpty​(Object[] target)
      • contains

        public boolean contains​(Object[] target,
                                Object element)
      • containsAll

        public boolean containsAll​(Object[] target,
                                   Object[] elements)
      • containsAll

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