Class NTimesHof

java.lang.Object
hof.ntimes.assignment.NTimesHof

public class NTimesHof
extends java.lang.Object
Author:
__STUDENT_NAME__, Dennis Cosgrove (http://www.cse.wustl.edu/~cosgroved/)
  • Constructor Summary

    Constructors 
    Constructor Description
    NTimesHof()  
  • Method Summary

    Modifier and Type Method Description
    static <T> T nTimes​(java.util.function.Function<T,​T> f, int n, T x)  

    Methods inherited from class java.lang.Object

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

  • Method Details

    • nTimes

      public static <T> T nTimes​(java.util.function.Function<T,​T> f, int n, T x)