Class CollectionTool


  • public class CollectionTool
    extends Object
    Utility methods to handle collections
    Since:
    8.7.4
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Detail

      • CollectionTool

        public CollectionTool()
    • Method Detail

      • toList

        public List<Object> toList​(Object[] array)
        Converts an array into a list
        Parameters:
        array - the array to process
        Returns:
        the list
        Since:
        8.7.4
      • toArray

        public Object[] toArray​(List<Object> list)
        Converts an array into a list
        Parameters:
        list - the list to process
        Returns:
        the array
        Since:
        8.7.4