Class CollectionTool

java.lang.Object
com.logicaldoc.core.automation.CollectionTool

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

    • CollectionTool

      public CollectionTool()
  • Method Details

    • 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