Package | Description |
---|---|
org.jooby | |
org.jooby.util |
Modifier and Type | Method and Description |
---|---|
default <T> Switch<String,T> |
Env.when(Predicate<String> predicate,
T result)
|
default <T> Switch<String,T> |
Env.when(String name,
ExSupplier<T> fn)
|
default <T> Switch<String,T> |
Env.when(String name,
T result)
|
Modifier and Type | Method and Description |
---|---|
static <In,Out> Switch<In,Out> |
Switch.newSwitch(In value)
Creates a new switch.
|
static <Out> Switch<String,Out> |
Switch.newSwitch(String value)
Creates a new string switch.
|
Switch<In,Out> |
Switch.when(In value,
ExSupplier<Out> fn)
Append a new option.
|
Switch<In,Out> |
Switch.when(In value,
Out result)
Append a new option.
|
Switch<In,Out> |
Switch.when(Predicate<In> predicate,
ExSupplier<Out> fn)
Append a new option.
|
Switch<In,Out> |
Switch.when(Predicate<In> predicate,
Out result)
Append a new option.
|
Copyright © 2015. All rights reserved.