Class SingleZipArray.SingletonArrayFunc

  • All Implemented Interfaces:
    Function<T,​R>
    Enclosing class:
    SingleZipArray<T,​R>

    final class SingleZipArray.SingletonArrayFunc
    extends java.lang.Object
    implements Function<T,​R>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      R apply​(T t)
      Apply some calculation to the input value and return some other value.
      • Methods inherited from class java.lang.Object

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

      • SingletonArrayFunc

        SingletonArrayFunc()
    • Method Detail

      • apply

        public R apply​(T t)
                throws java.lang.Throwable
        Description copied from interface: Function
        Apply some calculation to the input value and return some other value.
        Specified by:
        apply in interface Function<T,​R>
        Parameters:
        t - the input value
        Returns:
        the output value
        Throws:
        java.lang.Throwable - if the implementation wishes to throw any type of exception