public static int countMatchingCellsInRef(RefEval refEval, I_MatchPredicate criteriaPredicate) {int result = 0;final int firstSheetIndex = refEval.getFirstSheetIndex();final int lastSheetIndex = refEval.getLastSheetIndex();for (int sIx = firstSheetIndex; sIx <= lastSheetIndex; sIx++) {ValueEval ve = refEval.getInnerValueEval(sIx);if(criteriaPredicate.matches(ve)) {result++;}}return result;}

public static int CountMatchingCellsInRef(RefEval refEval, IMatchPredicate criteriaPredicate){int result = 0;for (int sIx = refEval.FirstSheetIndex; sIx <= refEval.LastSheetIndex; sIx++){ValueEval ve = refEval.GetInnerValueEval(sIx);if (criteriaPredicate.Matches(ve)){result++;}}return result;}

[User] public static int countMatchingCellsInRef(RefEval refEval, I_MatchPredicate criteriaPredicate) {int result = 0;final int firstSheetIndex = refEval.getFirstSheetIndex();final int lastSheetIndex = refEval.getLastSheetIndex();for (int sIx = firstSheetIndex; sIx <= lastSheetIndex; sIx++) {ValueEval ve = refEval.getInnerValueEval(sIx);if(criteriaPredicate.matches(ve)) {result++;}}return result;}

[Assistant] public static int CountMatchingCellsInRef(RefEval refEval, IMatchPredicate criteriaPredicate){int result = 0;for (int sIx = refEval.FirstSheetIndex; sIx <= refEval.LastSheetIndex; sIx++){ValueEval ve = refEval.GetInnerValueEval(sIx);if (criteriaPredicate.Matches(ve)){result++;}}return result;}


public NameXPxg(int externalWorkbookNumber, String sheetName, String nameName) {this.externalWorkbookNumber = externalWorkbookNumber;this.sheetName = sheetName;this.nameName = nameName;}

public NameXPxg(int externalWorkbookNumber, String sheetName, String nameName){this.externalWorkbookNumber = externalWorkbookNumber;this.sheetName = sheetName;this.nameName = nameName;}

[User] public NameXPxg(int externalWorkbookNumber, String sheetName, String nameName) {this.externalWorkbookNumber = externalWorkbookNumber;this.sheetName = sheetName;this.nameName = nameName;}

[Assistant] public NameXPxg(int externalWorkbookNumber, String sheetName, String nameName){this.externalWorkbookNumber = externalWorkbookNumber;this.sheetName = sheetName;this.nameName = nameName;}


public MergeInfo(int totalMaxDoc, long estimatedMergeBytes, boolean isExternal, int mergeMaxNumSegments) {this.totalMaxDoc = totalMaxDoc;this.estimatedMergeBytes = estimatedMergeBytes;this.isExternal = isExternal;this.mergeMaxNumSegments = mergeMaxNumSegments;}

public MergeInfo(int totalDocCount, long estimatedMergeBytes, bool isExternal, int mergeMaxNumSegments){this.TotalDocCount = totalDocCount;this.EstimatedMergeBytes = estimatedMergeBytes;this.IsExternal = isExternal;this.MergeMaxNumSegments = mergeMaxNumSegments;}

[User] public MergeInfo(int totalMaxDoc, long estimatedMergeBytes, boolean isExternal, int mergeMaxNumSegments) {this.totalMaxDoc = totalMaxDoc;this.estimatedMergeBytes = estimatedMergeBytes;this.isExternal = isExternal;this.mergeMaxNumSegments = mergeMaxNumSegments;}

[Assistant] public MergeInfo(int totalDocCount, long estimatedMergeBytes, bool isExternal, int mergeMaxNumSegments){this.TotalDocCount = totalDocCount;this.EstimatedMergeBytes = estimatedMergeBytes;this.IsExternal = isExternal;this.MergeMaxNumSegments = mergeMaxNumSegments;}


public HsmClientCertificate createHsmClientCertificate(CreateHsmClientCertificateRequest request) {request = beforeClientExecution(request);return executeCreateHsmClientCertificate(request);}

public virtual CreateHsmClientCertificateResponse CreateHsmClientCertificate(CreateHsmClientCertificateRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateHsmClientCertificateRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateHsmClientCertificateResponseUnmarshaller.Instance;return Invoke<CreateHsmClientCertificateResponse>(request, options);}

[User] public HsmClientCertificate createHsmClientCertificate(CreateHsmClientCertificateRequest request) {request = beforeClientExecution(request);return executeCreateHsmClientCertificate(request);}

[Assistant] public virtual CreateHsmClientCertificateResponse CreateHsmClientCertificate(CreateHsmClientCertificateRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateHsmClientCertificateRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateHsmClientCertificateResponseUnmarshaller.Instance;return Invoke<CreateHsmClientCertificateResponse>(request, options);}


public Token consume() {Token o = getCurrentToken();if (o.getType() != EOF) {getInputStream().consume();}boolean hasListener = _parseListeners != null && !_parseListeners.isEmpty();if (_buildParseTrees || hasListener) {if ( _errHandler.inErrorRecoveryMode(this) ) {ErrorNode node = _ctx.addErrorNode(createErrorNode(_ctx,o));if (_parseListeners != null) {for (ParseTreeListener listener : _parseListeners) {listener.visitErrorNode(node);}}}else {TerminalNode node = _ctx.addChild(createTerminalNode(_ctx,o));if (_parseListeners != null) {for (ParseTreeListener listener : _parseListeners) {listener.visitTerminal(node);}}}}return o;}

public virtual IToken Consume(){IToken o = CurrentToken;if (o.Type != Eof){((ITokenStream)InputStream).Consume();}bool hasListener = _parseListeners != null && _parseListeners.Count != 0;if (_buildParseTrees || hasListener){if (_errHandler.InErrorRecoveryMode(this)){IErrorNode node = _ctx.AddErrorNode(o);if (_parseListeners != null){foreach (IParseTreeListener listener in _parseListeners){listener.VisitErrorNode(node);}}}else{ITerminalNode node = _ctx.AddChild(o);if (_parseListeners != null){foreach (IParseTreeListener listener in _parseListeners){listener.VisitTerminal(node);}}}}return o;}

[User] public Token consume() {Token o = getCurrentToken();if (o.getType() != EOF) {getInputStream().consume();}boolean hasListener = _parseListeners != null && !_parseListeners.isEmpty();if (_buildParseTrees || hasListener) {if ( _errHandler.inErrorRecoveryMode(this) ) {ErrorNode node = _ctx.addErrorNode(createErrorNode(_ctx,o));if (_parseListeners != null) {for (ParseTreeListener listener : _parseListeners) {listener.visitErrorNode(node);}}}else {TerminalNode node = _ctx.addChild(createTerminalNode(_ctx,o));if (_parseListeners != null) {for (ParseTreeListener listener : _parseListeners) {listener.visitTerminal(node);}}}}return o;}

[Assistant] public virtual IToken Consume(){IToken o = CurrentToken;if (o.Type != Eof){((ITokenStream)InputStream).Consume();}bool hasListener = _parseListeners != null && _parseListeners.Count != 0;if (_buildParseTrees || hasListener){if (_errHandler.InErrorRecoveryMode(this)){IErrorNode node = _ctx.AddErrorNode(o);if (_parseListeners != null){foreach (IParseTreeListener listener in _parseListeners){listener.VisitErrorNode(node);}}}else{ITerminalNode node = _ctx.AddChild(o);if (_parseListeners != null){foreach (IParseTreeListener listener in _parseListeners){listener.VisitTerminal(node);}}}}return o;}


public boolean seekExact(BytesRef term) {final int ord = findTerm(term);if (ord >= 0) {termOrd = ord;setTerm();return true;} else {return false;}}

public override bool SeekExact(BytesRef term){int ord = FindTerm(term);if (ord >= 0){termOrd = ord;SetTerm();return true;}else{return false;}}

[User] public boolean seekExact(BytesRef term) {final int ord = findTerm(term);if (ord >= 0) {termOrd = ord;setTerm();return true;} else {return false;}}

[Assistant] public override bool SeekExact(BytesRef term){int ord = FindTerm(term);if (ord >= 0){termOrd = ord;SetTerm();return true;}else{return false;}}


public DescribeEgressOnlyInternetGatewaysResult describeEgressOnlyInternetGateways(DescribeEgressOnlyInternetGatewaysRequest request) {request = beforeClientExecution(request);return executeDescribeEgressOnlyInternetGateways(request);}

public virtual DescribeEgressOnlyInternetGatewaysResponse DescribeEgressOnlyInternetGateways(DescribeEgressOnlyInternetGatewaysRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeEgressOnlyInternetGatewaysRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeEgressOnlyInternetGatewaysResponseUnmarshaller.Instance;return Invoke<DescribeEgressOnlyInternetGatewaysResponse>(request, options);}

[User] public DescribeEgressOnlyInternetGatewaysResult describeEgressOnlyInternetGateways(DescribeEgressOnlyInternetGatewaysRequest request) {request = beforeClientExecution(request);return executeDescribeEgressOnlyInternetGateways(request);}

[Assistant] public virtual DescribeEgressOnlyInternetGatewaysResponse DescribeEgressOnlyInternetGateways(DescribeEgressOnlyInternetGatewaysRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeEgressOnlyInternetGatewaysRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeEgressOnlyInternetGatewaysResponseUnmarshaller.Instance;return Invoke<DescribeEgressOnlyInternetGatewaysResponse>(request, options);}


public Ref getLeaf() {Ref dst = getTarget();while (dst.isSymbolic())dst = dst.getTarget();return dst;}

public virtual Ref GetLeaf(){Ref dst = GetTarget();while (dst.IsSymbolic()){dst = dst.GetTarget();}return dst;}

[User] public Ref getLeaf() {Ref dst = getTarget();while (dst.isSymbolic())dst = dst.getTarget();return dst;}

[Assistant] public virtual Ref GetLeaf(){Ref dst = GetTarget();while (dst.IsSymbolic()){dst = dst.GetTarget();}return dst;}


public void ReInit(QueryParserTokenManager tm) {token_source = tm;token = new Token();jj_ntk = -1;jj_gen = 0;for (int i = 0; i < 10; i++) jj_la1[i] = -1;for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();}

public virtual void ReInit(QueryParserTokenManager tm){TokenSource = tm;Token = new Token();jj_ntk = -1;jj_gen = 0;for (int i = 0; i < 21; i++) jj_la1[i] = -1;for (int i = 0; i < jj_2_rtns.Length; i++) jj_2_rtns[i] = new JJCalls();}

[User] public void ReInit(QueryParserTokenManager tm) {token_source = tm;token = new Token();jj_ntk = -1;jj_gen = 0;for (int i = 0; i < 10; i++) jj_la1[i] = -1;for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();}

[Assistant] public virtual void ReInit(QueryParserTokenManager tm){TokenSource = tm;Token = new Token();jj_ntk = -1;jj_gen = 0;for (int i = 0; i < 21; i++) jj_la1[i] = -1;for (int i = 0; i < jj_2_rtns.Length; i++) jj_2_rtns[i] = new JJCalls();}


public ListStacksResult listStacks() {return listStacks(new ListStacksRequest());}

public virtual ListStacksResponse ListStacks(){return ListStacks(new ListStacksRequest());}

[User] public ListStacksResult listStacks() {return listStacks(new ListStacksRequest());}

[Assistant] public virtual ListStacksResponse ListStacks(){return ListStacks(new ListStacksRequest());}


public PutInstancePublicPortsResult putInstancePublicPorts(PutInstancePublicPortsRequest request) {request = beforeClientExecution(request);return executePutInstancePublicPorts(request);}

public virtual PutInstancePublicPortsResponse PutInstancePublicPorts(PutInstancePublicPortsRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutInstancePublicPortsRequestMarshaller.Instance;options.ResponseUnmarshaller = PutInstancePublicPortsResponseUnmarshaller.Instance;return Invoke<PutInstancePublicPortsResponse>(request, options);}

[User] public PutInstancePublicPortsResult putInstancePublicPorts(PutInstancePublicPortsRequest request) {request = beforeClientExecution(request);return executePutInstancePublicPorts(request);}

[Assistant] public virtual PutInstancePublicPortsResponse PutInstancePublicPorts(PutInstancePublicPortsRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutInstancePublicPortsRequestMarshaller.Instance;options.ResponseUnmarshaller = PutInstancePublicPortsResponseUnmarshaller.Instance;return Invoke<PutInstancePublicPortsResponse>(request, options);}


