Пример #1
0
 /**
  * Constructs a new instance that returns an unknown field set and accepts the given numArgs
  * number of arguments.
  *
  * @param numArgs of type numArgs
  */
 protected BaseOperation(int numArgs) {
   this.numArgs = numArgs;
   verify();
 }
Пример #2
0
 /**
  * Constructs a new instance that returns the fields declared in fieldDeclaration and accepts
  * numArgs number of arguments.
  *
  * @param numArgs of type numArgs
  * @param fieldDeclaration of type Fields
  */
 protected BaseOperation(int numArgs, Fields fieldDeclaration) {
   this.numArgs = numArgs;
   this.fieldDeclaration = fieldDeclaration;
   verify();
 }
Пример #3
0
 /**
  * Constructs a new instance that returns the fields declared in fieldDeclaration and accepts any
  * number of arguments.
  *
  * @param fieldDeclaration of type Fields
  */
 protected BaseOperation(Fields fieldDeclaration) {
   this.fieldDeclaration = fieldDeclaration;
   verify();
 }