Class ValueRecord

java.lang.Object
com.iohao.net.framework.protocol.wrapper.ValueRecord

public final class ValueRecord extends Object
Record that pairs a single-value wrapper class with its corresponding list wrapper class.

For example, IntValue is paired with IntValueList. Used by WrapperKit to resolve the correct wrapper types for primitive and boxed Java types.

Since:
21.20
Author:
渔民小镇
date:
2024-11-01
  • Method Details

    • getValueClazz

      public Class<?> getValueClazz()
      the single-value wrapper class (e.g., IntValue.class)
    • getValueListClazz

      public Class<?> getValueListClazz()
      the list wrapper class (e.g., IntValueList.class)