public GetConfigurationSetResult getConfigurationSet(GetConfigurationSetRequest request) {request = beforeClientExecution(request);return executeGetConfigurationSet(request);}

public virtual GetConfigurationSetResponse GetConfigurationSet(GetConfigurationSetRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetConfigurationSetRequestMarshaller.Instance;options.ResponseUnmarshaller = GetConfigurationSetResponseUnmarshaller.Instance;return Invoke<GetConfigurationSetResponse>(request, options);}

[User] public GetConfigurationSetResult getConfigurationSet(GetConfigurationSetRequest request) {request = beforeClientExecution(request);return executeGetConfigurationSet(request);}

[Assistant] public virtual GetConfigurationSetResponse GetConfigurationSet(GetConfigurationSetRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetConfigurationSetRequestMarshaller.Instance;options.ResponseUnmarshaller = GetConfigurationSetResponseUnmarshaller.Instance;return Invoke<GetConfigurationSetResponse>(request, options);}


public static Element getFirstChildOrFail(Element e) throws ParserException {Element kid = getFirstChildElement(e);if (null == kid) {throw new ParserException(e.getTagName()+ " does not contain a child element");}return kid;}

public static XmlElement GetFirstChildOrFail(XmlElement e){XmlElement kid = GetFirstChildElement(e);if (null == kid){throw new ParserException(e.ToString()+ " does not contain a child element");}return kid;}

[User] public static Element getFirstChildOrFail(Element e) throws ParserException {Element kid = getFirstChildElement(e);if (null == kid) {throw new ParserException(e.getTagName()+ " does not contain a child element");}return kid;}

[Assistant] public static XmlElement GetFirstChildOrFail(XmlElement e){XmlElement kid = GetFirstChildElement(e);if (null == kid){throw new ParserException(e.ToString()+ " does not contain a child element");}return kid;}


public String toString() {return "Cell(readerIndex=" + readerIndex + " nodeID=" + index.getNodeID()+ " isLeaf=" + index.isLeafNode() + " distanceSquared=" + distanceSquared + ")";}

public override string ToString(){return "ref(" + @ref +")cmd(" + cmd + ")cnt(" + cnt + ")skp(" + skip + ")";}

[User] public String toString() {return "Cell(readerIndex=" + readerIndex + " nodeID=" + index.getNodeID()+ " isLeaf=" + index.isLeafNode() + " distanceSquared=" + distanceSquared + ")";}

[Assistant] public override string ToString(){return "ref(" + @ref +")cmd(" + cmd + ")cnt(" + cnt + ")skp(" + skip + ")";}


public static long getBaseSize(byte[] delta) {int p = 0;long baseLen = 0;int c, shift = 0;do {c = delta[p++] & 0xff;baseLen |= ((long) (c & 0x7f)) << shift;shift += 7;} while ((c & 0x80) != 0);return baseLen;}

public static long GetBaseSize(byte[] delta){int p = 0;long baseLen = 0;int c;int shift = 0;do{c = delta[p++] & unchecked((int)(0xff));baseLen |= ((long)(c & unchecked((int)(0x7f)))) << shift;shift += 7;}while ((c & unchecked((int)(0x80))) != 0);return baseLen;}

[User] public static long getBaseSize(byte[] delta) {int p = 0;long baseLen = 0;int c, shift = 0;do {c = delta[p++] & 0xff;baseLen |= ((long) (c & 0x7f)) << shift;shift += 7;} while ((c & 0x80) != 0);return baseLen;}

[Assistant] public static long GetBaseSize(byte[] delta){int p = 0;long baseLen = 0;int c;int shift = 0;do{c = delta[p++] & unchecked((int)(0xff));baseLen |= ((long)(c & unchecked((int)(0x7f)))) << shift;shift += 7;}while ((c & unchecked((int)(0x80))) != 0);return baseLen;}


public VerifyEmailIdentityResult verifyEmailIdentity(VerifyEmailIdentityRequest request) {request = beforeClientExecution(request);return executeVerifyEmailIdentity(request);}

public virtual VerifyEmailIdentityResponse VerifyEmailIdentity(VerifyEmailIdentityRequest request){var options = new InvokeOptions();options.RequestMarshaller = VerifyEmailIdentityRequestMarshaller.Instance;options.ResponseUnmarshaller = VerifyEmailIdentityResponseUnmarshaller.Instance;return Invoke<VerifyEmailIdentityResponse>(request, options);}

[User] public VerifyEmailIdentityResult verifyEmailIdentity(VerifyEmailIdentityRequest request) {request = beforeClientExecution(request);return executeVerifyEmailIdentity(request);}

[Assistant] public virtual VerifyEmailIdentityResponse VerifyEmailIdentity(VerifyEmailIdentityRequest request){var options = new InvokeOptions();options.RequestMarshaller = VerifyEmailIdentityRequestMarshaller.Instance;options.ResponseUnmarshaller = VerifyEmailIdentityResponseUnmarshaller.Instance;return Invoke<VerifyEmailIdentityResponse>(request, options);}


public CreateInvalidationResult createInvalidation(CreateInvalidationRequest request) {request = beforeClientExecution(request);return executeCreateInvalidation(request);}

public virtual CreateInvalidationResponse CreateInvalidation(CreateInvalidationRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateInvalidationRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateInvalidationResponseUnmarshaller.Instance;return Invoke<CreateInvalidationResponse>(request, options);}

[User] public CreateInvalidationResult createInvalidation(CreateInvalidationRequest request) {request = beforeClientExecution(request);return executeCreateInvalidation(request);}

[Assistant] public virtual CreateInvalidationResponse CreateInvalidation(CreateInvalidationRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateInvalidationRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateInvalidationResponseUnmarshaller.Instance;return Invoke<CreateInvalidationResponse>(request, options);}


public ListGroupsForUserRequest(String userName) {setUserName(userName);}

public ListGroupsForUserRequest(string userName){_userName = userName;}

[User] public ListGroupsForUserRequest(String userName) {setUserName(userName);}

[Assistant] public ListGroupsForUserRequest(string userName){_userName = userName;}


public void serialize(LittleEndianOutput out) {out.writeInt(field_1_stream_pos);out.writeShort(field_2_bucket_sst_offset);out.writeShort(field_3_zero);}

[User] public void serialize(LittleEndianOutput out) {out.writeInt(field_1_stream_pos);out.writeShort(field_2_bucket_sst_offset);out.writeShort(field_3_zero);}

[Assistant] public void Serialize(ILittleEndianOutput out1){out1.WriteInt(field_1_stream_pos);out1.WriteShort(field_2_bucket_sst_offset);out1.WriteShort(field_3_zero);}


public boolean equals(Object o) {if (QueryValueSource.class != o.getClass()) return false;QueryValueSource other = (QueryValueSource)o;return this.q.equals(other.q) && this.defVal==other.defVal;}

public override bool Equals(object o){if (typeof(QueryValueSource) != o.GetType()){return false;}var other = o as QueryValueSource;if (other == null)return false;return this.q.Equals(other.q) && this.defVal == other.defVal;}

[User] public boolean equals(Object o) {if (QueryValueSource.class != o.getClass()) return false;QueryValueSource other = (QueryValueSource)o;return this.q.equals(other.q) && this.defVal==other.defVal;}

[Assistant] public override bool Equals(object o){if (typeof(QueryValueSource) != o.GetType()){return false;}var other = o as QueryValueSource;if (other == null)return false;return this.q.Equals(other.q) && this.defVal == other.defVal;}


public boolean add(E object) {add(size(), object);return true;}

public void add(E @object){iterator.add(@object);subList.sizeChanged(true);end++;}

[User] public boolean add(E object) {add(size(), object);return true;}

[Assistant] public void add(E @object){iterator.add(@object);subList.sizeChanged(true);end++;}


public synchronized SessionToken checkForUpdate(String currentVersion) {ensureOpen();if (currentRevision == null) { return null;}if (currentVersion != null && currentRevision.revision.compareTo(currentVersion) <= 0) {return null;}currentRevision.incRef();final String sessionID = Integer.toString(sessionToken.incrementAndGet());final SessionToken sessionToken = new SessionToken(sessionID, currentRevision.revision);final ReplicationSession timedSessionToken = new ReplicationSession(sessionToken, currentRevision);sessions.put(sessionID, timedSessionToken);return sessionToken;}

public virtual SessionToken CheckForUpdate(string currentVersion){lock (padlock){EnsureOpen();if (currentRevision == null)return null; if (currentVersion != null && currentRevision.Revision.CompareTo(currentVersion) <= 0)return null; currentRevision.IncRef();string sessionID = sessionToken.IncrementAndGet().ToString();SessionToken token = new SessionToken(sessionID, currentRevision.Revision);sessions[sessionID] = new ReplicationSession(token, currentRevision);return token;}}

[User] public synchronized SessionToken checkForUpdate(String currentVersion) {ensureOpen();if (currentRevision == null) { return null;}if (currentVersion != null && currentRevision.revision.compareTo(currentVersion) <= 0) {return null;}currentRevision.incRef();final String sessionID = Integer.toString(sessionToken.incrementAndGet());final SessionToken sessionToken = new SessionToken(sessionID, currentRevision.revision);final ReplicationSession timedSessionToken = new ReplicationSession(sessionToken, currentRevision);sessions.put(sessionID, timedSessionToken);return sessionToken;}

[Assistant] public virtual SessionToken CheckForUpdate(string currentVersion){lock (padlock){EnsureOpen();if (currentRevision == null)return null; if (currentVersion != null && currentRevision.Revision.CompareTo(currentVersion) <= 0)return null; currentRevision.IncRef();string sessionID = sessionToken.IncrementAndGet().ToString();SessionToken token = new SessionToken(sessionID, currentRevision.Revision);sessions[sessionID] = new ReplicationSession(token, currentRevision);return token;}}


public void setCommitNames(String[] commitNames) {this.commitNames = commitNames;}

public virtual void SetCommitNames(string[] commitNames){this.commitNames = commitNames;}

[User] public void setCommitNames(String[] commitNames) {this.commitNames = commitNames;}

[Assistant] public virtual void SetCommitNames(string[] commitNames){this.commitNames = commitNames;}


public FormulaRecordAggregate createFormula(int row, int col) {FormulaRecord fr = new FormulaRecord();fr.setRow(row);fr.setColumn((short) col);return new FormulaRecordAggregate(fr, null, _sharedValueManager);}

public FormulaRecordAggregate CreateFormula(int row, int col){FormulaRecord fr = new FormulaRecord();fr.Row=(row);fr.Column=((short)col);return new FormulaRecordAggregate(fr, null, _sharedValueManager);}

[User] public FormulaRecordAggregate createFormula(int row, int col) {FormulaRecord fr = new FormulaRecord();fr.setRow(row);fr.setColumn((short) col);return new FormulaRecordAggregate(fr, null, _sharedValueManager);}

[Assistant] public FormulaRecordAggregate CreateFormula(int row, int col){FormulaRecord fr = new FormulaRecord();fr.Row=(row);fr.Column=((short)col);return new FormulaRecordAggregate(fr, null, _sharedValueManager);}


public DetectSyntaxResult detectSyntax(DetectSyntaxRequest request) {request = beforeClientExecution(request);return executeDetectSyntax(request);}

public virtual DetectSyntaxResponse DetectSyntax(DetectSyntaxRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetectSyntaxRequestMarshaller.Instance;options.ResponseUnmarshaller = DetectSyntaxResponseUnmarshaller.Instance;return Invoke<DetectSyntaxResponse>(request, options);}

[User] public DetectSyntaxResult detectSyntax(DetectSyntaxRequest request) {request = beforeClientExecution(request);return executeDetectSyntax(request);}

[Assistant] public virtual DetectSyntaxResponse DetectSyntax(DetectSyntaxRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetectSyntaxRequestMarshaller.Instance;options.ResponseUnmarshaller = DetectSyntaxResponseUnmarshaller.Instance;return Invoke<DetectSyntaxResponse>(request, options);}


public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) { if (args.length < 2 || args.length > 3) {return ErrorEval.VALUE_INVALID;}int srcCellRow = ec.getRowIndex();int srcCellCol = ec.getColumnIndex();double start, end;double[] holidays;try {start = this.evaluator.evaluateDateArg(args[0], srcCellRow, srcCellCol);end = this.evaluator.evaluateDateArg(args[1], srcCellRow, srcCellCol);if (start > end) {return ErrorEval.NAME_INVALID;}ValueEval holidaysCell = args.length == 3 ? args[2] : null;holidays = this.evaluator.evaluateDatesArg(holidaysCell, srcCellRow, srcCellCol);return new NumberEval(WorkdayCalculator.instance.calculateWorkdays(start, end, holidays));} catch (EvaluationException e) {return ErrorEval.VALUE_INVALID;}}

