Class DFListOperation


  • public final class DFListOperation
    extends java.lang.Object
    Implementation of list operations and new list name creation.
    Since:
    15.11.16.0
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String newListName​(DFListOperationType oper, java.lang.String[] names)  
      static java.lang.String newListName​(DFListOperationType oper, java.util.List<java.lang.String> names)
      Creates new list name based on list operation and list names.
      static <T extends java.lang.Comparable<? super T>>
      java.util.List<T>
      operation​(DFListOperationType oper, java.util.List<java.util.List<T>> args)
      Creates new list values based on list operation and given list values.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • newListName

        public static java.lang.String newListName​(DFListOperationType oper,
                                                   java.util.List<java.lang.String> names)
        Creates new list name based on list operation and list names.
        Parameters:
        oper - list operation
        names - list names for given operation
        Returns:
        new list name
      • newListName

        public static java.lang.String newListName​(DFListOperationType oper,
                                                   java.lang.String[] names)
      • operation

        public static <T extends java.lang.Comparable<? super T>> java.util.List<T> operation​(DFListOperationType oper,
                                                                                              java.util.List<java.util.List<T>> args)
        Creates new list values based on list operation and given list values. Supports all operations defined in DFListOperationType.
        Type Parameters:
        T - has to be comparable
        Parameters:
        oper - list operation
        args - list of list values
        Returns:
        new list values created with operation