Class Functions.Silencer<T>

  • All Implemented Interfaces:
    java.util.function.BiConsumer<T,​HiddenException>, java.util.function.Supplier<T>
    Enclosing class:
    Functions

    public static class Functions.Silencer<T>
    extends java.lang.Object
    implements java.util.function.BiConsumer<T,​HiddenException>, java.util.function.Supplier<T>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected T object  
    • Constructor Summary

      Constructors 
      Constructor Description
      Silencer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(T t, HiddenException e)  
      T get()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.BiConsumer

        andThen
    • Field Detail

      • object

        protected T object
    • Constructor Detail

      • Silencer

        public Silencer()
    • Method Detail

      • get

        public final T get()
        Specified by:
        get in interface java.util.function.Supplier<T>