public ValueEval Evaluate(ValueEval[] args, OperationEvaluationContext ec){if (args.Length < 2 || args.Length > 3){return ErrorEval.VALUE_INVALID;}int srcCellRow = ec.RowIndex;int srcCellCol = ec.ColumnIndex;double start, end;double[] holidays;try{start = this.evaluator.EvaluateDateArg(args[0], srcCellRow, srcCellCol);end = this.evaluator.EvaluateDateArg(args[1], srcCellRow, srcCellCol);if (start > end){return ErrorEval.NAME_INVALID;}ValueEval holidaysCell = args.Length == 3 ? args[2] : null;holidays = this.evaluator.EvaluateDatesArg(holidaysCell, srcCellRow, srcCellCol);return new NumberEval(WorkdayCalculator.instance.CalculateWorkdays(start, end, holidays));}catch (EvaluationException){return ErrorEval.VALUE_INVALID;}}

[User] public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) { if (args.length < 2 || args.length > 3) {return ErrorEval.VALUE_INVALID;}int srcCellRow = ec.getRowIndex();int srcCellCol = ec.getColumnIndex();double start, end;double[] holidays;try {start = this.evaluator.evaluateDateArg(args[0], srcCellRow, srcCellCol);end = this.evaluator.evaluateDateArg(args[1], srcCellRow, srcCellCol);if (start > end) {return ErrorEval.NAME_INVALID;}ValueEval holidaysCell = args.length == 3 ? args[2] : null;holidays = this.evaluator.evaluateDatesArg(holidaysCell, srcCellRow, srcCellCol);return new NumberEval(WorkdayCalculator.instance.calculateWorkdays(start, end, holidays));} catch (EvaluationException e) {return ErrorEval.VALUE_INVALID;}}

[Assistant] public ValueEval Evaluate(ValueEval[] args, OperationEvaluationContext ec){if (args.Length < 2 || args.Length > 3){return ErrorEval.VALUE_INVALID;}int srcCellRow = ec.RowIndex;int srcCellCol = ec.ColumnIndex;double start, end;double[] holidays;try{start = this.evaluator.EvaluateDateArg(args[0], srcCellRow, srcCellCol);end = this.evaluator.EvaluateDateArg(args[1], srcCellRow, srcCellCol);if (start > end){return ErrorEval.NAME_INVALID;}ValueEval holidaysCell = args.Length == 3 ? args[2] : null;holidays = this.evaluator.EvaluateDatesArg(holidaysCell, srcCellRow, srcCellCol);return new NumberEval(WorkdayCalculator.instance.CalculateWorkdays(start, end, holidays));}catch (EvaluationException){return ErrorEval.VALUE_INVALID;}}


public HSSFDataValidationHelper(HSSFSheet sheet) {super();}

public HSSFDataValidationHelper(HSSFSheet sheet): base(){this.sheet = sheet;}

[User] public HSSFDataValidationHelper(HSSFSheet sheet) {super();}

[Assistant] public HSSFDataValidationHelper(HSSFSheet sheet): base(){this.sheet = sheet;}


public SyncFacePicturesRequest() {super("LinkFace", "2018-07-20", "SyncFacePictures");setProtocol(ProtocolType.HTTPS);setMethod(MethodType.POST);}

public SyncFacePicturesRequest(): base("LinkFace", "2018-07-20", "SyncFacePictures"){Protocol = ProtocolType.HTTPS;Method = MethodType.POST;}

[User] public SyncFacePicturesRequest() {super("LinkFace", "2018-07-20", "SyncFacePictures");setProtocol(ProtocolType.HTTPS);setMethod(MethodType.POST);}

[Assistant] public SyncFacePicturesRequest(): base("LinkFace", "2018-07-20", "SyncFacePictures"){Protocol = ProtocolType.HTTPS;Method = MethodType.POST;}


public static String shortToHex(int value) {StringBuilder sb = new StringBuilder(6);writeHex(sb, value & 0xFFFFL, 4, "0x");return sb.toString();}

public static char[] ShortToHex(int value){return ToHexChars(value, 2);}

[User] public static String shortToHex(int value) {StringBuilder sb = new StringBuilder(6);writeHex(sb, value & 0xFFFFL, 4, "0x");return sb.toString();}

[Assistant] public static char[] ShortToHex(int value){return ToHexChars(value, 2);}


public String toString() {switch (state) {case SET:return key;case UNSET:return "-" + key; case UNSPECIFIED:return "!" + key; case CUSTOM:default:return key + "=" + value; }}

public override string ToString(){return "PackWriter.State[" + this.phase + ", memory=" + this.bytesUsed + "]";}

[User] public String toString() {switch (state) {case SET:return key;case UNSET:return "-" + key; case UNSPECIFIED:return "!" + key; case CUSTOM:default:return key + "=" + value; }}

[Assistant] public override string ToString(){return "PackWriter.State[" + this.phase + ", memory=" + this.bytesUsed + "]";}


public void seek(int index) {lazyInit();p = adjustSeekIndex(index);}

public virtual void Seek(int index){LazyInit();p = AdjustSeekIndex(index);}

[User] public void seek(int index) {lazyInit();p = adjustSeekIndex(index);}

[Assistant] public virtual void Seek(int index){LazyInit();p = AdjustSeekIndex(index);}


public CreateTransitGatewayPeeringAttachmentResult createTransitGatewayPeeringAttachment(CreateTransitGatewayPeeringAttachmentRequest request) {request = beforeClientExecution(request);return executeCreateTransitGatewayPeeringAttachment(request);}

public virtual CreateTransitGatewayPeeringAttachmentResponse CreateTransitGatewayPeeringAttachment(CreateTransitGatewayPeeringAttachmentRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateTransitGatewayPeeringAttachmentRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateTransitGatewayPeeringAttachmentResponseUnmarshaller.Instance;return Invoke<CreateTransitGatewayPeeringAttachmentResponse>(request, options);}

[User] public CreateTransitGatewayPeeringAttachmentResult createTransitGatewayPeeringAttachment(CreateTransitGatewayPeeringAttachmentRequest request) {request = beforeClientExecution(request);return executeCreateTransitGatewayPeeringAttachment(request);}

[Assistant] public virtual CreateTransitGatewayPeeringAttachmentResponse CreateTransitGatewayPeeringAttachment(CreateTransitGatewayPeeringAttachmentRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateTransitGatewayPeeringAttachmentRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateTransitGatewayPeeringAttachmentResponseUnmarshaller.Instance;return Invoke<CreateTransitGatewayPeeringAttachmentResponse>(request, options);}


public static BytesRef deepCopyOf(BytesRef other) {return new BytesRef(ArrayUtil.copyOfSubArray(other.bytes, other.offset, other.offset + other.length), 0, other.length);}

public static BytesRef DeepCopyOf(BytesRef other){BytesRef copy = new BytesRef();copy.CopyBytes(other);return copy;}

[User] public static BytesRef deepCopyOf(BytesRef other) {return new BytesRef(ArrayUtil.copyOfSubArray(other.bytes, other.offset, other.offset + other.length), 0, other.length);}

[Assistant] public static BytesRef DeepCopyOf(BytesRef other){BytesRef copy = new BytesRef();copy.CopyBytes(other);return copy;}


public TokenCollector(int tokenCount) {_ptgs = new Ptg[tokenCount];_offset = 0;}

public TokenCollector(int tokenCount){_ptgs = new Ptg[tokenCount];_offset = 0;}

[User] public TokenCollector(int tokenCount) {_ptgs = new Ptg[tokenCount];_offset = 0;}

[Assistant] public TokenCollector(int tokenCount){_ptgs = new Ptg[tokenCount];_offset = 0;}


public static String[] tokenize( String format ) {List<String> result = new ArrayList<>();DateFormatTokenizer tokenizer = new DateFormatTokenizer(format);String token;while( ( token = tokenizer.getNextToken() ) != null ) {result.add(token);}return result.toArray(new String[0]);}

public static string[] Tokenize(string format){List<string> result = new List<string>();DateFormatTokenizer tokenizer = new DateFormatTokenizer(format);string token;while ((token = tokenizer.GetNextToken()) != null){result.Add(token);}return result.ToArray();}

[User] public static String[] tokenize( String format ) {List<String> result = new ArrayList<>();DateFormatTokenizer tokenizer = new DateFormatTokenizer(format);String token;while( ( token = tokenizer.getNextToken() ) != null ) {result.add(token);}return result.toArray(new String[0]);}

[Assistant] public static string[] Tokenize(string format){List<string> result = new List<string>();DateFormatTokenizer tokenizer = new DateFormatTokenizer(format);string token;while ((token = tokenizer.GetNextToken()) != null){result.Add(token);}return result.ToArray();}


public DescribeNatGatewaysResult describeNatGateways(DescribeNatGatewaysRequest request) {request = beforeClientExecution(request);return executeDescribeNatGateways(request);}

public virtual DescribeNatGatewaysResponse DescribeNatGateways(DescribeNatGatewaysRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeNatGatewaysRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeNatGatewaysResponseUnmarshaller.Instance;return Invoke<DescribeNatGatewaysResponse>(request, options);}

[User] public DescribeNatGatewaysResult describeNatGateways(DescribeNatGatewaysRequest request) {request = beforeClientExecution(request);return executeDescribeNatGateways(request);}

[Assistant] public virtual DescribeNatGatewaysResponse DescribeNatGateways(DescribeNatGatewaysRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeNatGatewaysRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeNatGatewaysResponseUnmarshaller.Instance;return Invoke<DescribeNatGatewaysResponse>(request, options);}


public ResetImageAttributeResult resetImageAttribute(ResetImageAttributeRequest request) {request = beforeClientExecution(request);return executeResetImageAttribute(request);}

public virtual ResetImageAttributeResponse ResetImageAttribute(ResetImageAttributeRequest request){var options = new InvokeOptions();options.RequestMarshaller = ResetImageAttributeRequestMarshaller.Instance;options.ResponseUnmarshaller = ResetImageAttributeResponseUnmarshaller.Instance;return Invoke<ResetImageAttributeResponse>(request, options);}

[User] public ResetImageAttributeResult resetImageAttribute(ResetImageAttributeRequest request) {request = beforeClientExecution(request);return executeResetImageAttribute(request);}

[Assistant] public virtual ResetImageAttributeResponse ResetImageAttribute(ResetImageAttributeRequest request){var options = new InvokeOptions();options.RequestMarshaller = ResetImageAttributeRequestMarshaller.Instance;options.ResponseUnmarshaller = ResetImageAttributeResponseUnmarshaller.Instance;return Invoke<ResetImageAttributeResponse>(request, options);}


public void setHorizontalBorder(boolean value){field_1_options = horizontalBorder.setShortBoolean(field_1_options, value);}

public void SetHorizontalBorder(bool value){field_1_options = horizontalBorder.SetShortBoolean(field_1_options, value);}

[User] public void setHorizontalBorder(boolean value){field_1_options = horizontalBorder.setShortBoolean(field_1_options, value);}

[Assistant] public void SetHorizontalBorder(bool value){field_1_options = horizontalBorder.SetShortBoolean(field_1_options, value);}


public ReplicationGroup modifyReplicationGroup(ModifyReplicationGroupRequest request) {request = beforeClientExecution(request);return executeModifyReplicationGroup(request);}

public virtual ModifyReplicationGroupResponse ModifyReplicationGroup(ModifyReplicationGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyReplicationGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyReplicationGroupResponseUnmarshaller.Instance;return Invoke<ModifyReplicationGroupResponse>(request, options);}

[User] public ReplicationGroup modifyReplicationGroup(ModifyReplicationGroupRequest request) {request = beforeClientExecution(request);return executeModifyReplicationGroup(request);}

[Assistant] public virtual ModifyReplicationGroupResponse ModifyReplicationGroup(ModifyReplicationGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyReplicationGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyReplicationGroupResponseUnmarshaller.Instance;return Invoke<ModifyReplicationGroupResponse>(request, options);}


public boolean containsKey(CharSequence cs) {if(cs == null)throw new NullPointerException();return false;}

public override bool ContainsKey(char[] text){if (text == null){throw new ArgumentNullException("text");}return false;}

