X
Y
public final class Repeated<X,Y> extends Object implements Func<X,Y>
Repeated(Func<X,Y> fnc, int max)
apply(X input)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Repeated(Func<X,Y> fnc, int max)
If max is equal or less than zero apply(Object) will return an exception.
max
apply(Object)
fnc
public Y apply(X input) throws Exception
Func
apply
Func<X,Y>
input
Exception
Copyright © 2017–2020 Cactoos. All rights reserved.