public final class Intrinsics extends Object
| Modifier and Type | Method and Description |
|---|---|
static <F,T> T |
$(com.google.common.base.Function<? super F,T> unary,
F value) |
static <T> Iterable<T> |
$(Iterable<? extends T>... iterables) |
static <L,R,T> T |
$(L left,
Templates.Binary<? super L,? super R,T> binary,
R right) |
static org.immutables.generator.Templates.Product |
$(Object... parameters) |
static <F> boolean |
$(com.google.common.base.Predicate<? super F> predicate,
F value) |
static String |
$(String a,
String b) |
static String |
$(String a,
String b,
String c) |
static <T> T |
$(T value) |
static <A,B> void |
$(Templates.Invokation invokation,
A left,
Templates.Binary<? super A,? super B,?> binary,
B right) |
static <F> void |
$(Templates.Invokation invokation,
com.google.common.base.Function<? super F,?> unary,
F value) |
static void |
$(Templates.Invokation invokation,
Object object) |
static <F> void |
$(Templates.Invokation invokation,
com.google.common.base.Predicate<? super F> predicate,
F value) |
static void |
$(Templates.Invokation invokation,
String string) |
static void |
$(Templates.Invokation invokation,
Templates.Invokable invokable,
Object... parameters) |
static <T> T |
$cast(Object object) |
static <E> Collection<E> |
$collect() |
static boolean |
$if(boolean value) |
static boolean |
$if(Boolean value) |
static boolean |
$if(Collection<?> value) |
static boolean |
$if(Object value) |
static boolean |
$if(String value) |
static Iterable<Character> |
$in(char[] elements) |
static Iterable<Integer> |
$in(int[] elements) |
static <T> Iterable<T> |
$in(Iterable<T> iterable) |
static Iterable<Long> |
$in(long[] elements) |
static <T> Iterable<T> |
$in(com.google.common.base.Optional<T> optional) |
static <T> T[] |
$in(T[] elements) |
public static <T> T $cast(Object object)
public static <T> T $(T value)
public static <F,T> T $(com.google.common.base.Function<? super F,T> unary,
F value)
public static <F> boolean $(com.google.common.base.Predicate<? super F> predicate,
F value)
public static <L,R,T> T $(L left,
Templates.Binary<? super L,? super R,T> binary,
R right)
public static org.immutables.generator.Templates.Product $(Object... parameters)
@SafeVarargs public static <T> Iterable<T> $(Iterable<? extends T>... iterables)
public static <F> void $(Templates.Invokation invokation, com.google.common.base.Predicate<? super F> predicate, F value)
public static <F> void $(Templates.Invokation invokation, com.google.common.base.Function<? super F,?> unary, F value)
public static <A,B> void $(Templates.Invokation invokation, A left, Templates.Binary<? super A,? super B,?> binary, B right)
public static void $(Templates.Invokation invokation, Templates.Invokable invokable, Object... parameters)
public static void $(Templates.Invokation invokation, Object object)
public static void $(Templates.Invokation invokation, String string)
public static boolean $if(boolean value)
public static boolean $if(Boolean value)
public static boolean $if(String value)
public static boolean $if(Collection<?> value)
public static boolean $if(Object value)
public static <T> Iterable<T> $in(com.google.common.base.Optional<T> optional)
public static <T> T[] $in(T[] elements)
public static <E> Collection<E> $collect()
Copyright © 2019 The Immutables.org authors. All rights reserved.