java
stringlengths
28
1.4k
C#
stringlengths
27
1.38k
public CreateDetectorResult createDetector(CreateDetectorRequest request) {request = beforeClientExecution(request);return executeCreateDetector(request);}
public virtual CreateDetectorResponse CreateDetector(CreateDetectorRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDetectorRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDetectorResponseUnmarshaller.Instance;return Invoke<CreateDetectorResponse>(request, options);}
public boolean equals(Object other) {if (other instanceof IndexCommit) {IndexCommit otherCommit = (IndexCommit) other;return otherCommit.getDirectory() == getDirectory() && otherCommit.getGeneration() == getGeneration();} else {return false;}}
public override bool Equals(object other){if (other is IndexCommit){IndexCommit otherCommit = (IndexCommit)other;return otherCommit.Directory == Directory && otherCommit.Generation == Generation;}else{return false;}}
public void yypushback(int number) {if ( number > yylength() )zzScanError(ZZ_PUSHBACK_2BIG);zzMarkedPos -= number;}
public void YyPushBack(int number){if (number > YyLength)ZzScanError(ZZ_PUSHBACK_2BIG);zzMarkedPos -= number;}
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1) {return fixed(arg0, arg1, BoolEval.FALSE, srcRowIndex, srcColumnIndex);}
public ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1){return doFixed(arg0, arg1, BoolEval.FALSE, srcRowIndex, srcColumnIndex);}
public RevisionSyntaxException(String message, String revstr) {super(message);this.revstr = revstr;}
public RevisionSyntaxException(string message, string revstr) : base(message){this.revstr = revstr;}
public void reset() throws IOException {synchronized (lock) {super.reset();lineNumber = markedLineNumber;lastWasCR = markedLastWasCR;}}
public override void reset(){throw new System.NotImplementedException();}
public QueryParser(CharStream stream) {token_source = new QueryParserTokenManager(stream);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 QueryParser(ICharStream stream){TokenSource = new QueryParserTokenManager(stream);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 Float floatValue(String key) {String value = responseMap.get(key);if (null == value || 0 == value.length()) {return null;}return Float.valueOf(responseMap.get(key));}
public float? FloatValue(string key){if (null != DictionaryUtil.Get(ResponseDictionary, key)){return float.Parse(DictionaryUtil.Get(ResponseDictionary, key));}return null;}
public ModifyClusterResult modifyCluster(ModifyClusterRequest request) {request = beforeClientExecution(request);return executeModifyCluster(request);}
public virtual ModifyClusterResponse ModifyCluster(ModifyClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyClusterResponseUnmarshaller.Instance;return Invoke<ModifyClusterResponse>(request, options);}
public DescribeSolutionResult describeSolution(DescribeSolutionRequest request) {request = beforeClientExecution(request);return executeDescribeSolution(request);}
public virtual DescribeSolutionResponse DescribeSolution(DescribeSolutionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeSolutionRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeSolutionResponseUnmarshaller.Instance;return Invoke<DescribeSolutionResponse>(request, options);}
public BootstrapActionConfig build() {return new BootstrapActionConfig().withName("Configure Hadoop").withScriptBootstrapAction(new ScriptBootstrapActionConfig().withPath("s3:").withArgs(args));}
public BootstrapActionConfig Build(){return new BootstrapActionConfig{Name = "Configure Hadoop",ScriptBootstrapAction = new ScriptBootstrapActionConfig{Path = string.Format(CultureInfo.InvariantCulture, "s3:"), Args = args}};}
public void append(String name, RevCommit commit) {append(name, GITLINK, commit);}
public virtual void Append(string name, RevCommit commit){Append(name, FileMode.GITLINK, commit);}
public int read() {if (ptr == data.length)return -1;return data[ptr++] & 0xff;}
public override int Read(){if (ptr == data.Length){return -1;}return data[ptr++] & unchecked((int)(0xff));}
public void setOutputUnigramsIfNoShingles(boolean outputUnigramsIfNoShingles) {this.outputUnigramsIfNoShingles = outputUnigramsIfNoShingles;}
public void SetOutputUnigramsIfNoShingles(bool outputUnigramsIfNoShingles){this.outputUnigramsIfNoShingles = outputUnigramsIfNoShingles;}
public RevFilter clone() {return this; }
public override RevFilter Clone(){return this;}
public void updateFormulasAfterRowShift(FormulaShifter shifter, int currentExternSheetIndex) {for (int i = 0; i < records.length; i++) {CellValueRecordInterface[] rowCells = records[i];if (rowCells == null) {continue;}for (int j = 0; j < rowCells.length; j++) {CellValueRecordInterface cell = rowCells[j];if (cell instanceof FormulaRecordAggregate) {FormulaRecordAggregate fra = (FormulaRecordAggregate)cell;Ptg[] ptgs = fra.getFormulaTokens(); Ptg[] ptgs2 = ((FormulaRecordAggregate)cell).getFormulaRecord().getParsedExpression(); if (shifter.adjustFormula(ptgs, currentExternSheetIndex)) {fra.setParsedExpression(ptgs);}}}}}
public void UpdateFormulasAfterRowShift(FormulaShifter shifter, int currentExternSheetIndex){for (int i = 0; i < records.Length; i++){CellValueRecordInterface[] rowCells = records[i];if (rowCells == null){continue;}for (int j = 0; j < rowCells.Length; j++){CellValueRecordInterface cell = rowCells[j];if (cell is FormulaRecordAggregate){FormulaRecordAggregate fra = (FormulaRecordAggregate)cell;Ptg[] ptgs = fra.FormulaTokens; Ptg[] ptgs2 = ((FormulaRecordAggregate)cell).FormulaRecord.ParsedExpression; if (shifter.AdjustFormula(ptgs, currentExternSheetIndex)){fra.SetParsedExpression(ptgs);}}}}}
public UpdateGroupRequest(String groupName) {setGroupName(groupName);}
public UpdateGroupRequest(string groupName){_groupName = groupName;}
public ListBrokersResult listBrokers(ListBrokersRequest request) {request = beforeClientExecution(request);return executeListBrokers(request);}
public virtual ListBrokersResponse ListBrokers(ListBrokersRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListBrokersRequestMarshaller.Instance;options.ResponseUnmarshaller = ListBrokersResponseUnmarshaller.Instance;return Invoke<ListBrokersResponse>(request, options);}
public final FormulaCellCacheEntry[] getConsumingCells() {return _consumingCells.toArray();}
public FormulaCellCacheEntry[] GetConsumingCells(){return _consumingCells.ToArray();}
public int cardinality() {return cardinality;}
public int Cardinality(){return cardinality;}
public static final WeightedTerm[] getTerms(Query query, boolean prohibited){return getTerms(query,prohibited,null);}
public static WeightedTerm[] GetTerms(Query query, bool prohibited){return GetTerms(query, prohibited, null);}
public void serialize(LittleEndianOutput out) {out.writeShort(getColWidth());}
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(ColWidth);}
public FieldsConsumer fieldsConsumer(SegmentWriteState state) throws IOException {PostingsWriterBase postingsWriter = new Lucene84PostingsWriter(state);boolean success = false;try {FieldsConsumer ret = new FSTTermsWriter(state, postingsWriter);success = true;return ret;} finally {if (!success) {IOUtils.closeWhileHandlingException(postingsWriter);}}}
public override FieldsConsumer FieldsConsumer(SegmentWriteState state){PostingsWriterBase postingsWriter = new Lucene41PostingsWriter(state);bool success = false;try{FieldsConsumer ret = new FSTTermsWriter(state, postingsWriter);success = true;return ret;}finally{if (!success){IOUtils.DisposeWhileHandlingException(postingsWriter);}}}
public int getThumbOffset() {return mThumbOffset;}
public virtual int getThumbOffset(){return mThumbOffset;}
public GetApnsChannelResult getApnsChannel(GetApnsChannelRequest request) {request = beforeClientExecution(request);return executeGetApnsChannel(request);}
public virtual GetApnsChannelResponse GetApnsChannel(GetApnsChannelRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetApnsChannelRequestMarshaller.Instance;options.ResponseUnmarshaller = GetApnsChannelResponseUnmarshaller.Instance;return Invoke<GetApnsChannelResponse>(request, options);}
public boolean equals(Object obj) {if (this == obj) return true;if (null == obj || getClass() != obj.getClass()) return false;NGramDistance o = (NGramDistance)obj;return o.n == this.n;}
public override bool Equals(object obj){if (this == obj){return true;}if (null == obj || this.GetType() != obj.GetType()){return false;}var o = (NGramDistance)obj;return o.n == this.n;}
public GetDomainDetailResult getDomainDetail(GetDomainDetailRequest request) {request = beforeClientExecution(request);return executeGetDomainDetail(request);}
public virtual GetDomainDetailResponse GetDomainDetail(GetDomainDetailRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDomainDetailRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDomainDetailResponseUnmarshaller.Instance;return Invoke<GetDomainDetailResponse>(request, options);}
public UpdateConfigurationSetReputationMetricsEnabledResult updateConfigurationSetReputationMetricsEnabled(UpdateConfigurationSetReputationMetricsEnabledRequest request) {request = beforeClientExecution(request);return executeUpdateConfigurationSetReputationMetricsEnabled(request);}
public virtual UpdateConfigurationSetReputationMetricsEnabledResponse UpdateConfigurationSetReputationMetricsEnabled(UpdateConfigurationSetReputationMetricsEnabledRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateConfigurationSetReputationMetricsEnabledRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateConfigurationSetReputationMetricsEnabledResponseUnmarshaller.Instance;return Invoke<UpdateConfigurationSetReputationMetricsEnabledResponse>(request, options);}
public PackedDataInput(DataInput in) {this.in = in;skipToNextByte();}
public PackedDataInput(DataInput @in){this.@in = @in;SkipToNextByte();}
public AssociateQualificationWithWorkerResult associateQualificationWithWorker(AssociateQualificationWithWorkerRequest request) {request = beforeClientExecution(request);return executeAssociateQualificationWithWorker(request);}
public virtual AssociateQualificationWithWorkerResponse AssociateQualificationWithWorker(AssociateQualificationWithWorkerRequest request){var options = new InvokeOptions();options.RequestMarshaller = AssociateQualificationWithWorkerRequestMarshaller.Instance;options.ResponseUnmarshaller = AssociateQualificationWithWorkerResponseUnmarshaller.Instance;return Invoke<AssociateQualificationWithWorkerResponse>(request, options);}
public String toString() {return "arc=" + fstArc + " state=" + fsaState;}
public override string ToString(){return "arc=" + fstArc + " state=" + fsaState;}
public void signalWorkflowExecution(SignalWorkflowExecutionRequest request) {request = beforeClientExecution(request);executeSignalWorkflowExecution(request);}
public virtual SignalWorkflowExecutionResponse SignalWorkflowExecution(SignalWorkflowExecutionRequest request){var options = new InvokeOptions();options.RequestMarshaller = SignalWorkflowExecutionRequestMarshaller.Instance;options.ResponseUnmarshaller = SignalWorkflowExecutionResponseUnmarshaller.Instance;return Invoke<SignalWorkflowExecutionResponse>(request, options);}
public String getTokenName(int t) {if (t == Token.EOF) {return "EOF";}Vocabulary vocabulary = parser != null ? parser.getVocabulary() : VocabularyImpl.EMPTY_VOCABULARY;String displayName = vocabulary.getDisplayName(t);if (displayName.equals(Integer.toString(t))) {return displayName;}return displayName + "<" + t + ">";}
public string GetTokenName(int t){if (t == TokenConstants.EOF){return "EOF";}IVocabulary vocabulary = parser != null ? parser.Vocabulary : Vocabulary.EmptyVocabulary;String displayName = vocabulary.GetDisplayName(t);if (displayName.Equals(t.ToString())){return displayName;}return displayName + "<" + t + ">";}
public CJKWidthFilterFactory(Map<String,String> args) {super(args);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
public CJKWidthFilterFactory(IDictionary<string, string> args) : base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
public GetHLSStreamingSessionURLResult getHLSStreamingSessionURL(GetHLSStreamingSessionURLRequest request) {request = beforeClientExecution(request);return executeGetHLSStreamingSessionURL(request);}
public virtual GetHLSStreamingSessionURLResponse GetHLSStreamingSessionURL(GetHLSStreamingSessionURLRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetHLSStreamingSessionURLRequestMarshaller.Instance;options.ResponseUnmarshaller = GetHLSStreamingSessionURLResponseUnmarshaller.Instance;return Invoke<GetHLSStreamingSessionURLResponse>(request, options);}
public boolean updateFormulasAfterCellShift(FormulaShifter shifter, int currentExternSheetIx) {CellRangeAddress[] cellRanges = header.getCellRanges();boolean changed = false;List<CellRangeAddress> temp = new ArrayList<>();for (CellRangeAddress craOld : cellRanges) {CellRangeAddress craNew = BaseRowColShifter.shiftRange(shifter, craOld, currentExternSheetIx);if (craNew == null) {changed = true;continue;}temp.add(craNew);if (craNew != craOld) {changed = true;}}if (changed) {int nRanges = temp.size();if (nRanges == 0) {return false;}CellRangeAddress[] newRanges = new CellRangeAddress[nRanges];temp.toArray(newRanges);header.setCellRanges(newRanges);}for (CFRuleBase rule : rules) {Ptg[] ptgs;ptgs = rule.getParsedExpression1();if (ptgs != null && shifter.adjustFormula(ptgs, currentExternSheetIx)) {rule.setParsedExpression1(ptgs);}ptgs = rule.getParsedExpression2();if (ptgs != null && shifter.adjustFormula(ptgs, currentExternSheetIx)) {rule.setParsedExpression2(ptgs);}if (rule instanceof CFRule12Record) {CFRule12Record rule12 = (CFRule12Record)rule;ptgs = rule12.getParsedExpressionScale();if (ptgs != null && shifter.adjustFormula(ptgs, currentExternSheetIx)) {rule12.setParsedExpressionScale(ptgs);}}}return true;}
public bool UpdateFormulasAfterCellShift(FormulaShifter shifter, int currentExternSheetIx){CellRangeAddress[] cellRanges = header.CellRanges;bool changed = false;List<CellRangeAddress> temp = new List<CellRangeAddress>();for (int i = 0; i < cellRanges.Length; i++){CellRangeAddress craOld = cellRanges[i];CellRangeAddress craNew = ShiftRange(shifter, craOld, currentExternSheetIx);if (craNew == null){changed = true;continue;}temp.Add(craNew);if (craNew != craOld){changed = true;}}if (changed){int nRanges = temp.Count;if (nRanges == 0){return false;}CellRangeAddress[] newRanges = new CellRangeAddress[nRanges];newRanges = temp.ToArray();header.CellRanges = (newRanges);}for (int i = 0; i < rules.Count; i++){CFRuleRecord rule = rules[i];Ptg[] ptgs;ptgs = rule.ParsedExpression1;if (ptgs != null && shifter.AdjustFormula(ptgs, currentExternSheetIx)){rule.ParsedExpression1 = (ptgs);}ptgs = rule.ParsedExpression2;if (ptgs != null && shifter.AdjustFormula(ptgs, currentExternSheetIx)){rule.ParsedExpression2 = (ptgs);}}return true;}
public int keyAt(int index) {if (mGarbage) {gc();}return mKeys[index];}
public virtual int keyAt(int index){if (mGarbage){gc();}return mKeys[index];}
public JapaneseKatakanaStemFilterFactory(Map<String,String> args) {super(args);minimumLength = getInt(args, MINIMUM_LENGTH_PARAM, JapaneseKatakanaStemFilter.DEFAULT_MINIMUM_LENGTH);if (minimumLength < 2) {throw new IllegalArgumentException("Illegal " + MINIMUM_LENGTH_PARAM + " " + minimumLength + " (must be 2 or greater)");}if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
public JapaneseKatakanaStemFilterFactory(IDictionary<string, string> args): base(args){minimumLength = GetInt32(args, MINIMUM_LENGTH_PARAM, JapaneseKatakanaStemFilter.DEFAULT_MINIMUM_LENGTH);if (minimumLength < 2){throw new ArgumentException("Illegal " + MINIMUM_LENGTH_PARAM + " " + minimumLength + " (must be 2 or greater)");}if (args.Count > 0){throw new ArgumentException("Unknown parameters: " + args);}}
public static void byteArray(StringBuilder buffer, byte[] bytes) {for (int i = 0; i < bytes.length; i++) {buffer.append("b[").append(i).append("]=").append(bytes[i]);if (i < bytes.length - 1) {buffer.append(',');}}}
public static void ByteArray(StringBuilder buffer, byte[] bytes){for (int i = 0; i < bytes.Length; i++){buffer.Append("b[").Append(i).Append("]=").Append(bytes[i]);if (i < bytes.Length - 1){buffer.Append(',');}}}
public int available(){return _in.available();}
public int Available(){return _in.Available();}
public DeleteDatasetGroupResult deleteDatasetGroup(DeleteDatasetGroupRequest request) {request = beforeClientExecution(request);return executeDeleteDatasetGroup(request);}
public virtual DeleteDatasetGroupResponse DeleteDatasetGroup(DeleteDatasetGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteDatasetGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteDatasetGroupResponseUnmarshaller.Instance;return Invoke<DeleteDatasetGroupResponse>(request, options);}
public DescribeBuildResult describeBuild(DescribeBuildRequest request) {request = beforeClientExecution(request);return executeDescribeBuild(request);}
public virtual DescribeBuildResponse DescribeBuild(DescribeBuildRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeBuildRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeBuildResponseUnmarshaller.Instance;return Invoke<DescribeBuildResponse>(request, options);}
public E peekLast() {Link<E> last = voidLink.previous;return (last == voidLink) ? null : last.data;}
public virtual E peekLast(){java.util.LinkedList.Link<E> last = voidLink.previous;return (last == voidLink) ? default(E) : last.data;}
public long get(long index) {assert index >= 0 && index < valueCount;final int block = (int) (index >>> blockShift);final int idx = (int) (index & blockMask);return expected(minValues[block], averages[block], idx) + subReaders[block].get(idx);}
public override long Get(long index){Debug.Assert(index >= 0 && index < valueCount);int block = (int)((long)((ulong)index >> blockShift));int idx = (int)(index & blockMask);return minValues[block] + (long)(float)(idx * averages[block]) + BlockPackedReaderIterator.ZigZagDecode(subReaders[block].Get(idx));}
public DescribeVpnGatewaysResult describeVpnGateways() {return describeVpnGateways(new DescribeVpnGatewaysRequest());}
public virtual DescribeVpnGatewaysResponse DescribeVpnGateways(){return DescribeVpnGateways(new DescribeVpnGatewaysRequest());}
public Iterator<E> iterator() {return backingMap.keySet().iterator();}
public override java.util.Iterator<E> iterator(){return backingMap.keySet().iterator();}
public void parseLine(DocData docData, String line) {int n = 0;int k1 = 0;int k2;while ((k2 = line.indexOf(WriteLineDocTask.SEP, k1)) >= 0) {if (n>=header.length) {throw new RuntimeException("input line has invalid format: "+(n+1)+" fields instead of "+header.length+" :: [" + line + "]");}setDocDataField(docData, n, line.substring(k1,k2));++n;k1 = k2 + 1;}if (n!=header.length-1) {throw new RuntimeException("input line has invalid format: "+(n+1)+" fields instead of "+header.length+" :: [" + line + "]");}setDocDataField(docData, n, line.substring(k1));}
public override void ParseLine(DocData docData, string line){int n = 0;int k1 = 0;int k2;while ((k2 = line.IndexOf(WriteLineDocTask.SEP, k1)) >= 0){if (n >= m_header.Length){throw new Exception("input line has invalid format: " + (n + 1) + " fields instead of " + m_header.Length + " :: [" + line + "]");}SetDocDataField(docData, n, line.Substring(k1, k2 - k1));++n;k1 = k2 + 1;}if (n != m_header.Length - 1){throw new Exception("input line has invalid format: " + (n + 1) + " fields instead of " + m_header.Length + " :: [" + line + "]");}SetDocDataField(docData, n, line.Substring(k1));}
public long getTotalLLLookaheadOps() {DecisionInfo[] decisions = atnSimulator.getDecisionInfo();long k = 0;for (int i = 0; i < decisions.length; i++) {k += decisions[i].LL_TotalLook;}return k;}
public long getTotalLLLookaheadOps(){DecisionInfo[] decisions = atnSimulator.getDecisionInfo();long k = 0;for (int i = 0; i < decisions.Length; i++){k += decisions[i].LL_TotalLook;}return k;}
public static boolean matches(String regularExpression, CharSequence input) {return new Matcher(new Pattern(regularExpression, 0), input).matches();}
public static bool matches(string regularExpression, java.lang.CharSequence input){return new java.util.regex.Matcher(new java.util.regex.Pattern(regularExpression,0), input).matches();}
public HSSFChildAnchor(int dx1, int dy1, int dx2, int dy2) {super(Math.min(dx1, dx2), Math.min(dy1, dy2), Math.max(dx1, dx2), Math.max(dy1, dy2));if (dx1 > dx2){_isHorizontallyFlipped = true;}if (dy1 > dy2){_isVerticallyFlipped = true;}}
public HSSFChildAnchor(int dx1, int dy1, int dx2, int dy2): base(Math.Min(dx1, dx2), Math.Min(dy1, dy2), Math.Max(dx1, dx2), Math.Max(dy1, dy2)){if (dx1 > dx2){_isHorizontallyFlipped = true;}if (dy1 > dy2){_isVerticallyFlipped = true;}}
public final CharBuffer put(String str) {return put(str, 0, str.length());}
public java.nio.CharBuffer put(string str){return put(str, 0, str.Length);}
public StartExportTaskResult startExportTask(StartExportTaskRequest request) {request = beforeClientExecution(request);return executeStartExportTask(request);}
public virtual StartExportTaskResponse StartExportTask(StartExportTaskRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartExportTaskRequestMarshaller.Instance;options.ResponseUnmarshaller = StartExportTaskResponseUnmarshaller.Instance;return Invoke<StartExportTaskResponse>(request, options);}
public UpdateUserHierarchyResult updateUserHierarchy(UpdateUserHierarchyRequest request) {request = beforeClientExecution(request);return executeUpdateUserHierarchy(request);}
public virtual UpdateUserHierarchyResponse UpdateUserHierarchy(UpdateUserHierarchyRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateUserHierarchyRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateUserHierarchyResponseUnmarshaller.Instance;return Invoke<UpdateUserHierarchyResponse>(request, options);}
public String toString() {StringBuilder sb = new StringBuilder();sb.append("[SERIESTEXT]\n");sb.append(" .id =").append(HexDump.shortToHex(getId())).append('\n');sb.append(" .textLen=").append(field_4_text.length()).append('\n');sb.append(" .is16bit=").append(is16bit).append('\n');sb.append(" .text =").append(" (").append(getText()).append(" )").append('\n');sb.append("[/SERIESTEXT]\n");return sb.toString();}
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[SERIESTEXT]\n");buffer.Append(" .id = ").Append("0x").Append(HexDump.ToHex(Id)).Append(" (").Append(Id).Append(" )");buffer.Append(Environment.NewLine);buffer.Append(" .textLength = ").Append(field_4_text.Length);buffer.Append(Environment.NewLine);buffer.Append(" .is16bit = ").Append(is16bit);buffer.Append(Environment.NewLine);buffer.Append(" .text = ").Append(" (").Append(Text).Append(" )");buffer.Append(Environment.NewLine);buffer.Append("[/SERIESTEXT]\n");return buffer.ToString();}
public int put(Object key, int value) {Object _key = key;int _value = value;int index = findIndex(_key, keys);if (keys[index] != _key) {if (++size > threshold) {rehash();index = findIndex(_key, keys);}keys[index] = _key;values[index] = -1;}int result = values[index];values[index] = _value;return result;}
public int put(object key, int value){object _key = key;int _value = value;int index = findIndex(_key, keys);if (keys[index] != _key){if (++size > threshold){rehash();index = findIndex(_key, keys);}keys[index] = _key;values[index] = -1;}int result = values[index];values[index] = _value;return result;}
public TagCommand setMessage(String message) {checkCallable();this.message = message;return this;}
public virtual NGit.Api.TagCommand SetMessage(string message){CheckCallable();this.message = message;return this;}
public DeleteIndexFieldResult deleteIndexField(DeleteIndexFieldRequest request) {request = beforeClientExecution(request);return executeDeleteIndexField(request);}
public virtual DeleteIndexFieldResponse DeleteIndexField(DeleteIndexFieldRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteIndexFieldRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteIndexFieldResponseUnmarshaller.Instance;return Invoke<DeleteIndexFieldResponse>(request, options);}
public AbbreviatedObjectId getAbbreviatedObjectId() {return missing;}
public virtual AbbreviatedObjectId GetAbbreviatedObjectId(){return missing;}
public ParserRuleContext getInvokingContext(int ruleIndex) {ParserRuleContext p = _ctx;while ( p!=null ) {if ( p.getRuleIndex() == ruleIndex ) return p;p = (ParserRuleContext)p.parent;}return null;}
public virtual ParserRuleContext GetInvokingContext(int ruleIndex){ParserRuleContext p = _ctx;while (p != null){if (p.RuleIndex == ruleIndex){return p;}p = (ParserRuleContext)p.Parent;}return null;}
public boolean containsCell(int rowIndex, int columnIndex) {if (rowIndex > _lastDefinedRow) return true;for (int i=_rectangleGroups.size()-1; i>=0; i--) {BlankCellRectangleGroup bcrg = _rectangleGroups.get(i);if (bcrg.containsCell(rowIndex, columnIndex)) {return true;}}if(_currentRectangleGroup != null && _currentRectangleGroup.containsCell(rowIndex, columnIndex)) {return true;}if (_currentRowIndex != -1 && _currentRowIndex == rowIndex) {if (_firstColumnIndex <= columnIndex && columnIndex <= _lastColumnIndex) {return true;}}return false;}
public bool ContainsCell(int rowIndex, int columnIndex){for (int i = _rectangleGroups.Count - 1; i >= 0; i--){BlankCellRectangleGroup bcrg = (BlankCellRectangleGroup)_rectangleGroups[i];if (bcrg.ContainsCell(rowIndex, columnIndex)){return true;}}if (_currentRectangleGroup != null && _currentRectangleGroup.ContainsCell(rowIndex, columnIndex)){return true;}if (_currentRowIndex != -1 && _currentRowIndex == rowIndex){if (_firstColumnIndex <= columnIndex && columnIndex <= _lastColumnIndex){return true;}}return false;}
public DisassociateS3ResourcesResult disassociateS3Resources(DisassociateS3ResourcesRequest request) {request = beforeClientExecution(request);return executeDisassociateS3Resources(request);}
public virtual DisassociateS3ResourcesResponse DisassociateS3Resources(DisassociateS3ResourcesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisassociateS3ResourcesRequestMarshaller.Instance;options.ResponseUnmarshaller = DisassociateS3ResourcesResponseUnmarshaller.Instance;return Invoke<DisassociateS3ResourcesResponse>(request, options);}
public FontRecord createNewFont() {FontRecord rec = createFont();records.add(records.getFontpos()+1, rec);records.setFontpos( records.getFontpos() + 1 );numfonts++;return rec;}
public FontRecord CreateNewFont(){FontRecord rec = (FontRecord)CreateFont();records.Add(records.Fontpos + 1, rec);records.Fontpos=(records.Fontpos + 1);numfonts++;return rec;}
public boolean equals( Object o ) {return o instanceof SpanishStemmer;}
public override bool Equals(object o){return o is SpanishStemmer;}
public final boolean matches(char c) {return Character.isLowerCase(c);}
public bool Matches(char c){return System.Char.IsLower(c);}
public ByteOrder order() {return byteBuffer.order();}
public override java.nio.ByteOrder order(){return byteBuffer.order();}
public DeleteVolumeRequest(String volumeId) {setVolumeId(volumeId);}
public DeleteVolumeRequest(string volumeId){_volumeId = volumeId;}
public LinkedDataRecord getDataSecondaryCategoryLabels() {return dataSecondaryCategoryLabels;}
public BRAIRecord GetDataSecondaryCategoryLabels(){return dataSecondaryCategoryLabels;}
public int depth() {int n = 0;RuleContext p = this;while ( p!=null ) {p = p.parent;n++;}return n;}
public virtual int Depth(){int n = 0;Antlr4.Runtime.RuleContext p = this;while (p != null){p = p._parent;n++;}return n;}
public PersonIdent getTagger() {return tagger;}
public virtual PersonIdent GetTagger(){return tagger;}
public ObjectId insert(int objectType, long length, InputStream in)throws IOException {throw new UnsupportedOperationException();}
public override ObjectId Insert(int objectType, long length, InputStream @in){throw new NotSupportedException();}
public Automaton convert(Automaton utf32) {if (utf32.getNumStates() == 0) {return utf32;}int[] map = new int[utf32.getNumStates()];Arrays.fill(map, -1);List<Integer> pending = new ArrayList<>();int utf32State = 0;pending.add(utf32State);utf8 = new Automaton.Builder();int utf8State = utf8.createState();utf8.setAccept(utf8State, utf32.isAccept(utf32State));map[utf32State] = utf8State;Transition scratch = new Transition();while (pending.size() != 0) {utf32State = pending.remove(pending.size()-1);utf8State = map[utf32State];assert utf8State != -1;int numTransitions = utf32.getNumTransitions(utf32State);utf32.initTransition(utf32State, scratch);for(int i=0;i<numTransitions;i++) {utf32.getNextTransition(scratch);int destUTF32 = scratch.dest;int destUTF8 = map[destUTF32];if (destUTF8 == -1) {destUTF8 = utf8.createState();utf8.setAccept(destUTF8, utf32.isAccept(destUTF32));map[destUTF32] = destUTF8;pending.add(destUTF32);}convertOneEdge(utf8State, destUTF8, scratch.min, scratch.max);}}return utf8.finish();}
public Automaton Convert(Automaton utf32){if (utf32.IsSingleton){utf32 = utf32.CloneExpanded();}State[] map = new State[utf32.GetNumberedStates().Length];List<State> pending = new List<State>();State utf32State = utf32.GetInitialState();pending.Add(utf32State);Automaton utf8 = new Automaton();utf8.IsDeterministic = false;State utf8State = utf8.GetInitialState();utf8States = new State[5];utf8StateCount = 0;utf8State.number = utf8StateCount;utf8States[utf8StateCount] = utf8State;utf8StateCount++;utf8State.Accept = utf32State.Accept;map[utf32State.number] = utf8State;while (pending.Count != 0){utf32State = pending[pending.Count - 1];pending.RemoveAt(pending.Count - 1);utf8State = map[utf32State.number];for (int i = 0; i < utf32State.numTransitions; i++){Transition t = utf32State.TransitionsArray[i];State destUTF32 = t.to;State destUTF8 = map[destUTF32.number];if (destUTF8 == null){destUTF8 = NewUTF8State();destUTF8.accept = destUTF32.accept;map[destUTF32.number] = destUTF8;pending.Add(destUTF32);}ConvertOneEdge(utf8State, destUTF8, t.min, t.max);}}utf8.SetNumberedStates(utf8States, utf8StateCount);return utf8;}
public static String[] listServices() throws RemoteException {return null;}
public static string[] listServices(){throw new System.NotImplementedException();}
public void startWorkers(int count) {workers.addAndGet(count);}
public virtual void StartWorkers(int count){workers.AddAndGet(count);}
public FacetEntry(BytesRef value, int count) {this.value = value;this.count = count;}
public FacetEntry(BytesRef value, int count){this.value = value;this.count = count;}
public String toString() {String inv = invert ? "!" : "";return getClass().getSimpleName()+"["+inv+nodeName+"]";}
public override string ToString(){string inv = invert ? "!" : string.Empty;return GetType().Name + "[" + inv + nodeName + "]";}
public RemoveNoteCommand setNotesRef(String notesRef) {checkCallable();this.notesRef = notesRef;return this;}
public virtual NGit.Api.RemoveNoteCommand SetNotesRef(string notesRef){CheckCallable();this.notesRef = notesRef;return this;}
final public SrndQuery FieldsQuery() throws ParseException {SrndQuery q;ArrayList<String> fieldNames;fieldNames = OptionalFields();q = OrQuery();{if (true) return (fieldNames == null) ? q : getFieldsQuery(q, fieldNames);}throw new Error("Missing return statement in function");}
public SrndQuery FieldsQuery(){SrndQuery q;IList<string> fieldNames;fieldNames = OptionalFields();q = OrQuery();{ if (true) return (fieldNames == null) ? q : GetFieldsQuery(q, fieldNames); }throw new Exception("Missing return statement in function");}
public DescribeParametersResult describeParameters(DescribeParametersRequest request) {request = beforeClientExecution(request);return executeDescribeParameters(request);}
public virtual DescribeParametersResponse DescribeParameters(DescribeParametersRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeParametersRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeParametersResponseUnmarshaller.Instance;return Invoke<DescribeParametersResponse>(request, options);}
public ParseException(Token currentTokenVal,int[][] expectedTokenSequencesVal, String[] tokenImageVal) {super(new MessageImpl(QueryParserMessages.INVALID_SYNTAX, initialise(currentTokenVal, expectedTokenSequencesVal, tokenImageVal)));this.currentToken = currentTokenVal;this.expectedTokenSequences = expectedTokenSequencesVal;this.tokenImage = tokenImageVal;}
public ParseException(Token currentTokenVal,int[][] expectedTokenSequencesVal, string[] tokenImageVal): base(new Message(QueryParserMessages.INVALID_SYNTAX, Initialize(currentTokenVal, expectedTokenSequencesVal, tokenImageVal))){this.CurrentToken = currentTokenVal;this.ExpectedTokenSequences = expectedTokenSequencesVal;this.TokenImage = tokenImageVal;}
public ListHumanTaskUisResult listHumanTaskUis(ListHumanTaskUisRequest request) {request = beforeClientExecution(request);return executeListHumanTaskUis(request);}
public virtual ListHumanTaskUisResponse ListHumanTaskUis(ListHumanTaskUisRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListHumanTaskUisRequestMarshaller.Instance;options.ResponseUnmarshaller = ListHumanTaskUisResponseUnmarshaller.Instance;return Invoke<ListHumanTaskUisResponse>(request, options);}
public static ShortBuffer wrap(short[] array) {return wrap(array, 0, array.length);}
public static java.nio.ShortBuffer wrap(short[] array_1){return wrap(array_1, 0, array_1.Length);}
public Parser(boolean dedup, Analyzer analyzer) {super(dedup);this.analyzer = analyzer;}
public Parser(bool dedup, Analyzer analyzer): base(dedup){this.analyzer = analyzer;}
public ObjectProtectRecord(RecordInputStream in) {field_1_protect = in.readShort();}
public ObjectProtectRecord(RecordInputStream in1){field_1_protect = in1.ReadShort();}
public void write(LittleEndianOutput out) {out.writeByte(sid + getPtgClass());out.writeInt(_reserved0Int);out.writeShort(_reserved1Short);out.writeByte(_reserved2Byte);}
public override void Write(ILittleEndianOutput out1){out1.WriteByte(sid + PtgClass);out1.WriteInt(_reserved0Int);out1.WriteShort(_reserved1Short);out1.WriteByte(_reserved2Byte);}
public int size() {if (mGarbage) {gc();}return mSize;}
public virtual int size(){if (mGarbage){gc();}return mSize;}
public BigDecimal getFractionalPart() {return new BigDecimal(_fractionalPart).divide(BD_2_POW_24);}
public decimal GetFractionalPart(){return new decimal(_fractionalPart)/(BD_2_POW_24);}
public AttachLoadBalancerTlsCertificateResult attachLoadBalancerTlsCertificate(AttachLoadBalancerTlsCertificateRequest request) {request = beforeClientExecution(request);return executeAttachLoadBalancerTlsCertificate(request);}
public virtual AttachLoadBalancerTlsCertificateResponse AttachLoadBalancerTlsCertificate(AttachLoadBalancerTlsCertificateRequest request){var options = new InvokeOptions();options.RequestMarshaller = AttachLoadBalancerTlsCertificateRequestMarshaller.Instance;options.ResponseUnmarshaller = AttachLoadBalancerTlsCertificateResponseUnmarshaller.Instance;return Invoke<AttachLoadBalancerTlsCertificateResponse>(request, options);}
public final int step(int state, int c) {assert c < alphabetSize;if (c >= classmap.length) {return transitions[state * points.length + getCharClass(c)];} else {return transitions[state * points.length + classmap[c]];}}
public int Step(int state, int c){if (_classmap == null){return m_transitions[state * _points.Length + GetCharClass(c)];}else{return m_transitions[state * _points.Length + _classmap[c]];}}
public UpdateVoiceChannelResult updateVoiceChannel(UpdateVoiceChannelRequest request) {request = beforeClientExecution(request);return executeUpdateVoiceChannel(request);}
public virtual UpdateVoiceChannelResponse UpdateVoiceChannel(UpdateVoiceChannelRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateVoiceChannelRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateVoiceChannelResponseUnmarshaller.Instance;return Invoke<UpdateVoiceChannelResponse>(request, options);}
public void onPreReceive(ReceivePack rp,Collection<ReceiveCommand> commands) {for (int i = 0; i < count; i++)hooks[i].onPreReceive(rp, commands);}
public override void OnPreReceive(ReceivePack rp, ICollection<ReceiveCommand> commands){for (int i = 0; i < count; i++){hooks[i].OnPreReceive(rp, commands);}}
public ValueEval evaluate(ValueEval[] args, OperationEvaluationContext ec) {if (args.length != 1) {return ErrorEval.VALUE_INVALID;}return evaluate(ec.getRowIndex(), ec.getColumnIndex(), args[0]);}
public ValueEval Evaluate(ValueEval[] args, OperationEvaluationContext ec){if (args.Length != 1){return ErrorEval.VALUE_INVALID;}return Evaluate(ec.RowIndex, ec.ColumnIndex, args[0]);}
public DescribeSpotDatafeedSubscriptionResult describeSpotDatafeedSubscription() {return describeSpotDatafeedSubscription(new DescribeSpotDatafeedSubscriptionRequest());}
public virtual DescribeSpotDatafeedSubscriptionResponse DescribeSpotDatafeedSubscription(){return DescribeSpotDatafeedSubscription(new DescribeSpotDatafeedSubscriptionRequest());}
public int getTimeZoneOffset() {return tzOffset;}
public virtual int GetTimeZoneOffset(){return tzOffset;}
public void close() {allocationSite = null;}
public void close(){allocationSite = null;}
public AssociateClientVpnTargetNetworkResult associateClientVpnTargetNetwork(AssociateClientVpnTargetNetworkRequest request) {request = beforeClientExecution(request);return executeAssociateClientVpnTargetNetwork(request);}
public virtual AssociateClientVpnTargetNetworkResponse AssociateClientVpnTargetNetwork(AssociateClientVpnTargetNetworkRequest request){var options = new InvokeOptions();options.RequestMarshaller = AssociateClientVpnTargetNetworkRequestMarshaller.Instance;options.ResponseUnmarshaller = AssociateClientVpnTargetNetworkResponseUnmarshaller.Instance;return Invoke<AssociateClientVpnTargetNetworkResponse>(request, options);}
public ListEnvironmentsResult listEnvironments(ListEnvironmentsRequest request) {request = beforeClientExecution(request);return executeListEnvironments(request);}
public virtual ListEnvironmentsResponse ListEnvironments(ListEnvironmentsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListEnvironmentsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListEnvironmentsResponseUnmarshaller.Instance;return Invoke<ListEnvironmentsResponse>(request, options);}
public String toFormulaString() {if(semiVolatile.isSet(_options)) {return "ATTR(semiVolatile)";}if(optiIf.isSet(_options)) {return "IF";}if( optiChoose.isSet(_options)) {return "CHOOSE";}if(optiSkip.isSet(_options)) {return "";}if(optiSum.isSet(_options)) {return "SUM";}if(baxcel.isSet(_options)) {return "ATTR(baxcel)";}if(space.isSet(_options)) {return "";}return "UNKNOWN ATTRIBUTE";}
public override String ToFormulaString(){if (semiVolatile.IsSet(field_1_options)){return "ATTR(semiVolatile)";}if (optiIf.IsSet(field_1_options)){return "IF";}if (optiChoose.IsSet(field_1_options)){return "CHOOSE";}if (optiSkip.IsSet(field_1_options)){return "";}if (optiSum.IsSet(field_1_options)){return "SUM";}if (baxcel.IsSet(field_1_options)){return "ATTR(baxcel)";}if (space.IsSet(field_1_options)){return "";}return "UNKNOWN ATTRIBUTE";}
public int capacity() {return value.length;}
public virtual int capacity(){return value.Length;}
public synchronized void setMax(int max) {if (max < 0) {max = 0;}if (max != mMax) {mMax = max;postInvalidate();if (mProgress > max) {mProgress = max;}refreshProgress(R.id.progress, mProgress, false);}}
public virtual void setMax(int max){lock (this){if (max < 0){max = 0;}if (max != mMax){mMax = max;postInvalidate();if (mProgress > max){mProgress = max;}refreshProgress([email protected], mProgress, false);}}}
public GetVaultNotificationsRequest(String accountId, String vaultName) {setAccountId(accountId);setVaultName(vaultName);}
public GetVaultNotificationsRequest(string accountId, string vaultName){_accountId = accountId;_vaultName = vaultName;}