Class CommonFunctions


  • public class CommonFunctions
    extends Object
    TODO cleanup

    Caller is the routine which is calling the callee.

    From the perspective of the caller the thing which is passed is an argument. From the perspective of the routine that receives the call, i.e. the callee, the thing which is passed is a parameter.

    • Method Detail

      • removeAny

        public static <T> T removeAny​(Set<T> arg)
      • hashCode

        public static int hashCode​(Object... args)
      • findSystemOutput

        public static void findSystemOutput()
      • currentTime

        public static String currentTime()
      • disableSystemOutput

        public static void disableSystemOutput()
      • makeSystemOutputTracing

        public static void makeSystemOutputTracing()
      • stackTraceString

        public static String stackTraceString​(Throwable arg)
      • appendToFile

        public static void appendToFile​(Path filePath,
                                        String content)
      • concat

        public static <T> T[] concat​(T[] a,
                                     T[] b)
        TODO variadic argument support
      • bytesToString

        public static String bytesToString​(byte[] bytes)