public final class BooleanExtensions extends Object
BooleanExtensions.| Constructor and Description |
|---|
BooleanExtensions() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
trueOrFalse(T trueCase,
T falseCase,
boolean... flags)
Decides over the given flags if the true-case or the false-case will be return.
|
public static <T> T trueOrFalse(T trueCase,
T falseCase,
boolean... flags)
T - the generic typetrueCase - the object to return in true casefalseCase - the object to return in false caseflags - the flags whice decide what to returnCopyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.