Package com.fizzed.rocker.runtime
Class WithBlock
- java.lang.Object
-
- com.fizzed.rocker.runtime.WithBlock
-
public class WithBlock extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWithBlock.Consumer0static interfaceWithBlock.Consumer1<V>
-
Constructor Summary
Constructors Constructor Description WithBlock()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <V> voidwith(V v, boolean nullSafe, WithBlock.Consumer1<V> consumer)static <V> voidwith(V v, boolean nullSafe, WithBlock.Consumer1<V> consumer, WithBlock.Consumer0 elseConsumer)
-
-
-
Method Detail
-
with
public static <V> void with(V v, boolean nullSafe, WithBlock.Consumer1<V> consumer) throws java.io.IOException- Throws:
java.io.IOException
-
with
public static <V> void with(V v, boolean nullSafe, WithBlock.Consumer1<V> consumer, WithBlock.Consumer0 elseConsumer) throws java.io.IOException- Throws:
java.io.IOException
-
-