[User] public boolean containsKey(CharSequence cs) {if(cs == null)throw new NullPointerException();return false;}

[Assistant] public override bool ContainsKey(char[] text){if (text == null){throw new ArgumentNullException("text");}return false;}


public GetIntegrationsResult getIntegrations(GetIntegrationsRequest request) {request = beforeClientExecution(request);return executeGetIntegrations(request);}

public virtual GetIntegrationsResponse GetIntegrations(GetIntegrationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetIntegrationsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetIntegrationsResponseUnmarshaller.Instance;return Invoke<GetIntegrationsResponse>(request, options);}

[User] public GetIntegrationsResult getIntegrations(GetIntegrationsRequest request) {request = beforeClientExecution(request);return executeGetIntegrations(request);}

[Assistant] public virtual GetIntegrationsResponse GetIntegrations(GetIntegrationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetIntegrationsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetIntegrationsResponseUnmarshaller.Instance;return Invoke<GetIntegrationsResponse>(request, options);}


public LabelRecord(RecordInputStream in) {field_1_row          = in.readUShort();field_2_column       = in.readShort();field_3_xf_index     = in.readShort();field_4_string_len   = in.readShort();field_5_unicode_flag = in.readByte();if (field_4_string_len > 0) {if (isUnCompressedUnicode()) {field_6_value = in.readUnicodeLEString(field_4_string_len);} else {field_6_value = in.readCompressedUnicode(field_4_string_len);}} else {field_6_value = "";}if (in.remaining() > 0) {logger.log(POILogger.INFO,"LabelRecord data remains: " + in.remaining() +" : " + HexDump.toHex(in.readRemainder()));}}

public LabelRecord(RecordInputStream in1){field_1_row = in1.ReadUShort();field_2_column = in1.ReadUShort();field_3_xf_index = in1.ReadShort();field_4_string_len = in1.ReadShort();field_5_unicode_flag = (byte)in1.ReadByte();if (field_4_string_len > 0){if (IsUncompressedUnicode){field_6_value = in1.ReadUnicodeLEString(field_4_string_len);}else{field_6_value = in1.ReadCompressedUnicode(field_4_string_len);}}else{field_6_value = "";}if (in1.Remaining > 0){logger.Log(POILogger.INFO, "LabelRecord data remains: " +in1.Remaining +" : " + HexDump.ToHex(in1.ReadRemainder()));}}

[User] public LabelRecord(RecordInputStream in) {field_1_row          = in.readUShort();field_2_column       = in.readShort();field_3_xf_index     = in.readShort();field_4_string_len   = in.readShort();field_5_unicode_flag = in.readByte();if (field_4_string_len > 0) {if (isUnCompressedUnicode()) {field_6_value = in.readUnicodeLEString(field_4_string_len);} else {field_6_value = in.readCompressedUnicode(field_4_string_len);}} else {field_6_value = "";}if (in.remaining() > 0) {logger.log(POILogger.INFO,"LabelRecord data remains: " + in.remaining() +" : " + HexDump.toHex(in.readRemainder()));}}

[Assistant] public LabelRecord(RecordInputStream in1){field_1_row = in1.ReadUShort();field_2_column = in1.ReadUShort();field_3_xf_index = in1.ReadShort();field_4_string_len = in1.ReadShort();field_5_unicode_flag = (byte)in1.ReadByte();if (field_4_string_len > 0){if (IsUncompressedUnicode){field_6_value = in1.ReadUnicodeLEString(field_4_string_len);}else{field_6_value = in1.ReadCompressedUnicode(field_4_string_len);}}else{field_6_value = "";}if (in1.Remaining > 0){logger.Log(POILogger.INFO, "LabelRecord data remains: " +in1.Remaining +" : " + HexDump.ToHex(in1.ReadRemainder()));}}


public SubmoduleAddCommand setProgressMonitor(ProgressMonitor monitor) {this.monitor = monitor;return this;}

public virtual NGit.Api.SubmoduleAddCommand SetProgressMonitor(ProgressMonitor monitor){this.monitor = monitor;return this;}

[User] public SubmoduleAddCommand setProgressMonitor(ProgressMonitor monitor) {this.monitor = monitor;return this;}

[Assistant] public virtual NGit.Api.SubmoduleAddCommand SetProgressMonitor(ProgressMonitor monitor){this.monitor = monitor;return this;}


public byte readByte() {if (currentBlockUpto == blockSize) {nextBlock();}return currentBlock[currentBlockUpto++];}

public override byte ReadByte(){if (currentBlockUpto == outerInstance.blockSize){NextBlock();}return (byte)currentBlock[currentBlockUpto++];}

[User] public byte readByte() {if (currentBlockUpto == blockSize) {nextBlock();}return currentBlock[currentBlockUpto++];}

[Assistant] public override byte ReadByte(){if (currentBlockUpto == outerInstance.blockSize){NextBlock();}return (byte)currentBlock[currentBlockUpto++];}


public TestAlarmResult testAlarm(TestAlarmRequest request) {request = beforeClientExecution(request);return executeTestAlarm(request);}

public virtual TestAlarmResponse TestAlarm(TestAlarmRequest request){var options = new InvokeOptions();options.RequestMarshaller = TestAlarmRequestMarshaller.Instance;options.ResponseUnmarshaller = TestAlarmResponseUnmarshaller.Instance;return Invoke<TestAlarmResponse>(request, options);}

[User] public TestAlarmResult testAlarm(TestAlarmRequest request) {request = beforeClientExecution(request);return executeTestAlarm(request);}

[Assistant] public virtual TestAlarmResponse TestAlarm(TestAlarmRequest request){var options = new InvokeOptions();options.RequestMarshaller = TestAlarmRequestMarshaller.Instance;options.ResponseUnmarshaller = TestAlarmResponseUnmarshaller.Instance;return Invoke<TestAlarmResponse>(request, options);}


public void clear() {HashMap.this.clear();}

public override void clear(){this._enclosing.clear();}

[User] public void clear() {HashMap.this.clear();}

[Assistant] public override void clear(){this._enclosing.clear();}


public void visitContainedRecords(RecordVisitor rv) {int nRegions = _mergedRegions.size();if (nRegions < 1) {return;}int nFullMergedCellsRecords = nRegions / MAX_MERGED_REGIONS;int nLeftoverMergedRegions = nRegions % MAX_MERGED_REGIONS;CellRangeAddress[] cras = new CellRangeAddress[nRegions];_mergedRegions.toArray(cras);for (int i = 0; i < nFullMergedCellsRecords; i++) {int startIx = i * MAX_MERGED_REGIONS;rv.visitRecord(new MergeCellsRecord(cras, startIx, MAX_MERGED_REGIONS));}if (nLeftoverMergedRegions > 0) {int startIx = nFullMergedCellsRecords * MAX_MERGED_REGIONS;rv.visitRecord(new MergeCellsRecord(cras, startIx, nLeftoverMergedRegions));}}

public override void VisitContainedRecords(RecordVisitor rv){int nRegions = _mergedRegions.Count;if (nRegions < 1){return;}int nFullMergedCellsRecords = nRegions / MAX_MERGED_REGIONS;int nLeftoverMergedRegions = nRegions % MAX_MERGED_REGIONS;CellRangeAddress[] cras = (CellRangeAddress[])_mergedRegions.ToArray();for (int i = 0; i < nFullMergedCellsRecords; i++){int startIx = i * MAX_MERGED_REGIONS;rv.VisitRecord(new MergeCellsRecord(cras, startIx, MAX_MERGED_REGIONS));}if (nLeftoverMergedRegions > 0){int startIx = nFullMergedCellsRecords * MAX_MERGED_REGIONS;rv.VisitRecord(new MergeCellsRecord(cras, startIx, nLeftoverMergedRegions));}}

[User] public void visitContainedRecords(RecordVisitor rv) {int nRegions = _mergedRegions.size();if (nRegions < 1) {return;}int nFullMergedCellsRecords = nRegions / MAX_MERGED_REGIONS;int nLeftoverMergedRegions = nRegions % MAX_MERGED_REGIONS;CellRangeAddress[] cras = new CellRangeAddress[nRegions];_mergedRegions.toArray(cras);for (int i = 0; i < nFullMergedCellsRecords; i++) {int startIx = i * MAX_MERGED_REGIONS;rv.visitRecord(new MergeCellsRecord(cras, startIx, MAX_MERGED_REGIONS));}if (nLeftoverMergedRegions > 0) {int startIx = nFullMergedCellsRecords * MAX_MERGED_REGIONS;rv.visitRecord(new MergeCellsRecord(cras, startIx, nLeftoverMergedRegions));}}

[Assistant] public override void VisitContainedRecords(RecordVisitor rv){int nRegions = _mergedRegions.Count;if (nRegions < 1){return;}int nFullMergedCellsRecords = nRegions / MAX_MERGED_REGIONS;int nLeftoverMergedRegions = nRegions % MAX_MERGED_REGIONS;CellRangeAddress[] cras = (CellRangeAddress[])_mergedRegions.ToArray();for (int i = 0; i < nFullMergedCellsRecords; i++){int startIx = i * MAX_MERGED_REGIONS;rv.VisitRecord(new MergeCellsRecord(cras, startIx, MAX_MERGED_REGIONS));}if (nLeftoverMergedRegions > 0){int startIx = nFullMergedCellsRecords * MAX_MERGED_REGIONS;rv.VisitRecord(new MergeCellsRecord(cras, startIx, nLeftoverMergedRegions));}}


public CharArrayWriter() {buf = new char[32];lock = buf;}

public CharArrayWriter(){buf = new char[32];@lock = buf;}

[User] public CharArrayWriter() {buf = new char[32];lock = buf;}

[Assistant] public CharArrayWriter(){buf = new char[32];@lock = buf;}


public SendEmailRequest(String source, Destination destination, Message message) {setSource(source);setDestination(destination);setMessage(message);}

public SendEmailRequest(string source, Destination destination, Message message){_source = source;_destination = destination;_message = message;}

[User] public SendEmailRequest(String source, Destination destination, Message message) {setSource(source);setDestination(destination);setMessage(message);}

[Assistant] public SendEmailRequest(string source, Destination destination, Message message){_source = source;_destination = destination;_message = message;}


public DescribeReservedNodesResult describeReservedNodes() {return describeReservedNodes(new DescribeReservedNodesRequest());}

public virtual DescribeReservedNodesResponse DescribeReservedNodes(){return DescribeReservedNodes(new DescribeReservedNodesRequest());}

[User] public DescribeReservedNodesResult describeReservedNodes() {return describeReservedNodes(new DescribeReservedNodesRequest());}

[Assistant] public virtual DescribeReservedNodesResponse DescribeReservedNodes(){return DescribeReservedNodes(new DescribeReservedNodesRequest());}


public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[PROTECT]\n");buffer.append("    .options = ").append(HexDump.shortToHex(_options)).append("\n");buffer.append("[/PROTECT]\n");return buffer.toString();}

public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[PROTECT]\n");buffer.Append("    .options = ").Append(HexDump.ShortToHex(_options)).Append("\n");buffer.Append("[/PROTECT]\n");return buffer.ToString();}

[User] public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[PROTECT]\n");buffer.append("    .options = ").append(HexDump.shortToHex(_options)).append("\n");buffer.append("[/PROTECT]\n");return buffer.toString();}

[Assistant] public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[PROTECT]\n");buffer.Append("    .options = ").Append(HexDump.ShortToHex(_options)).Append("\n");buffer.Append("[/PROTECT]\n");return buffer.ToString();}


public String getSignerType() {return "PRIVATEKEY";}

public override string GetSignerType(){return "PRIVATEKEY";}

[User] public String getSignerType() {return "PRIVATEKEY";}

[Assistant] public override string GetSignerType(){return "PRIVATEKEY";}


public StopProjectVersionResult stopProjectVersion(StopProjectVersionRequest request) {request = beforeClientExecution(request);return executeStopProjectVersion(request);}

public virtual StopProjectVersionResponse StopProjectVersion(StopProjectVersionRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopProjectVersionRequestMarshaller.Instance;options.ResponseUnmarshaller = StopProjectVersionResponseUnmarshaller.Instance;return Invoke<StopProjectVersionResponse>(request, options);}

[User] public StopProjectVersionResult stopProjectVersion(StopProjectVersionRequest request) {request = beforeClientExecution(request);return executeStopProjectVersion(request);}

