模块 org.redkale

类 ArrayDecoder<R extends Reader,​T>

  • 类型参数:
    R - Reader
    T - 反解析的数组元素类型
    所有已实现的接口:
    Decodeable<R,​T[]>
    直接已知子类:
    ProtobufArrayDecoder

    public class ArrayDecoder<R extends Reader,​T>
    extends Object
    implements Decodeable<R,​T[]>
    数组的反序列化操作类
    对象数组的反序列化,不包含int[]、long[]这样的primitive class数组。
    支持一定程度的泛型。

    详情见: https://redkale.org

    作者:
    zhangjx
    • 字段详细资料

      • type

        protected final Type type
      • componentType

        protected final Type componentType
      • componentClass

        protected final Class componentClass
      • componentArrayFunction

        protected final IntFunction<T[]> componentArrayFunction
      • inited

        protected volatile boolean inited
    • 方法详细资料

      • checkInited

        protected void checkInited()
      • getComponentType

        public Type getComponentType()
      • getComponentDecoder

        public Decodeable<R,​T> getComponentDecoder()