| Package | Description |
|---|---|
| org.apache.fury.format.encoder |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Collection,B> |
Encoders.arrayEncoder(Class<? extends Collection> arrayCls,
Class<B> elementType)
The underlying implementation uses array, only supported
Collection format, because
generic type such as List is erased to simply List, so a bean class input param is required. |
static <T extends Collection,B> |
Encoders.arrayEncoder(TypeRef<? extends Collection> arrayToken,
TypeRef<B> elementType,
BinaryArrayWriter writer,
Fury fury)
Creates an encoder for Java Bean of type T.
|
static <T extends Collection> |
Encoders.arrayEncoder(TypeRef<T> token)
Supported nested list format.
|
static <T extends Collection> |
Encoders.arrayEncoder(TypeRef<T> token,
Fury fury) |
Copyright © 2023-2024, The Apache Software Foundation. Apache Fury™, Fury™, and Apache are either registered trademarks or trademarks of the Apache Software Foundation.