[Assistant] public virtual StopProjectVersionResponse StopProjectVersion(StopProjectVersionRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopProjectVersionRequestMarshaller.Instance;options.ResponseUnmarshaller = StopProjectVersionResponseUnmarshaller.Instance;return Invoke<StopProjectVersionResponse>(request, options);}


public CacheCluster createCacheCluster(CreateCacheClusterRequest request) {request = beforeClientExecution(request);return executeCreateCacheCluster(request);}

public virtual CreateCacheClusterResponse CreateCacheCluster(CreateCacheClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateCacheClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateCacheClusterResponseUnmarshaller.Instance;return Invoke<CreateCacheClusterResponse>(request, options);}

[User] public CacheCluster createCacheCluster(CreateCacheClusterRequest request) {request = beforeClientExecution(request);return executeCreateCacheCluster(request);}

[Assistant] public virtual CreateCacheClusterResponse CreateCacheCluster(CreateCacheClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateCacheClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateCacheClusterResponseUnmarshaller.Instance;return Invoke<CreateCacheClusterResponse>(request, options);}


public boolean equals(Object _other) {if ((_other instanceof LabelAndValue) == false) {return false;}LabelAndValue other = (LabelAndValue) _other;return label.equals(other.label) && value.equals(other.value);}

public override bool Equals(object other){if ((other is LabelAndValue) == false){return false;}LabelAndValue _other = (LabelAndValue)other;return Label.Equals(_other.Label, StringComparison.Ordinal) && Value.Equals(_other.Value);}

[User] public boolean equals(Object _other) {if ((_other instanceof LabelAndValue) == false) {return false;}LabelAndValue other = (LabelAndValue) _other;return label.equals(other.label) && value.equals(other.value);}

[Assistant] public override bool Equals(object other){if ((other is LabelAndValue) == false){return false;}LabelAndValue _other = (LabelAndValue)other;return Label.Equals(_other.Label, StringComparison.Ordinal) && Value.Equals(_other.Value);}


public JobFlowInstancesDetail(String masterInstanceType, String slaveInstanceType, Integer instanceCount) {setMasterInstanceType(masterInstanceType);setSlaveInstanceType(slaveInstanceType);setInstanceCount(instanceCount);}

public JobFlowInstancesDetail(string masterInstanceType, string slaveInstanceType, int instanceCount){_masterInstanceType = masterInstanceType;_slaveInstanceType = slaveInstanceType;_instanceCount = instanceCount;}

[User] public JobFlowInstancesDetail(String masterInstanceType, String slaveInstanceType, Integer instanceCount) {setMasterInstanceType(masterInstanceType);setSlaveInstanceType(slaveInstanceType);setInstanceCount(instanceCount);}

[Assistant] public JobFlowInstancesDetail(string masterInstanceType, string slaveInstanceType, int instanceCount){_masterInstanceType = masterInstanceType;_slaveInstanceType = slaveInstanceType;_instanceCount = instanceCount;}


public boolean stem() {r_mark_regions();limit_backward = cursor;cursor = limit;int v_2 = limit - cursor;r_attached_pronoun();cursor = limit - v_2;int v_3 = limit - cursor;lab0: {lab1: {int v_4 = limit - cursor;lab2: {if (!r_standard_suffix()){break lab2;}break lab1;}cursor = limit - v_4;if (!r_verb_suffix()){break lab0;}}}cursor = limit - v_3;int v_5 = limit - cursor;r_residual_suffix();cursor = limit - v_5;cursor = limit_backward;int v_6 = cursor;r_cleaning();cursor = v_6;return true;}

public override bool Stem(){int v_1;int v_2;int v_3;int v_4;int v_5;int v_6;v_1 = m_cursor;do{if (!r_mark_regions()){goto lab0;}} while (false);lab0:m_cursor = v_1;m_limit_backward = m_cursor; m_cursor = m_limit;v_2 = m_limit - m_cursor;do{if (!r_attached_pronoun()){goto lab1;}} while (false);lab1:m_cursor = m_limit - v_2;v_3 = m_limit - m_cursor;do{do{v_4 = m_limit - m_cursor;do{if (!r_standard_suffix()){goto lab4;}goto lab3;} while (false);lab4:m_cursor = m_limit - v_4;if (!r_verb_suffix()){goto lab2;}} while (false);lab3:;} while (false);lab2:m_cursor = m_limit - v_3;v_5 = m_limit - m_cursor;do{if (!r_residual_suffix()){goto lab5;}} while (false);lab5:m_cursor = m_limit - v_5;m_cursor = m_limit_backward;                    v_6 = m_cursor;do{if (!r_cleaning()){goto lab6;}} while (false);lab6:m_cursor = v_6;return true;}

[User] public boolean stem() {r_mark_regions();limit_backward = cursor;cursor = limit;int v_2 = limit - cursor;r_attached_pronoun();cursor = limit - v_2;int v_3 = limit - cursor;lab0: {lab1: {int v_4 = limit - cursor;lab2: {if (!r_standard_suffix()){break lab2;}break lab1;}cursor = limit - v_4;if (!r_verb_suffix()){break lab0;}}}cursor = limit - v_3;int v_5 = limit - cursor;r_residual_suffix();cursor = limit - v_5;cursor = limit_backward;int v_6 = cursor;r_cleaning();cursor = v_6;return true;}

[Assistant] public override bool Stem(){int v_1;int v_2;int v_3;int v_4;int v_5;int v_6;v_1 = m_cursor;do{if (!r_mark_regions()){goto lab0;}} while (false);lab0:m_cursor = v_1;m_limit_backward = m_cursor; m_cursor = m_limit;v_2 = m_limit - m_cursor;do{if (!r_attached_pronoun()){goto lab1;}} while (false);lab1:m_cursor = m_limit - v_2;v_3 = m_limit - m_cursor;do{do{v_4 = m_limit - m_cursor;do{if (!r_standard_suffix()){goto lab4;}goto lab3;} while (false);lab4:m_cursor = m_limit - v_4;if (!r_verb_suffix()){goto lab2;}} while (false);lab3:;} while (false);lab2:m_cursor = m_limit - v_3;v_5 = m_limit - m_cursor;do{if (!r_residual_suffix()){goto lab5;}} while (false);lab5:m_cursor = m_limit - v_5;m_cursor = m_limit_backward;                    v_6 = m_cursor;do{if (!r_cleaning()){goto lab6;}} while (false);lab6:m_cursor = v_6;return true;}


public HSSFPictureData( EscherBlipRecord blip ){this.blip = blip;}

public HSSFPictureData(EscherBlipRecord blip){this.blip = blip;}

[User] public HSSFPictureData( EscherBlipRecord blip ){this.blip = blip;}

[Assistant] public HSSFPictureData(EscherBlipRecord blip){this.blip = blip;}


public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[PALETTE]\n");buffer.append("  numcolors     = ").append(_colors.size()).append('\n');for (int i = 0; i < _colors.size(); i++) {PColor c = _colors.get(i);buffer.append("* colornum      = ").append(i).append('\n');buffer.append(c);buffer.append("

public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[PALETTE]\n");buffer.Append("  numcolors     = ").Append(field_2_colors.Count).Append('\n');for (int k = 0; k < field_2_colors.Count; k++){PColor c = (PColor)field_2_colors[k];buffer.Append("* colornum      = ").Append(k).Append('\n');buffer.Append(c.ToString());buffer.Append("

[User] public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[PALETTE]\n");buffer.append("  numcolors     = ").append(_colors.size()).append('\n');for (int i = 0; i < _colors.size(); i++) {PColor c = _colors.get(i);buffer.append("* colornum      = ").append(i).append('\n');buffer.append(c);buffer.append("

[Assistant] public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[PALETTE]\n");buffer.Append("  numcolors     = ").Append(field_2_colors.Count).Append('\n');for (int k = 0; k < field_2_colors.Count; k++){PColor c = (PColor)field_2_colors[k];buffer.Append("* colornum      = ").Append(k).Append('\n');buffer.Append(c.ToString());buffer.Append("


public String[] list(FilenameFilter filter) {String[] filenames = list();if (filter == null || filenames == null) {return filenames;}List<String> result = new ArrayList<String>(filenames.length);for (String filename : filenames) {if (filter.accept(this, filename)) {result.add(filename);}}return result.toArray(new String[result.size()]);}

public string[] list(java.io.FilenameFilter filter){string[] filenames = list();if (filter == null || filenames == null){return filenames;}java.util.List<string> result = new java.util.ArrayList<string>(filenames.Length);foreach (string filename in filenames){if (filter.accept(this, filename)){result.add(filename);}}return result.toArray(new string[result.size()]);}

[User] public String[] list(FilenameFilter filter) {String[] filenames = list();if (filter == null || filenames == null) {return filenames;}List<String> result = new ArrayList<String>(filenames.length);for (String filename : filenames) {if (filter.accept(this, filename)) {result.add(filename);}}return result.toArray(new String[result.size()]);}

[Assistant] public string[] list(java.io.FilenameFilter filter){string[] filenames = list();if (filter == null || filenames == null){return filenames;}java.util.List<string> result = new java.util.ArrayList<string>(filenames.Length);foreach (string filename in filenames){if (filter.accept(this, filename)){result.add(filename);}}return result.toArray(new string[result.size()]);}


public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0,ValueEval arg1) {String arg;int index;try {arg = evaluateStringArg(arg0, srcRowIndex, srcColumnIndex);index = evaluateIntArg(arg1, srcRowIndex, srcColumnIndex);} catch (EvaluationException e) {return e.getErrorEval();}if(index < 0) {return ErrorEval.VALUE_INVALID;}String result;if (_isLeft) {result = arg.substring(0, Math.min(arg.length(), index));} else {result = arg.substring(Math.max(0, arg.length()-index));}return new StringEval(result);}

public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0,ValueEval arg1){String arg;int index;try{arg = TextFunction.EvaluateStringArg(arg0, srcRowIndex, srcColumnIndex);index = TextFunction.EvaluateIntArg(arg1, srcRowIndex, srcColumnIndex);}catch (EvaluationException e){return e.GetErrorEval();}if (index < 0){return ErrorEval.VALUE_INVALID;}String result;if (_isLeft){result = arg.Substring(0, Math.Min(arg.Length, index));}else{result = arg.Substring(Math.Max(0, arg.Length - index));}return new StringEval(result);}

[User] public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0,ValueEval arg1) {String arg;int index;try {arg = evaluateStringArg(arg0, srcRowIndex, srcColumnIndex);index = evaluateIntArg(arg1, srcRowIndex, srcColumnIndex);} catch (EvaluationException e) {return e.getErrorEval();}if(index < 0) {return ErrorEval.VALUE_INVALID;}String result;if (_isLeft) {result = arg.substring(0, Math.min(arg.length(), index));} else {result = arg.substring(Math.max(0, arg.length()-index));}return new StringEval(result);}

[Assistant] public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0,ValueEval arg1){String arg;int index;try{arg = TextFunction.EvaluateStringArg(arg0, srcRowIndex, srcColumnIndex);index = TextFunction.EvaluateIntArg(arg1, srcRowIndex, srcColumnIndex);}catch (EvaluationException e){return e.GetErrorEval();}if (index < 0){return ErrorEval.VALUE_INVALID;}String result;if (_isLeft){result = arg.Substring(0, Math.Min(arg.Length, index));}else{result = arg.Substring(Math.Max(0, arg.Length - index));}return new StringEval(result);}


public void serialize(LittleEndianOutput out) {out.writeShort(sid);out.writeShort(reserved.length);out.write(reserved);}

public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(sid);out1.WriteShort(reserved.Length);out1.Write(reserved);}

[User] public void serialize(LittleEndianOutput out) {out.writeShort(sid);out.writeShort(reserved.length);out.write(reserved);}

[Assistant] public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(sid);out1.WriteShort(reserved.Length);out1.Write(reserved);}


public HadoopJarStepConfig(String jar) {setJar(jar);}

public HadoopJarStepConfig(string jar){_jar = jar;}

[User] public HadoopJarStepConfig(String jar) {setJar(jar);}

[Assistant] public HadoopJarStepConfig(string jar){_jar = jar;}


public CharArrayWriter append(char c) {write(c);return this;}

public override java.io.Writer append(char c){write(c);return this;}

[User] public CharArrayWriter append(char c) {write(c);return this;}

[Assistant] public override java.io.Writer append(char c){write(c);return this;}


public GetChannelsResult getChannels(GetChannelsRequest request) {request = beforeClientExecution(request);return executeGetChannels(request);}

