Package com.alibaba.fastjson2.support
Class LambdaMiscCodec
- java.lang.Object
-
- com.alibaba.fastjson2.support.LambdaMiscCodec
-
public class LambdaMiscCodec extends Object
-
-
Constructor Summary
Constructors Constructor Description LambdaMiscCodec()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BiFunctioncreateBiFunction(Constructor constructor)static BiFunctioncreateBiFunction(Method method)static FunctioncreateFunction(Constructor constructor)static FunctioncreateFunction(Method method)static LongFunctioncreateLongFunction(Constructor constructor)static ObjIntConsumercreateObjIntConsumer(Method method)static SuppliercreateSupplier(Constructor constructor)static SuppliercreateSupplier(Method method)static ToIntFunctioncreateToIntFunction(Method method)static ToLongFunctioncreateToLongFunction(Method method)static ObjectReadergetObjectReader(Class objectClass)static ObjectWritergetObjectWriter(Type objectType, Class objectClass)
-
-
-
Method Detail
-
getObjectWriter
public static ObjectWriter getObjectWriter(Type objectType, Class objectClass)
-
getObjectReader
public static ObjectReader getObjectReader(Class objectClass)
-
createLongFunction
public static LongFunction createLongFunction(Constructor constructor)
-
createToIntFunction
public static ToIntFunction createToIntFunction(Method method)
-
createToLongFunction
public static ToLongFunction createToLongFunction(Method method)
-
createFunction
public static Function createFunction(Constructor constructor)
-
createSupplier
public static Supplier createSupplier(Constructor constructor)
-
createBiFunction
public static BiFunction createBiFunction(Method method)
-
createBiFunction
public static BiFunction createBiFunction(Constructor constructor)
-
createObjIntConsumer
public static ObjIntConsumer createObjIntConsumer(Method method)
-
-