Class LongValueList

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

@ProtobufClass public final class LongValueList extends Object
Protocol wrapper for a list of long values.

Wraps a List of Long for protobuf serialization, allowing it to be used as a parameter or return type in @ActionMethod handlers.

Author:
渔民小镇
date:
2023-02-10
  • Field Details

    • values

      @Protobuf(fieldType=SINT64, order=1) public List<Long> values
      the wrapped list of long values
  • Constructor Details

    • LongValueList

      public LongValueList()
  • Method Details

    • of

      public static LongValueList of(List<Long> values)
      Create a LongValueList wrapping the given list of longs.
      Parameters:
      values - the list of long values to wrap
      Returns:
      a new LongValueList instance
    • toString

      public String toString()
      Overrides:
      toString in class Object