Record Class LiteralArgument<TYPE>

java.lang.Object
java.lang.Record
com.petrolpark.core.scratch.argument.LiteralArgument<TYPE>
All Implemented Interfaces:
IScratchArgument<IScratchEnvironment,TYPE>

public record LiteralArgument<TYPE>(TYPE value, LiteralArgument.LiteralParameter<TYPE> parameter) extends Record implements IScratchArgument<IScratchEnvironment,TYPE>
  • Constructor Details

    • LiteralArgument

      public LiteralArgument(TYPE value, LiteralArgument.LiteralParameter<TYPE> parameter)
      Creates an instance of a LiteralArgument record class.
      Parameters:
      value - the value for the value record component
      parameter - the value for the parameter record component
  • Method Details