Class BoolValueList

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

@ProtobufClass public final class BoolValueList extends Object
Protocol wrapper for a list of boolean values.

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

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

    • values

      @Protobuf(fieldType=BOOL, order=1) public List<Boolean> values
      the wrapped list of boolean values
  • Constructor Details

    • BoolValueList

      public BoolValueList()
  • Method Details

    • of

      public static BoolValueList of(List<Boolean> values)
      Create a BoolValueList wrapping the given list of booleans.
      Parameters:
      values - the list of boolean values to wrap
      Returns:
      a new BoolValueList instance
    • toString

      public String toString()
      Overrides:
      toString in class Object