| Modifier and Type | Class and Description |
|---|---|
static class |
AcceptorFactory.DoubleAcceptor
Double acceptor implementation
|
static class |
AcceptorFactory.FloatAcceptor
Float acceptor implementation
|
static class |
AcceptorFactory.LongAcceptor
Long acceptor implementation
|
| Modifier and Type | Field and Description |
|---|---|
protected static Map<Integer,Acceptor<?>> |
cache
cache of simple acceptors indexed by their klazz hashcode
|
| Constructor and Description |
|---|
AcceptorFactory() |
| Modifier and Type | Method and Description |
|---|---|
static <M,T> FilterAcceptor<M,T> |
createCompositeFilterAcceptor(Class<T> klazz,
ValueGetter<M,T> getter)
Obtain a new instance of a CompositeFilterAcceptor using as delegate
Acceptor a simple one in cache
|
static <T> Acceptor<T> |
getAcceptor(Class<T> klazz)
Obtain a acceptor from caceh via his klazz key
|
protected static Map<Integer,Acceptor<?>> |
getCache() |
public static <M,T> FilterAcceptor<M,T> createCompositeFilterAcceptor(Class<T> klazz, ValueGetter<M,T> getter)
klazz - klazz of simple Acceptor to usegetter - ValueGetter to usepublic static <T> Acceptor<T> getAcceptor(Class<T> klazz)
klazz - klazz of Acceptor to getCopyright © 1999–2013 CodeLutin. All rights reserved.