public class FunctionType extends Object
Modifier and Type | Field and Description |
---|---|
static FunctionType |
UNCLASSIFIED
Unclassified function types.
|
Constructor and Description |
---|
FunctionType(Type type) |
Modifier and Type | Method and Description |
---|---|
static FunctionType |
compose(FunctionType input,
FunctionType output) |
static FunctionType |
consumer(Class<?> input) |
boolean |
equals(Object obj) |
static FunctionType |
from(Class<?> input) |
Class<?> |
getInputType() |
Class<?> |
getInputWrapper() |
Class<?> |
getOutputType() |
Class<?> |
getOutputWrapper() |
Type |
getType() |
int |
hashCode() |
boolean |
isMessage() |
boolean |
isWrapper() |
static boolean |
isWrapper(Type type) |
FunctionType |
message() |
static FunctionType |
of(Type function) |
static FunctionType |
supplier(Class<?> input) |
FunctionType |
to(Class<?> output) |
String |
toString() |
FunctionType |
wrap(Class<?> wrapper) |
FunctionType |
wrap(Class<?> input,
Class<?> output) |
public static FunctionType UNCLASSIFIED
public FunctionType(Type type)
public static boolean isWrapper(Type type)
public static FunctionType of(Type function)
public static FunctionType from(Class<?> input)
public static FunctionType supplier(Class<?> input)
public static FunctionType consumer(Class<?> input)
public static FunctionType compose(FunctionType input, FunctionType output)
public Type getType()
public Class<?> getInputWrapper()
public Class<?> getOutputWrapper()
public Class<?> getInputType()
public Class<?> getOutputType()
public boolean isMessage()
public boolean isWrapper()
public FunctionType to(Class<?> output)
public FunctionType message()
public FunctionType wrap(Class<?> input, Class<?> output)
public FunctionType wrap(Class<?> wrapper)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.