Package | Description |
---|---|
org.wandora.utils |
Modifier and Type | Method and Description |
---|---|
static <U,C extends java.util.Collection<U>> |
Option.inserter(C collection)
A convenience procedure that can be used with Option.apply to
add the value of an Option into a Collection:
|
static <U extends java.lang.Runnable> |
Option.runner()
A convenience procedure that can be used with Option.apply to
run the value of an Option<T extends Runnable>
|
Modifier and Type | Method and Description |
---|---|
void |
Option.apply(Functional.Pr1<? super T> f)
opt.apply(f) is the same as for(Object val : opt) f.invoke(val);
|
Copyright 2004-2015 Wandora Team