Modifier | Constructor and Description |
---|---|
private |
Args() |
Modifier and Type | Method and Description |
---|---|
static BooleanArgument |
of(Boolean value) |
static <E> ListArgument<E> |
of(List<E> value) |
static <K,V> MapArgument<K,V> |
of(Map<K,V> value) |
static <E> SetArgument<E> |
of(Set<E> value) |
static StringArgument |
of(String value) |
static <V> Argument<V> |
of(V value) |
static <V extends Comparable<?>> |
of(V value) |
static <V extends Number & Comparable<?>> |
of(V value) |
static <V extends Collection<E>,E> |
of(V value) |
static <V extends EntityBean> |
of(V value) |
public static <V> Argument<V> of(V value)
public static <V extends Comparable<?>> ComparableArgument<V> of(V value)
V
- the generic type of the value.value
- the value to use as parameter.constant
ComparableArgument
for the given value
.public static <V extends Number & Comparable<?>> NumberArgument<V> of(V value)
V
- the generic type of the value.value
- the value to use as parameter.constant
NumberArgument
for the given value
.public static <V extends EntityBean> EntityBeanArgument<V> of(V value)
V
- the generic type of the value.value
- the value to use as parameter.constant
EntityBeanArgument
for the given value
.public static <V extends Collection<E>,E> CollectionArgument<V,E> of(V value)
V
- the generic type of the value.E
- the generic type of the Collection
-elements
.value
- the value to use as parameter.constant
CollectionArgument
for the given value
.public static <E> ListArgument<E> of(List<E> value)
E
- the generic type of the List
-elements
.value
- the value to use as parameter.constant
ListArgument
for the given value
.public static <E> SetArgument<E> of(Set<E> value)
E
- the generic type of the Set
-elements
.value
- the value to use as parameter.constant
ListArgument
for the given value
.public static <K,V> MapArgument<K,V> of(Map<K,V> value)
public static BooleanArgument of(Boolean value)
value
- the value to use as parameter.constant
BooleanArgument
for the given value
.public static StringArgument of(String value)
value
- the value to use as parameter.constant
StringArgument
for the given value
.Copyright © 2001–2016 mmm-Team. All rights reserved.