public virtual GetChannelsResponse GetChannels(GetChannelsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetChannelsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetChannelsResponseUnmarshaller.Instance;return Invoke<GetChannelsResponse>(request, options);}

[User] public GetChannelsResult getChannels(GetChannelsRequest request) {request = beforeClientExecution(request);return executeGetChannels(request);}

[Assistant] public virtual GetChannelsResponse GetChannels(GetChannelsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetChannelsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetChannelsResponseUnmarshaller.Instance;return Invoke<GetChannelsResponse>(request, options);}


public File getParentFile() {String tempParent = getParent();if (tempParent == null) {return null;}return new File(tempParent);}

public java.io.File getParentFile(){string tempParent = getParent();if (tempParent == null){return null;}return new java.io.File(tempParent);}

[User] public File getParentFile() {String tempParent = getParent();if (tempParent == null) {return null;}return new File(tempParent);}

[Assistant] public java.io.File getParentFile(){string tempParent = getParent();if (tempParent == null){return null;}return new java.io.File(tempParent);}


public URI resolve(String relative) {return resolve(create(relative));}

public java.net.URI resolve(string relative){return resolve(create(relative));}

[User] public URI resolve(String relative) {return resolve(create(relative));}

[Assistant] public java.net.URI resolve(string relative){return resolve(create(relative));}


public static IntervalSet of(int a, int b) {IntervalSet s = new IntervalSet();s.add(a,b);return s;}

public static Antlr4.Runtime.Misc.IntervalSet Of(int a, int b){Antlr4.Runtime.Misc.IntervalSet s = new Antlr4.Runtime.Misc.IntervalSet();s.Add(a, b);return s;}

[User] public static IntervalSet of(int a, int b) {IntervalSet s = new IntervalSet();s.add(a,b);return s;}

[Assistant] public static Antlr4.Runtime.Misc.IntervalSet Of(int a, int b){Antlr4.Runtime.Misc.IntervalSet s = new Antlr4.Runtime.Misc.IntervalSet();s.Add(a, b);return s;}


public void setCompressionLevel(int level) {compressionLevel = level;}

public virtual void SetCompressionLevel(int level){compressionLevel = level;}

[User] public void setCompressionLevel(int level) {compressionLevel = level;}

[Assistant] public virtual void SetCompressionLevel(int level){compressionLevel = level;}


public void reset() {offset = 0;length = 0;lastTrailingHighSurrogate = 0;}

public void Reset(){offset = 0;length = 0;lastTrailingHighSurrogate = (char)0;}

[User] public void reset() {offset = 0;length = 0;lastTrailingHighSurrogate = 0;}

[Assistant] public void Reset(){offset = 0;length = 0;lastTrailingHighSurrogate = (char)0;}


public AttributeValue(String s) {setS(s);}

public AttributeValue(string s){_s = s;}

[User] public AttributeValue(String s) {setS(s);}

[Assistant] public AttributeValue(string s){_s = s;}


public Token(int kind, String image){this.kind = kind;this.image = image;}

public Token(int start, int end){CheckOffsets(start, end);startOffset = start;endOffset = end;}

[User] public Token(int kind, String image){this.kind = kind;this.image = image;}

[Assistant] public Token(int start, int end){CheckOffsets(start, end);startOffset = start;endOffset = end;}


public XmlSerializer newSerializer() throws XmlPullParserException {if (serializerClasses == null) {throw new XmlPullParserException("Factory initialization incomplete - has not tried "+classNamesLocation);}if(serializerClasses.size() == 0) {throw new XmlPullParserException("No valid serializer classes found in "+classNamesLocation);}final StringBuilder issues = new StringBuilder ();for (int i = 0; i < serializerClasses.size (); i++) {final Class ppClass = (Class) serializerClasses.get(i);try {final XmlSerializer ser = (XmlSerializer) ppClass.newInstance();return ser;} catch(Exception ex) {issues.append (ppClass.getName () + ": "+ ex.toString ()+"; ");}}throw new XmlPullParserException ("could not create serializer: "+issues);}

public virtual org.xmlpull.v1.XmlSerializer newSerializer(){if (serializerClasses == null){throw new org.xmlpull.v1.XmlPullParserException("Factory initialization incomplete - has not tried "+ classNamesLocation);}if (serializerClasses.size() == 0){throw new org.xmlpull.v1.XmlPullParserException("No valid serializer classes found in "+ classNamesLocation);}java.lang.StringBuilder issues = new java.lang.StringBuilder();{for (int i = 0; i < serializerClasses.size(); i++){System.Type ppClass = (System.Type)serializerClasses.get(i);try{org.xmlpull.v1.XmlSerializer ser = (org.xmlpull.v1.XmlSerializer)System.Activator.CreateInstance(ppClass);return ser;}catch (System.Exception ex){issues.append(ppClass.FullName + ": " + ex.ToString() + "; ");}}}throw new org.xmlpull.v1.XmlPullParserException("could not create serializer: " +issues);}

[User] public XmlSerializer newSerializer() throws XmlPullParserException {if (serializerClasses == null) {throw new XmlPullParserException("Factory initialization incomplete - has not tried "+classNamesLocation);}if(serializerClasses.size() == 0) {throw new XmlPullParserException("No valid serializer classes found in "+classNamesLocation);}final StringBuilder issues = new StringBuilder ();for (int i = 0; i < serializerClasses.size (); i++) {final Class ppClass = (Class) serializerClasses.get(i);try {final XmlSerializer ser = (XmlSerializer) ppClass.newInstance();return ser;} catch(Exception ex) {issues.append (ppClass.getName () + ": "+ ex.toString ()+"; ");}}throw new XmlPullParserException ("could not create serializer: "+issues);}

[Assistant] public virtual org.xmlpull.v1.XmlSerializer newSerializer(){if (serializerClasses == null){throw new org.xmlpull.v1.XmlPullParserException("Factory initialization incomplete - has not tried "+ classNamesLocation);}if (serializerClasses.size() == 0){throw new org.xmlpull.v1.XmlPullParserException("No valid serializer classes found in "+ classNamesLocation);}java.lang.StringBuilder issues = new java.lang.StringBuilder();{for (int i = 0; i < serializerClasses.size(); i++){System.Type ppClass = (System.Type)serializerClasses.get(i);try{org.xmlpull.v1.XmlSerializer ser = (org.xmlpull.v1.XmlSerializer)System.Activator.CreateInstance(ppClass);return ser;}catch (System.Exception ex){issues.append(ppClass.FullName + ": " + ex.ToString() + "; ");}}}throw new org.xmlpull.v1.XmlPullParserException("could not create serializer: " +issues);}


public UpdateDomainContactPrivacyResult updateDomainContactPrivacy(UpdateDomainContactPrivacyRequest request) {request = beforeClientExecution(request);return executeUpdateDomainContactPrivacy(request);}

public virtual UpdateDomainContactPrivacyResponse UpdateDomainContactPrivacy(UpdateDomainContactPrivacyRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDomainContactPrivacyRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDomainContactPrivacyResponseUnmarshaller.Instance;return Invoke<UpdateDomainContactPrivacyResponse>(request, options);}

[User] public UpdateDomainContactPrivacyResult updateDomainContactPrivacy(UpdateDomainContactPrivacyRequest request) {request = beforeClientExecution(request);return executeUpdateDomainContactPrivacy(request);}

[Assistant] public virtual UpdateDomainContactPrivacyResponse UpdateDomainContactPrivacy(UpdateDomainContactPrivacyRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDomainContactPrivacyRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDomainContactPrivacyResponseUnmarshaller.Instance;return Invoke<UpdateDomainContactPrivacyResponse>(request, options);}


public String toString(String enc) throws UnsupportedEncodingException {return new String(buf, 0, count, enc);}

public virtual string toString(string enc){throw new System.NotImplementedException();}

[User] public String toString(String enc) throws UnsupportedEncodingException {return new String(buf, 0, count, enc);}

[Assistant] public virtual string toString(string enc){throw new System.NotImplementedException();}


public DescribeStaleSecurityGroupsResult describeStaleSecurityGroups(DescribeStaleSecurityGroupsRequest request) {request = beforeClientExecution(request);return executeDescribeStaleSecurityGroups(request);}

public virtual DescribeStaleSecurityGroupsResponse DescribeStaleSecurityGroups(DescribeStaleSecurityGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeStaleSecurityGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeStaleSecurityGroupsResponseUnmarshaller.Instance;return Invoke<DescribeStaleSecurityGroupsResponse>(request, options);}

[User] public DescribeStaleSecurityGroupsResult describeStaleSecurityGroups(DescribeStaleSecurityGroupsRequest request) {request = beforeClientExecution(request);return executeDescribeStaleSecurityGroups(request);}

[Assistant] public virtual DescribeStaleSecurityGroupsResponse DescribeStaleSecurityGroups(DescribeStaleSecurityGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeStaleSecurityGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeStaleSecurityGroupsResponseUnmarshaller.Instance;return Invoke<DescribeStaleSecurityGroupsResponse>(request, options);}


public DisassociateWebsiteCertificateAuthorityResult disassociateWebsiteCertificateAuthority(DisassociateWebsiteCertificateAuthorityRequest request) {request = beforeClientExecution(request);return executeDisassociateWebsiteCertificateAuthority(request);}

public virtual DisassociateWebsiteCertificateAuthorityResponse DisassociateWebsiteCertificateAuthority(DisassociateWebsiteCertificateAuthorityRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisassociateWebsiteCertificateAuthorityRequestMarshaller.Instance;options.ResponseUnmarshaller = DisassociateWebsiteCertificateAuthorityResponseUnmarshaller.Instance;return Invoke<DisassociateWebsiteCertificateAuthorityResponse>(request, options);}

[User] public DisassociateWebsiteCertificateAuthorityResult disassociateWebsiteCertificateAuthority(DisassociateWebsiteCertificateAuthorityRequest request) {request = beforeClientExecution(request);return executeDisassociateWebsiteCertificateAuthority(request);}

[Assistant] public virtual DisassociateWebsiteCertificateAuthorityResponse DisassociateWebsiteCertificateAuthority(DisassociateWebsiteCertificateAuthorityRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisassociateWebsiteCertificateAuthorityRequestMarshaller.Instance;options.ResponseUnmarshaller = DisassociateWebsiteCertificateAuthorityResponseUnmarshaller.Instance;return Invoke<DisassociateWebsiteCertificateAuthorityResponse>(request, options);}


public DeleteTransitGatewayVpcAttachmentResult deleteTransitGatewayVpcAttachment(DeleteTransitGatewayVpcAttachmentRequest request) {request = beforeClientExecution(request);return executeDeleteTransitGatewayVpcAttachment(request);}

public virtual DeleteTransitGatewayVpcAttachmentResponse DeleteTransitGatewayVpcAttachment(DeleteTransitGatewayVpcAttachmentRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteTransitGatewayVpcAttachmentRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteTransitGatewayVpcAttachmentResponseUnmarshaller.Instance;return Invoke<DeleteTransitGatewayVpcAttachmentResponse>(request, options);}

[User] public DeleteTransitGatewayVpcAttachmentResult deleteTransitGatewayVpcAttachment(DeleteTransitGatewayVpcAttachmentRequest request) {request = beforeClientExecution(request);return executeDeleteTransitGatewayVpcAttachment(request);}

[Assistant] public virtual DeleteTransitGatewayVpcAttachmentResponse DeleteTransitGatewayVpcAttachment(DeleteTransitGatewayVpcAttachmentRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteTransitGatewayVpcAttachmentRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteTransitGatewayVpcAttachmentResponseUnmarshaller.Instance;return Invoke<DeleteTransitGatewayVpcAttachmentResponse>(request, options);}


public ObjectId idFor(TreeFormatter formatter) {return formatter.computeId(this);}

public virtual ObjectId IdFor(TreeFormatter formatter){return formatter.ComputeId(this);}

[User] public ObjectId idFor(TreeFormatter formatter) {return formatter.computeId(this);}

[Assistant] public virtual ObjectId IdFor(TreeFormatter formatter){return formatter.ComputeId(this);}


public static boolean startsWith(char s[], int len, String prefix) {final int prefixLen = prefix.length();if (prefixLen > len)return false;for (int i = 0; i < prefixLen; i++)if (s[i] != prefix.charAt(i))return false;return true;}

public static bool StartsWith(char[] s, int len, string prefix){int prefixLen = prefix.Length;if (prefixLen > len){return false;}for (int i = 0; i < prefixLen; i++){if (s[i] != prefix[i]){return false;}}return true;}

