| Modifier and Type | Field and Description |
|---|---|
static Mutater<Object,Object> |
NULL
Represents a non-existent transform.
|
| Constructor and Description |
|---|
Mutaters() |
| Modifier and Type | Method and Description |
|---|---|
static void |
add(Class<?> ic,
Class<?> oc,
Mutater<?,?> t)
Adds a transform for the specified input/output types.
|
static <I,O> Mutater<I,O> |
get(Class<I> ic,
Class<O> oc)
Returns the transform for converting the specified input type to the specified output type.
|
static <I,O> boolean |
hasMutate(Class<I> ic,
Class<O> oc)
Returns the transform for converting the specified input type to the specified output type.
|
public Mutaters()
public static void add(Class<?> ic, Class<?> oc, Mutater<?,?> t)
ic - The input type.oc - The output type.t - The transform for converting the input to the output.public static <I,O> Mutater<I,O> get(Class<I> ic, Class<O> oc)
ic - The input type.oc - The output type.public static <I,O> boolean hasMutate(Class<I> ic, Class<O> oc)
ic - The input type.oc - The output type.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.