Class CamundaSpringBootUtil


  • public final class CamundaSpringBootUtil
    extends java.lang.Object
    • Method Detail

      • cast

        public static <T> java.util.Optional<T> cast​(java.lang.Object obj,
                                                     java.lang.Class<T> type)
        Parameters:
        obj - that should be casted
        type - to cast
        Returns:
        optional casted object
      • join

        public static <T> java.util.List<T> join​(java.util.List<? extends T> existing,
                                                 java.util.List<? extends T> add)
        Type Parameters:
        T - type of elements
        Parameters:
        existing - the current values (may be null or empty)
        add - the additional values (may be null or empty)
        Returns:
        new non-null list containing all elements of existing and add.