[User] public static boolean startsWith(char s[], int len, String prefix) {final int prefixLen = prefix.length();if (prefixLen > len)return false;for (int i = 0; i < prefixLen; i++)if (s[i] != prefix.charAt(i))return false;return true;}

[Assistant] public static bool StartsWith(char[] s, int len, string prefix){int prefixLen = prefix.Length;if (prefixLen > len){return false;}for (int i = 0; i < prefixLen; i++){if (s[i] != prefix[i]){return false;}}return true;}


public UpdateBatchPredictionResult updateBatchPrediction(UpdateBatchPredictionRequest request) {request = beforeClientExecution(request);return executeUpdateBatchPrediction(request);}

public virtual UpdateBatchPredictionResponse UpdateBatchPrediction(UpdateBatchPredictionRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateBatchPredictionRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateBatchPredictionResponseUnmarshaller.Instance;return Invoke<UpdateBatchPredictionResponse>(request, options);}

[User] public UpdateBatchPredictionResult updateBatchPrediction(UpdateBatchPredictionRequest request) {request = beforeClientExecution(request);return executeUpdateBatchPrediction(request);}

[Assistant] public virtual UpdateBatchPredictionResponse UpdateBatchPrediction(UpdateBatchPredictionRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateBatchPredictionRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateBatchPredictionResponseUnmarshaller.Instance;return Invoke<UpdateBatchPredictionResponse>(request, options);}


public final void remove(RevFlag flag) {flags &= ~flag.mask;}

public void Remove(RevFlag flag){flags &= ~flag.mask;}

[User] public final void remove(RevFlag flag) {flags &= ~flag.mask;}

[Assistant] public void Remove(RevFlag flag){flags &= ~flag.mask;}


public void SwitchTo(int lexState){if (lexState >= 2 || lexState < 0)throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE);elsecurLexState = lexState;}

public virtual void SwitchTo(int lexState){if (lexState >= 3 || lexState < 0)throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE);elsecurLexState = lexState;}

[User] public void SwitchTo(int lexState){if (lexState >= 2 || lexState < 0)throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE);elsecurLexState = lexState;}

[Assistant] public virtual void SwitchTo(int lexState){if (lexState >= 3 || lexState < 0)throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE);elsecurLexState = lexState;}


public String toString() {StringBuilder sb = new StringBuilder("[ArrayPtg]\n");sb.append("nRows = ").append(getRowCount()).append("\n");sb.append("nCols = ").append(getColumnCount()).append("\n");if (_arrayValues == null) {sb.append("  #values#uninitialised#\n");} else {sb.append("  ").append(toFormulaString());}return sb.toString();}

public override String ToString(){StringBuilder buffer = new StringBuilder("[ArrayPtg]\n");buffer.Append("columns = ").Append(ColumnCount).Append("\n");buffer.Append("rows = ").Append(RowCount).Append("\n");for (int x = 0; x < ColumnCount; x++){for (int y = 0; y < RowCount; y++){Object o = _arrayValues.GetValue(GetValueIndex(x, y));buffer.Append("[").Append(x).Append("][").Append(y).Append("] = ").Append(o).Append("\n");}}return buffer.ToString();}

[User] public String toString() {StringBuilder sb = new StringBuilder("[ArrayPtg]\n");sb.append("nRows = ").append(getRowCount()).append("\n");sb.append("nCols = ").append(getColumnCount()).append("\n");if (_arrayValues == null) {sb.append("  #values#uninitialised#\n");} else {sb.append("  ").append(toFormulaString());}return sb.toString();}

[Assistant] public override String ToString(){StringBuilder buffer = new StringBuilder("[ArrayPtg]\n");buffer.Append("columns = ").Append(ColumnCount).Append("\n");buffer.Append("rows = ").Append(RowCount).Append("\n");for (int x = 0; x < ColumnCount; x++){for (int y = 0; y < RowCount; y++){Object o = _arrayValues.GetValue(GetValueIndex(x, y));buffer.Append("[").Append(x).Append("][").Append(y).Append("] = ").Append(o).Append("\n");}}return buffer.ToString();}


public ObjectId getHeadId() {return headId;}

public virtual ObjectId GetHeadId(){return headId;}

[User] public ObjectId getHeadId() {return headId;}

[Assistant] public virtual ObjectId GetHeadId(){return headId;}


public GetAssociatedIpv6PoolCidrsResult getAssociatedIpv6PoolCidrs(GetAssociatedIpv6PoolCidrsRequest request) {request = beforeClientExecution(request);return executeGetAssociatedIpv6PoolCidrs(request);}

public virtual GetAssociatedIpv6PoolCidrsResponse GetAssociatedIpv6PoolCidrs(GetAssociatedIpv6PoolCidrsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetAssociatedIpv6PoolCidrsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetAssociatedIpv6PoolCidrsResponseUnmarshaller.Instance;return Invoke<GetAssociatedIpv6PoolCidrsResponse>(request, options);}

[User] public GetAssociatedIpv6PoolCidrsResult getAssociatedIpv6PoolCidrs(GetAssociatedIpv6PoolCidrsRequest request) {request = beforeClientExecution(request);return executeGetAssociatedIpv6PoolCidrs(request);}

[Assistant] public virtual GetAssociatedIpv6PoolCidrsResponse GetAssociatedIpv6PoolCidrs(GetAssociatedIpv6PoolCidrsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetAssociatedIpv6PoolCidrsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetAssociatedIpv6PoolCidrsResponseUnmarshaller.Instance;return Invoke<GetAssociatedIpv6PoolCidrsResponse>(request, options);}


public void copyValue(Cell destCell) {switch (_cellType) {case BLANK:   destCell.setBlank();                           return;case NUMERIC: destCell.setCellValue(_numberValue);           return;case BOOLEAN: destCell.setCellValue(_booleanValue);          return;case STRING:  destCell.setCellValue(_stringValue);           return;case ERROR:   destCell.setCellErrorValue((byte)_errorValue); return;default: throw new IllegalStateException("Unexpected data type (" + _cellType + ")");}}

public void CopyValue(ICell destCell){switch (_cellType){case CellType.Blank: destCell.SetCellType(CellType.Blank); return;case CellType.Numeric: destCell.SetCellValue(_numberValue); return;case CellType.Boolean: destCell.SetCellValue(_boolValue); return;case CellType.String: destCell.SetCellValue(_stringValue); return;case CellType.Error: destCell.SetCellErrorValue((byte)_errorValue); return;}throw new InvalidOperationException("Unexpected data type (" + _cellType + ")");}

[User] public void copyValue(Cell destCell) {switch (_cellType) {case BLANK:   destCell.setBlank();                           return;case NUMERIC: destCell.setCellValue(_numberValue);           return;case BOOLEAN: destCell.setCellValue(_booleanValue);          return;case STRING:  destCell.setCellValue(_stringValue);           return;case ERROR:   destCell.setCellErrorValue((byte)_errorValue); return;default: throw new IllegalStateException("Unexpected data type (" + _cellType + ")");}}

[Assistant] public void CopyValue(ICell destCell){switch (_cellType){case CellType.Blank: destCell.SetCellType(CellType.Blank); return;case CellType.Numeric: destCell.SetCellValue(_numberValue); return;case CellType.Boolean: destCell.SetCellValue(_boolValue); return;case CellType.String: destCell.SetCellValue(_stringValue); return;case CellType.Error: destCell.SetCellErrorValue((byte)_errorValue); return;}throw new InvalidOperationException("Unexpected data type (" + _cellType + ")");}


public DescribeLaunchTemplateVersionsResult describeLaunchTemplateVersions(DescribeLaunchTemplateVersionsRequest request) {request = beforeClientExecution(request);return executeDescribeLaunchTemplateVersions(request);}

public virtual DescribeLaunchTemplateVersionsResponse DescribeLaunchTemplateVersions(DescribeLaunchTemplateVersionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeLaunchTemplateVersionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeLaunchTemplateVersionsResponseUnmarshaller.Instance;return Invoke<DescribeLaunchTemplateVersionsResponse>(request, options);}

[User] public DescribeLaunchTemplateVersionsResult describeLaunchTemplateVersions(DescribeLaunchTemplateVersionsRequest request) {request = beforeClientExecution(request);return executeDescribeLaunchTemplateVersions(request);}

[Assistant] public virtual DescribeLaunchTemplateVersionsResponse DescribeLaunchTemplateVersions(DescribeLaunchTemplateVersionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeLaunchTemplateVersionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeLaunchTemplateVersionsResponseUnmarshaller.Instance;return Invoke<DescribeLaunchTemplateVersionsResponse>(request, options);}


public static DVConstraint createCustomFormulaConstraint(String formula) {if (formula == null) {throw new IllegalArgumentException("formula must be supplied");}return new DVConstraint(ValidationType.FORMULA, OperatorType.IGNORED, formula, null, null, null, null);}

public static DVConstraint CreateCustomFormulaConstraint(String formula){if (formula == null){throw new ArgumentException("formula must be supplied");}return new DVConstraint(ValidationType.FORMULA, OperatorType.IGNORED, formula, null, double.NaN, double.NaN, null);}

[User] public static DVConstraint createCustomFormulaConstraint(String formula) {if (formula == null) {throw new IllegalArgumentException("formula must be supplied");}return new DVConstraint(ValidationType.FORMULA, OperatorType.IGNORED, formula, null, null, null, null);}

[Assistant] public static DVConstraint CreateCustomFormulaConstraint(String formula){if (formula == null){throw new ArgumentException("formula must be supplied");}return new DVConstraint(ValidationType.FORMULA, OperatorType.IGNORED, formula, null, double.NaN, double.NaN, null);}


public DeleteProjectVersionResult deleteProjectVersion(DeleteProjectVersionRequest request) {request = beforeClientExecution(request);return executeDeleteProjectVersion(request);}

public virtual DeleteProjectVersionResponse DeleteProjectVersion(DeleteProjectVersionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteProjectVersionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteProjectVersionResponseUnmarshaller.Instance;return Invoke<DeleteProjectVersionResponse>(request, options);}

[User] public DeleteProjectVersionResult deleteProjectVersion(DeleteProjectVersionRequest request) {request = beforeClientExecution(request);return executeDeleteProjectVersion(request);}

[Assistant] public virtual DeleteProjectVersionResponse DeleteProjectVersion(DeleteProjectVersionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteProjectVersionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteProjectVersionResponseUnmarshaller.Instance;return Invoke<DeleteProjectVersionResponse>(request, options);}


public String toStringUnquoted() {return getTermText();}

public override string ToStringUnquoted(){return TermText;}

[User] public String toStringUnquoted() {return getTermText();}

[Assistant] public override string ToStringUnquoted(){return TermText;}


public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[RECALCID]\n");buffer.append("    .reserved = ").append(HexDump.shortToHex(_reserved0)).append("\n");buffer.append("    .engineId = ").append(HexDump.intToHex(_engineId)).append("\n");buffer.append("[/RECALCID]\n");return buffer.toString();}

public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[RECALCID]\n");buffer.Append("    .reserved = ").Append(HexDump.ShortToHex(_reserved0)).Append("\n");buffer.Append("    .engineId = ").Append(HexDump.IntToHex(_engineId)).Append("\n");buffer.Append("[/RECALCID]\n");return buffer.ToString();}

[User] public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[RECALCID]\n");buffer.append("    .reserved = ").append(HexDump.shortToHex(_reserved0)).append("\n");buffer.append("    .engineId = ").append(HexDump.intToHex(_engineId)).append("\n");buffer.append("[/RECALCID]\n");return buffer.toString();}

[Assistant] public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[RECALCID]\n");buffer.Append("    .reserved = ").Append(HexDump.ShortToHex(_reserved0)).Append("\n");buffer.Append("    .engineId = ").Append(HexDump.IntToHex(_engineId)).Append("\n");buffer.Append("[/RECALCID]\n");return buffer.ToString();}


public String toString() {return "RandomAccessInput(" + IndexInput.this.toString() + ")";}

public override string ToString(){return resourceDescription;}

[User] public String toString() {return "RandomAccessInput(" + IndexInput.this.toString() + ")";}

[Assistant] public override string ToString(){return resourceDescription;}


public static int countArg(ValueEval eval, I_MatchPredicate criteriaPredicate) {if (eval == null) {throw new IllegalArgumentException("eval must not be null");}if (eval instanceof ThreeDEval) {return countMatchingCellsInArea((ThreeDEval) eval, criteriaPredicate);}if (eval instanceof TwoDEval) {throw new IllegalArgumentException("Count requires 3D Evals, 2D ones aren't supported");}if (eval instanceof RefEval) {return CountUtils.countMatchingCellsInRef((RefEval) eval, criteriaPredicate);}return criteriaPredicate.matches(eval) ? 1 : 0;}

