Package 

Class UtilityFunctions


  • 
    public final class UtilityFunctions
    
                        

    Utility functions for internal use that we don't want part of the public API.

    • Method Summary

      Modifier and Type Method Description
      static <T> Func1<out Object, Boolean> alwaysTrue() Returns a function that always returns {@code true}.
      static <T> Func1<out Object, Boolean> alwaysFalse() Returns a function that always returns {@code false}.
      static <T> Func1<T, T> identity() Returns a function that always returns the Object it is passed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait