java.lang.Object
moe.maple.api.script.util.With
public class With extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWith.Consumers -
Constructor Summary
Constructors Constructor Description With() -
Method Summary
Modifier and Type Method Description static <T> voidcontinueException(Collection<T> collection, With.Consumers.ContinueException<T> consumer)static <T> voidcontinueException(T[] collection, With.Consumers.ContinueException<T> consumer)static <T> voidindex(Collection<T> collection, With.Consumers.IndexedConsumer<T> consumer)static <T> voidindex(T[] collection, With.Consumers.IndexedConsumer<T> consumer)static <T> voidindexAndCount(Collection<T> collection, With.Consumers.IndexedSizedConsumer<T> consumer)static <T> voidindexAndCount(T[] collection, With.Consumers.IndexedSizedConsumer<T> consumer)static voidsilence(With.Consumers.Proxied proxy)static voidsilence(With.Consumers.Proxied proxy, Consumer<Exception> exceptionConsumer)static <T> voidsilentConsume(T object, With.Consumers.ContinueException<T> consumer)static <T> voidsilentConsume(T object, With.Consumers.ContinueException<T> consumer, Consumer<Exception> exceptionConsumer)
-
Constructor Details
-
With
public With()
-
-
Method Details
-
silence
-
silence
-
silentConsume
public static <T> void silentConsume(T object, With.Consumers.ContinueException<T> consumer, Consumer<Exception> exceptionConsumer) -
silentConsume
-
continueException
public static <T> void continueException(Collection<T> collection, With.Consumers.ContinueException<T> consumer) -
continueException
public static <T> void continueException(T[] collection, With.Consumers.ContinueException<T> consumer) -
index
-
index
-
indexAndCount
public static <T> void indexAndCount(Collection<T> collection, With.Consumers.IndexedSizedConsumer<T> consumer) -
indexAndCount
public static <T> void indexAndCount(T[] collection, With.Consumers.IndexedSizedConsumer<T> consumer)
-