public static int CountArg(ValueEval eval, IMatchPredicate criteriaPredicate){if (eval == null){throw new ArgumentException("eval must not be null");}if (eval is ThreeDEval){return CountUtils.CountMatchingCellsInArea((ThreeDEval)eval, criteriaPredicate);}if (eval is TwoDEval){throw new ArgumentException("Count requires 3D Evals, 2D ones aren't supported");}if (eval is RefEval){return CountUtils.CountMatchingCellsInRef((RefEval)eval, criteriaPredicate);}return criteriaPredicate.Matches(eval) ? 1 : 0;}

[User] public static int countArg(ValueEval eval, I_MatchPredicate criteriaPredicate) {if (eval == null) {throw new IllegalArgumentException("eval must not be null");}if (eval instanceof ThreeDEval) {return countMatchingCellsInArea((ThreeDEval) eval, criteriaPredicate);}if (eval instanceof TwoDEval) {throw new IllegalArgumentException("Count requires 3D Evals, 2D ones aren't supported");}if (eval instanceof RefEval) {return CountUtils.countMatchingCellsInRef((RefEval) eval, criteriaPredicate);}return criteriaPredicate.matches(eval) ? 1 : 0;}

[Assistant] public static int CountArg(ValueEval eval, IMatchPredicate criteriaPredicate){if (eval == null){throw new ArgumentException("eval must not be null");}if (eval is ThreeDEval){return CountUtils.CountMatchingCellsInArea((ThreeDEval)eval, criteriaPredicate);}if (eval is TwoDEval){throw new ArgumentException("Count requires 3D Evals, 2D ones aren't supported");}if (eval is RefEval){return CountUtils.CountMatchingCellsInRef((RefEval)eval, criteriaPredicate);}return criteriaPredicate.Matches(eval) ? 1 : 0;}


public void parse(byte[] buf, int ptr, int end) {while (ptr < end)ptr = parseFile(buf, ptr, end);}

public virtual void Parse(byte[] buf, int ptr, int end){while (ptr < end){ptr = ParseFile(buf, ptr, end);}}

[User] public void parse(byte[] buf, int ptr, int end) {while (ptr < end)ptr = parseFile(buf, ptr, end);}

[Assistant] public virtual void Parse(byte[] buf, int ptr, int end){while (ptr < end){ptr = ParseFile(buf, ptr, end);}}


public ListQueuesResult listQueues(String queueNamePrefix) {return listQueues(new ListQueuesRequest().withQueueNamePrefix(queueNamePrefix));}

public virtual ListQueuesResponse ListQueues(string queueNamePrefix){var request = new ListQueuesRequest();request.QueueNamePrefix = queueNamePrefix;return ListQueues(request);}

[User] public ListQueuesResult listQueues(String queueNamePrefix) {return listQueues(new ListQueuesRequest().withQueueNamePrefix(queueNamePrefix));}

[Assistant] public virtual ListQueuesResponse ListQueues(string queueNamePrefix){var request = new ListQueuesRequest();request.QueueNamePrefix = queueNamePrefix;return ListQueues(request);}


public DescribeVolumeAttributeResult describeVolumeAttribute(DescribeVolumeAttributeRequest request) {request = beforeClientExecution(request);return executeDescribeVolumeAttribute(request);}

public virtual DescribeVolumeAttributeResponse DescribeVolumeAttribute(DescribeVolumeAttributeRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeVolumeAttributeRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeVolumeAttributeResponseUnmarshaller.Instance;return Invoke<DescribeVolumeAttributeResponse>(request, options);}

[User] public DescribeVolumeAttributeResult describeVolumeAttribute(DescribeVolumeAttributeRequest request) {request = beforeClientExecution(request);return executeDescribeVolumeAttribute(request);}

[Assistant] public virtual DescribeVolumeAttributeResponse DescribeVolumeAttribute(DescribeVolumeAttributeRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeVolumeAttributeRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeVolumeAttributeResponseUnmarshaller.Instance;return Invoke<DescribeVolumeAttributeResponse>(request, options);}


public Trie optimize(Trie orig) {List<CharSequence> cmds = orig.cmds;List<Row> rows = new ArrayList<>();List<Row> orows = orig.rows;int remap[] = new int[orows.size()];for (int j = orows.size() - 1; j >= 0; j--) {liftUp(orows.get(j), orows);}Arrays.fill(remap, -1);rows = removeGaps(orig.root, orows, new ArrayList<Row>(), remap);return new Trie(orig.forward, remap[orig.root], cmds, rows);}

public override Trie Optimize(Trie orig){IList<string> cmds = orig.cmds;IList<Row> rows = new List<Row>();IList<Row> orows = orig.rows;int[] remap = new int[orows.Count];for (int j = orows.Count - 1; j >= 0; j--){LiftUp(orows[j], orows);}Arrays.Fill(remap, -1);rows = RemoveGaps(orig.root, orows, new List<Row>(), remap);return new Trie(orig.forward, remap[orig.root], cmds, rows);}

[User] public Trie optimize(Trie orig) {List<CharSequence> cmds = orig.cmds;List<Row> rows = new ArrayList<>();List<Row> orows = orig.rows;int remap[] = new int[orows.size()];for (int j = orows.size() - 1; j >= 0; j--) {liftUp(orows.get(j), orows);}Arrays.fill(remap, -1);rows = removeGaps(orig.root, orows, new ArrayList<Row>(), remap);return new Trie(orig.forward, remap[orig.root], cmds, rows);}

[Assistant] public override Trie Optimize(Trie orig){IList<string> cmds = orig.cmds;IList<Row> rows = new List<Row>();IList<Row> orows = orig.rows;int[] remap = new int[orows.Count];for (int j = orows.Count - 1; j >= 0; j--){LiftUp(orows[j], orows);}Arrays.Fill(remap, -1);rows = RemoveGaps(orig.root, orows, new List<Row>(), remap);return new Trie(orig.forward, remap[orig.root], cmds, rows);}


public WorkingTreeOptions getOptions() {return state.options;}

public virtual WorkingTreeOptions GetOptions(){return state.options;}

[User] public WorkingTreeOptions getOptions() {return state.options;}

[Assistant] public virtual WorkingTreeOptions GetOptions(){return state.options;}


public SendInvitationResult sendInvitation(SendInvitationRequest request) {request = beforeClientExecution(request);return executeSendInvitation(request);}

public virtual SendInvitationResponse SendInvitation(SendInvitationRequest request){var options = new InvokeOptions();options.RequestMarshaller = SendInvitationRequestMarshaller.Instance;options.ResponseUnmarshaller = SendInvitationResponseUnmarshaller.Instance;return Invoke<SendInvitationResponse>(request, options);}

[User] public SendInvitationResult sendInvitation(SendInvitationRequest request) {request = beforeClientExecution(request);return executeSendInvitation(request);}

[Assistant] public virtual SendInvitationResponse SendInvitation(SendInvitationRequest request){var options = new InvokeOptions();options.RequestMarshaller = SendInvitationRequestMarshaller.Instance;options.ResponseUnmarshaller = SendInvitationResponseUnmarshaller.Instance;return Invoke<SendInvitationResponse>(request, options);}


public DeleteAlarmsResult deleteAlarms(DeleteAlarmsRequest request) {request = beforeClientExecution(request);return executeDeleteAlarms(request);}

public virtual DeleteAlarmsResponse DeleteAlarms(DeleteAlarmsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteAlarmsRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteAlarmsResponseUnmarshaller.Instance;return Invoke<DeleteAlarmsResponse>(request, options);}

[User] public DeleteAlarmsResult deleteAlarms(DeleteAlarmsRequest request) {request = beforeClientExecution(request);return executeDeleteAlarms(request);}

[Assistant] public virtual DeleteAlarmsResponse DeleteAlarms(DeleteAlarmsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteAlarmsRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteAlarmsResponseUnmarshaller.Instance;return Invoke<DeleteAlarmsResponse>(request, options);}


public static void main(String[] args) throws Exception {FSDirectory dir = null;String inputStr = null;String field = null;if (args.length == 3) {dir = FSDirectory.open(Paths.get(args[0]));field = args[1];inputStr = args[2];} else {usage();System.exit(1);}getTermInfo(dir,new Term(field, inputStr));}

public static void Main(string[] args){FSDirectory dir = null;string inputStr = null;string field = null;if (args.Length == 3){dir = FSDirectory.Open(new DirectoryInfo(args[0]));field = args[1];inputStr = args[2];}else{throw new ArgumentException();}TermInfo(dir, new Term(field, inputStr));}

[User] public static void main(String[] args) throws Exception {FSDirectory dir = null;String inputStr = null;String field = null;if (args.length == 3) {dir = FSDirectory.open(Paths.get(args[0]));field = args[1];inputStr = args[2];} else {usage();System.exit(1);}getTermInfo(dir,new Term(field, inputStr));}

[Assistant] public static void Main(string[] args){FSDirectory dir = null;string inputStr = null;string field = null;if (args.Length == 3){dir = FSDirectory.Open(new DirectoryInfo(args[0]));field = args[1];inputStr = args[2];}else{throw new ArgumentException();}TermInfo(dir, new Term(field, inputStr));}


public DBSnapshotAttributesResult modifyDBSnapshotAttribute(ModifyDBSnapshotAttributeRequest request) {request = beforeClientExecution(request);return executeModifyDBSnapshotAttribute(request);}

public virtual ModifyDBSnapshotAttributeResponse ModifyDBSnapshotAttribute(ModifyDBSnapshotAttributeRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyDBSnapshotAttributeRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyDBSnapshotAttributeResponseUnmarshaller.Instance;return Invoke<ModifyDBSnapshotAttributeResponse>(request, options);}

[User] public DBSnapshotAttributesResult modifyDBSnapshotAttribute(ModifyDBSnapshotAttributeRequest request) {request = beforeClientExecution(request);return executeModifyDBSnapshotAttribute(request);}

[Assistant] public virtual ModifyDBSnapshotAttributeResponse ModifyDBSnapshotAttribute(ModifyDBSnapshotAttributeRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyDBSnapshotAttributeRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyDBSnapshotAttributeResponseUnmarshaller.Instance;return Invoke<ModifyDBSnapshotAttributeResponse>(request, options);}


public static final String readUTF(DataInput in) throws IOException {return decodeUTF(in.readUnsignedShort(), in);}

public static string readUTF(java.io.DataInput @in){throw new System.NotImplementedException();}

[User] public static final String readUTF(DataInput in) throws IOException {return decodeUTF(in.readUnsignedShort(), in);}

[Assistant] public static string readUTF(java.io.DataInput @in){throw new System.NotImplementedException();}


public synchronized E remove(int index) {@SuppressWarnings("unchecked")E removed = (E) elements[index];removeRange(index, index + 1);return removed;}

public virtual E remove(int index){lock (this){E removed = (E)elements[index];removeRange(index, index + 1);return removed;}}

[User] public synchronized E remove(int index) {@SuppressWarnings("unchecked")E removed = (E) elements[index];removeRange(index, index + 1);return removed;}

[Assistant] public virtual E remove(int index){lock (this){E removed = (E)elements[index];removeRange(index, index + 1);return removed;}}


public byte[] getElement(int index) {int actualSize = getActualSizeOfElements(getSizeOfElements());byte[] result = IOUtils.safelyAllocate(actualSize, MAX_RECORD_LENGTH);System.arraycopy(getComplexData(), FIXED_SIZE + index * actualSize, result, 0, result.length );return result;}

public byte[] GetElement(int index){int actualSize = GetActualSizeOfElements(SizeOfElements);byte[] result = new byte[actualSize];Array.Copy(_complexData, FIXED_SIZE + index * actualSize, result, 0, result.Length);return result;}

[User] public byte[] getElement(int index) {int actualSize = getActualSizeOfElements(getSizeOfElements());byte[] result = IOUtils.safelyAllocate(actualSize, MAX_RECORD_LENGTH);System.arraycopy(getComplexData(), FIXED_SIZE + index * actualSize, result, 0, result.length );return result;}

[Assistant] public byte[] GetElement(int index){int actualSize = GetActualSizeOfElements(SizeOfElements);byte[] result = new byte[actualSize];Array.Copy(_complexData, FIXED_SIZE + index * actualSize, result, 0, result.Length);return result;}