@Beta
@Deprecated
public static final class If.IF
extends java.lang.Object
if-else
" or ternary operator: "? :
" is preferred over this class.Modifier and Type | Class and Description |
---|---|
static class |
If.IF.Or<T>
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static If.IF |
exists(int index)
Deprecated.
true for index >= 0 , false for index < 0 . |
static If.IF |
is(boolean b)
Deprecated.
|
static If.IF |
isNullOrEmpty(boolean[] a)
Deprecated.
|
static If.IF |
isNullOrEmpty(byte[] a)
Deprecated.
|
static If.IF |
isNullOrEmpty(char[] a)
Deprecated.
|
static If.IF |
isNullOrEmpty(java.lang.CharSequence s)
Deprecated.
|
static If.IF |
isNullOrEmpty(java.util.Collection<?> c)
Deprecated.
|
static If.IF |
isNullOrEmpty(double[] a)
Deprecated.
|
static If.IF |
isNullOrEmpty(float[] a)
Deprecated.
|
static If.IF |
isNullOrEmpty(int[] a)
Deprecated.
|
static If.IF |
isNullOrEmpty(long[] a)
Deprecated.
|
static If.IF |
isNullOrEmpty(LongMultiset<?> s)
Deprecated.
|
static If.IF |
isNullOrEmpty(java.util.Map<?,?> m)
Deprecated.
|
static If.IF |
isNullOrEmpty(Multimap<?,?,?> m)
Deprecated.
|
static If.IF |
isNullOrEmpty(Multiset<?> s)
Deprecated.
|
static If.IF |
isNullOrEmpty(java.lang.Object[] a)
Deprecated.
|
static If.IF |
isNullOrEmpty(PrimitiveList list)
Deprecated.
|
static If.IF |
isNullOrEmpty(short[] a)
Deprecated.
|
static If.IF |
isNullOrEmptyOrBlank(java.lang.CharSequence s)
Deprecated.
|
static If.IF |
not(boolean b)
Deprecated.
|
static If.IF |
notNullOrEmpty(boolean[] a)
Deprecated.
|
static If.IF |
notNullOrEmpty(byte[] a)
Deprecated.
|
static If.IF |
notNullOrEmpty(char[] a)
Deprecated.
|
static If.IF |
notNullOrEmpty(java.lang.CharSequence s)
Deprecated.
|
static If.IF |
notNullOrEmpty(java.util.Collection<?> c)
Deprecated.
|
static If.IF |
notNullOrEmpty(double[] a)
Deprecated.
|
static If.IF |
notNullOrEmpty(float[] a)
Deprecated.
|
static If.IF |
notNullOrEmpty(int[] a)
Deprecated.
|
static If.IF |
notNullOrEmpty(long[] a)
Deprecated.
|
static If.IF |
notNullOrEmpty(LongMultiset<?> s)
Deprecated.
|
static If.IF |
notNullOrEmpty(java.util.Map<?,?> m)
Deprecated.
|
static If.IF |
notNullOrEmpty(Multimap<?,?,?> m)
Deprecated.
|
static If.IF |
notNullOrEmpty(Multiset<?> s)
Deprecated.
|
static If.IF |
notNullOrEmpty(java.lang.Object[] a)
Deprecated.
|
static If.IF |
notNullOrEmpty(PrimitiveList list)
Deprecated.
|
static If.IF |
notNullOrEmpty(short[] a)
Deprecated.
|
static If.IF |
notNullOrEmptyOrBlank(java.lang.CharSequence s)
Deprecated.
|
<T,E extends java.lang.Exception> |
then(Try.Callable<T,E> callable)
Deprecated.
|
<T,U,E extends java.lang.Exception> |
then(U seed,
Try.Function<? super U,T,E> func)
Deprecated.
|
<T,U,E extends java.lang.Exception> |
thenApply(U seed,
Try.Function<? super U,T,E> func)
Deprecated.
|
<T,E extends java.lang.Exception> |
thenGet(Try.Supplier<T,E> supplier)
Deprecated.
|
public static If.IF is(boolean b)
public static If.IF not(boolean b)
public static If.IF exists(int index)
true
for index >= 0
, false
for index < 0
.index
- public static If.IF isNullOrEmpty(java.lang.CharSequence s)
public static If.IF isNullOrEmpty(boolean[] a)
public static If.IF isNullOrEmpty(char[] a)
public static If.IF isNullOrEmpty(byte[] a)
public static If.IF isNullOrEmpty(short[] a)
public static If.IF isNullOrEmpty(int[] a)
public static If.IF isNullOrEmpty(long[] a)
public static If.IF isNullOrEmpty(float[] a)
public static If.IF isNullOrEmpty(double[] a)
public static If.IF isNullOrEmpty(java.lang.Object[] a)
public static If.IF isNullOrEmpty(java.util.Collection<?> c)
public static If.IF isNullOrEmpty(java.util.Map<?,?> m)
public static If.IF isNullOrEmpty(PrimitiveList list)
public static If.IF isNullOrEmpty(LongMultiset<?> s)
public static If.IF isNullOrEmptyOrBlank(java.lang.CharSequence s)
public static If.IF notNullOrEmpty(java.lang.CharSequence s)
public static If.IF notNullOrEmpty(boolean[] a)
public static If.IF notNullOrEmpty(char[] a)
public static If.IF notNullOrEmpty(byte[] a)
public static If.IF notNullOrEmpty(short[] a)
public static If.IF notNullOrEmpty(int[] a)
public static If.IF notNullOrEmpty(long[] a)
public static If.IF notNullOrEmpty(float[] a)
public static If.IF notNullOrEmpty(double[] a)
public static If.IF notNullOrEmpty(java.lang.Object[] a)
public static If.IF notNullOrEmpty(java.util.Collection<?> c)
public static If.IF notNullOrEmpty(java.util.Map<?,?> m)
public static If.IF notNullOrEmpty(PrimitiveList list)
public static If.IF notNullOrEmpty(LongMultiset<?> s)
public static If.IF notNullOrEmptyOrBlank(java.lang.CharSequence s)
public <T,E extends java.lang.Exception> Nullable<T> thenGet(Try.Supplier<T,E> supplier) throws E extends java.lang.Exception
E extends java.lang.Exception
public <T,U,E extends java.lang.Exception> Nullable<T> thenApply(U seed, Try.Function<? super U,T,E> func) throws E extends java.lang.Exception
E extends java.lang.Exception
public <T,E extends java.lang.Exception> If.IF.Or<T> then(Try.Callable<T,E> callable) throws E extends java.lang.Exception
E extends java.lang.Exception
public <T,U,E extends java.lang.Exception> If.IF.Or<T> then(U seed, Try.Function<? super U,T,E> func) throws E extends java.lang.Exception
E extends java.lang.Exception