id
int32 0
10.3k
| java
stringlengths 29
1.4k
| cs
stringlengths 28
1.38k
|
---|---|---|
9,900 | public boolean get(int index) {return intSet.exists(index);}
| public virtual bool Get(int index){return intSet.Exists(index);}
|
9,901 | public String constantName() {return constantName;}
| public virtual string constantName(){return _constantName;}
|
9,902 | public void serialize(LittleEndianOutput out) {out.writeShort(field_1_formatIndex);}
| public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(field_1_formatIndex);}
|
9,903 | public boolean isEmpty() {return size() == 0;}
| public virtual bool isEmpty(){return size() == 0;}
|
9,904 | public DescribeCacheParametersResult describeCacheParameters(DescribeCacheParametersRequest request) {request = beforeClientExecution(request);return executeDescribeCacheParameters(request);}
| public virtual DescribeCacheParametersResponse DescribeCacheParameters(DescribeCacheParametersRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeCacheParametersRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeCacheParametersResponseUnmarshaller.Instance;return Invoke<DescribeCacheParametersResponse>(request, options);}
|
9,905 | public SimpleFraction(int numerator, int denominator){this.numerator = numerator;this.denominator = denominator;}
| public SimpleFraction(int numerator, int denominator){this.numerator = numerator;this.denominator = denominator;}
|
9,906 | public static int idealBooleanArraySize(int need) {return idealByteArraySize(need);}
| public static int idealBooleanArraySize(int need){return idealByteArraySize(need);}
|
9,907 | public SubmoduleStatusCommand submoduleStatus() {return new SubmoduleStatusCommand(repo);}
| public virtual SubmoduleStatusCommand SubmoduleStatus(){return new SubmoduleStatusCommand(repo);}
|
9,908 | public PutRecordBatchResult putRecordBatch(PutRecordBatchRequest request) {request = beforeClientExecution(request);return executePutRecordBatch(request);}
| public virtual PutRecordBatchResponse PutRecordBatch(PutRecordBatchRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutRecordBatchRequestMarshaller.Instance;options.ResponseUnmarshaller = PutRecordBatchResponseUnmarshaller.Instance;return Invoke<PutRecordBatchResponse>(request, options);}
|
9,909 | public QueryTermScorer(WeightedTerm[] weightedTerms) {termsToFind = new HashMap<>();for (int i = 0; i < weightedTerms.length; i++) {WeightedTerm existingTerm = termsToFind.get(weightedTerms[i].term);if ((existingTerm == null)|| (existingTerm.weight < weightedTerms[i].weight)) {termsToFind.put(weightedTerms[i].term, weightedTerms[i]);maxTermWeight = Math.max(maxTermWeight, weightedTerms[i].getWeight());}}}
| public QueryTermScorer(WeightedTerm[] weightedTerms){termsToFind = new Dictionary<string, WeightedTerm>();for (int i = 0; i < weightedTerms.Length; i++){if (!termsToFind.TryGetValue(weightedTerms[i].Term, out WeightedTerm existingTerm)|| (existingTerm == null)|| (existingTerm.Weight < weightedTerms[i].Weight)){termsToFind[weightedTerms[i].Term] = weightedTerms[i];maxTermWeight = Math.Max(maxTermWeight, weightedTerms[i].Weight);}}}
|
9,910 | public static boolean allSubsetsConflict(Collection<BitSet> altsets) {return !hasNonConflictingAltSet(altsets);}
| public static bool AllSubsetsConflict(IEnumerable<BitSet> altsets){return !HasNonConflictingAltSet(altsets);}
|
9,911 | public DescribeRuntimeConfigurationResult describeRuntimeConfiguration(DescribeRuntimeConfigurationRequest request) {request = beforeClientExecution(request);return executeDescribeRuntimeConfiguration(request);}
| public virtual DescribeRuntimeConfigurationResponse DescribeRuntimeConfiguration(DescribeRuntimeConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeRuntimeConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeRuntimeConfigurationResponseUnmarshaller.Instance;return Invoke<DescribeRuntimeConfigurationResponse>(request, options);}
|
9,912 | public RevCommit parseCommit(AnyObjectId id)throws MissingObjectException, IncorrectObjectTypeException,IOException {RevObject c = peel(parseAny(id));if (!(c instanceof RevCommit))throw new IncorrectObjectTypeException(id.toObjectId(),Constants.TYPE_COMMIT);return (RevCommit) c;}
| public virtual RevCommit ParseCommit(AnyObjectId id){RevObject c = Peel(ParseAny(id));if (!(c is RevCommit)){throw new IncorrectObjectTypeException(id.ToObjectId(), Constants.TYPE_COMMIT);}return (RevCommit)c;}
|
9,913 | public short readShort() {return (short)readUShort();}
| public short ReadShort(){return (short)ReadUShort();}
|
9,914 | public final void clear() {for (int i = 0; i <= size; i++) {heap[i] = null;}size = 0;}
| public void Clear(){for (int i = 0; i <= size; i++){heap[i] = default(T);}size = 0;}
|
9,915 | public CreateVPCAssociationAuthorizationResult createVPCAssociationAuthorization(CreateVPCAssociationAuthorizationRequest request) {request = beforeClientExecution(request);return executeCreateVPCAssociationAuthorization(request);}
| public virtual CreateVPCAssociationAuthorizationResponse CreateVPCAssociationAuthorization(CreateVPCAssociationAuthorizationRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateVPCAssociationAuthorizationRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateVPCAssociationAuthorizationResponseUnmarshaller.Instance;return Invoke<CreateVPCAssociationAuthorizationResponse>(request, options);}
|
9,916 | public ModifyCacheParameterGroupRequest(String cacheParameterGroupName, java.util.List<ParameterNameValue> parameterNameValues) {setCacheParameterGroupName(cacheParameterGroupName);setParameterNameValues(parameterNameValues);}
| public ModifyCacheParameterGroupRequest(string cacheParameterGroupName, List<ParameterNameValue> parameterNameValues){_cacheParameterGroupName = cacheParameterGroupName;_parameterNameValues = parameterNameValues;}
|
9,917 | public boolean equals( Object o ) {return o instanceof CatalanStemmer;}
| public override bool Equals(object o){return o is CatalanStemmer;}
|
9,918 | public AutomatonQuery(final Term term, Automaton automaton) {this(term, automaton, Operations.DEFAULT_MAX_DETERMINIZED_STATES);}
| public AutomatonQuery(Term term, Automaton automaton): base(term.Field){this.m_term = term;this.m_automaton = automaton;this.m_compiled = new CompiledAutomaton(automaton);}
|
9,919 | public String getPattern() {return pattern;}
| public virtual string GetPattern(){return pattern;}
|
9,920 | public int compareTo(IntBuffer otherBuffer) {int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining(): otherBuffer.remaining();int thisPos = position;int otherPos = otherBuffer.position;int thisInt, otherInt;while (compareRemaining > 0) {thisInt = get(thisPos);otherInt = otherBuffer.get(otherPos);if (thisInt != otherInt) {return thisInt < otherInt ? -1 : 1;}thisPos++;otherPos++;compareRemaining--;}return remaining() - otherBuffer.remaining();}
| public virtual int compareTo(java.nio.IntBuffer otherBuffer){int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining() : otherBuffer.remaining();int thisPos = _position;int otherPos = otherBuffer._position;int thisInt;int otherInt;while (compareRemaining > 0){thisInt = get(thisPos);otherInt = otherBuffer.get(otherPos);if (thisInt != otherInt){return thisInt < otherInt ? -1 : 1;}thisPos++;otherPos++;compareRemaining--;}return remaining() - otherBuffer.remaining();}
|
9,921 | public final boolean hasNext() {return next != header;}
| public virtual bool hasNext(){return this._next != this._enclosing.header;}
|
9,922 | public Class<IndexChangedListener> getListenerType() {return IndexChangedListener.class;}
| public override Type GetListenerType(){return typeof(IndexChangedListener);}
|
9,923 | public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[OBJECTLINK]\n");buffer.append(" .anchorId = ").append("0x").append(HexDump.toHex( getAnchorId ())).append(" (").append( getAnchorId() ).append(" )");buffer.append(System.getProperty("line.separator"));buffer.append(" .link1 = ").append("0x").append(HexDump.toHex( getLink1 ())).append(" (").append( getLink1() ).append(" )");buffer.append(System.getProperty("line.separator"));buffer.append(" .link2 = ").append("0x").append(HexDump.toHex( getLink2 ())).append(" (").append( getLink2() ).append(" )");buffer.append(System.getProperty("line.separator"));buffer.append("[/OBJECTLINK]\n");return buffer.toString();}
| public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[OBJECTLINK]\n");buffer.Append(" .AnchorId = ").Append("0x").Append(HexDump.ToHex(AnchorId)).Append(" (").Append(AnchorId).Append(" )");buffer.Append(Environment.NewLine);buffer.Append(" .link1 = ").Append("0x").Append(HexDump.ToHex(Link1)).Append(" (").Append(Link1).Append(" )");buffer.Append(Environment.NewLine);buffer.Append(" .link2 = ").Append("0x").Append(HexDump.ToHex(Link2)).Append(" (").Append(Link2).Append(" )");buffer.Append(Environment.NewLine);buffer.Append("[/OBJECTLINK]\n");return buffer.ToString();}
|
9,924 | public void setDetectRenames(boolean on) {if (on && renameDetector == null) {assertHaveReader();renameDetector = new RenameDetector(reader, diffCfg);} else if (!on)renameDetector = null;}
| public virtual void SetDetectRenames(bool on){if (on && renameDetector == null){AssertHaveRepository();renameDetector = new RenameDetector(db);}else{if (!on){renameDetector = null;}}}
|
9,925 | public boolean isSupported(int bitsPerValue) {return Packed64SingleBlock.isSupported(bitsPerValue);}
| public virtual bool IsSupported(int bitsPerValue){return bitsPerValue >= 1 && bitsPerValue <= 64;}
|
9,926 | public void setOutputUnigrams(boolean outputUnigrams) {this.outputUnigrams = outputUnigrams;gramSize = new CircularSequence();}
| public void SetOutputUnigrams(bool outputUnigrams){this.outputUnigrams = outputUnigrams;gramSize = new CircularSequence(this);}
|
9,927 | public TypeAsPayloadTokenFilter create(TokenStream input) {return new TypeAsPayloadTokenFilter(input);}
| public override TokenStream Create(TokenStream input){return new TypeAsPayloadTokenFilter(input);}
|
9,928 | public CreateIndexResult createIndex(CreateIndexRequest request) {request = beforeClientExecution(request);return executeCreateIndex(request);}
| public virtual CreateIndexResponse CreateIndex(CreateIndexRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateIndexRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateIndexResponseUnmarshaller.Instance;return Invoke<CreateIndexResponse>(request, options);}
|
9,929 | public QualityQuery(String queryID, Map<String,String> nameValPairs) {this.queryID = queryID;this.nameValPairs = nameValPairs;}
| public QualityQuery(string queryID, IDictionary<string, string> nameValPairs){this.queryID = queryID;this.nameValPairs = nameValPairs;}
|
9,930 | public void addFirst(E object) {addFirstImpl(object);}
| public virtual void addFirst(E @object){addFirstImpl(@object);}
|
9,931 | public ValidateConfigurationSettingsRequest(String applicationName, java.util.List<ConfigurationOptionSetting> optionSettings) {setApplicationName(applicationName);setOptionSettings(optionSettings);}
| public ValidateConfigurationSettingsRequest(string applicationName, List<ConfigurationOptionSetting> optionSettings){_applicationName = applicationName;_optionSettings = optionSettings;}
|
9,932 | public static FileKey exact(File directory, FS fs) {return new FileKey(directory, fs);}
| public static RepositoryCache.FileKey Exact(FilePath directory, FS fs){return new RepositoryCache.FileKey(directory, fs);}
|
9,933 | public void removeScale() {remove1stProperty(PropertyIDMap.PID_SCALE);}
| public void RemoveScale(){MutableSection s = (MutableSection)FirstSection;s.RemoveProperty(PropertyIDMap.PID_SCALE);}
|
9,934 | public DocumentDictionary(IndexReader reader, String field, String weightField, String payloadField, String contextsField) {this.reader = reader;this.field = field;this.weightField = weightField;this.payloadField = payloadField;this.contextsField = contextsField;}
| public DocumentDictionary(IndexReader reader, string field, string weightField, string payloadField, string contextsField){this.m_reader = reader;this.field = field;this.weightField = weightField;this.m_payloadField = payloadField;this.m_contextsField = contextsField;}
|
9,935 | public long get(int index) {final int o = index / 5;final int b = index % 5;final int shift = b * 12;return (blocks[o] >>> shift) & 4095L;}
| public override long Get(int index){int o = index / 5;int b = index % 5;int shift = b * 12;return ((long)((ulong)blocks[o] >> shift)) & 4095L;}
|
9,936 | @Override public void clear() {synchronized (mutex) {c.clear();}}
| public virtual void clear(){lock (mutex){c.clear();}}
|
9,937 | public boolean hasNext() {return _nextIndex < _endIx;}
| public bool HasNext(){return _nextIndex < _endIx;}
|
9,938 | public AssociateVirtualInterfaceResult associateVirtualInterface(AssociateVirtualInterfaceRequest request) {request = beforeClientExecution(request);return executeAssociateVirtualInterface(request);}
| public virtual AssociateVirtualInterfaceResponse AssociateVirtualInterface(AssociateVirtualInterfaceRequest request){var options = new InvokeOptions();options.RequestMarshaller = AssociateVirtualInterfaceRequestMarshaller.Instance;options.ResponseUnmarshaller = AssociateVirtualInterfaceResponseUnmarshaller.Instance;return Invoke<AssociateVirtualInterfaceResponse>(request, options);}
|
9,939 | public DoubleValuesSource makeDistanceValueSource(Point queryPoint) {return makeDistanceValueSource(queryPoint, 1.0);}
| public virtual ValueSource MakeDistanceValueSource(IPoint queryPoint){return MakeDistanceValueSource(queryPoint, 1.0);}
|
9,940 | public float getTokenScore() {position += posIncAtt.getPositionIncrement();String termText = termAtt.toString();WeightedSpanTerm weightedSpanTerm;if ((weightedSpanTerm = fieldWeightedSpanTerms.get(termText)) == null) {return 0;}if (weightedSpanTerm.positionSensitive &&!weightedSpanTerm.checkPosition(position)) {return 0;}float score = weightedSpanTerm.getWeight();if (!foundTerms.contains(termText)) {totalScore += score;foundTerms.add(termText);}return score;}
| public virtual float GetTokenScore(){position += posIncAtt.PositionIncrement;string termText = termAtt.ToString();WeightedSpanTerm weightedSpanTerm;if (!fieldWeightedSpanTerms.TryGetValue(termText, out weightedSpanTerm) || weightedSpanTerm == null){return 0;}if (weightedSpanTerm.IsPositionSensitive &&!weightedSpanTerm.CheckPosition(position)){return 0;}float score = weightedSpanTerm.Weight;if (!foundTerms.Contains(termText)){totalScore += score;foundTerms.Add(termText);}return score;}
|
9,941 | public E pollFirst() {Map.Entry<E, Object> entry = backingMap.pollFirstEntry();return (entry == null) ? null : entry.getKey();}
| public virtual E pollFirst(){java.util.MapClass.Entry<E, object> entry = backingMap.pollFirstEntry();return (entry == null) ? default(E) : entry.getKey();}
|
9,942 | public void enterEveryRule(ParserRuleContext ctx) {System.out.println("enter " + getRuleNames()[ctx.getRuleIndex()] +", LT(1)=" + _input.LT(1).getText());}
| public virtual void EnterEveryRule(ParserRuleContext ctx){Output.WriteLine("enter " + this._enclosing.RuleNames[ctx.RuleIndex] + ", LT(1)=" + this._enclosing._input.LT(1).Text);}
|
9,943 | public ShortBuffer put(int index, short c) {checkIndex(index);byteBuffer.putShort(index * SizeOf.SHORT, c);return this;}
| public override java.nio.ShortBuffer put(int index, short c){checkIndex(index);byteBuffer.putShort(index * libcore.io.SizeOf.SHORT, c);return this;}
|
9,944 | public void notifyUpdateCell(Cell cell) {_bookEvaluator.notifyUpdateCell(new HSSFEvaluationCell((HSSFCell)cell));}
| public void NotifyUpdateCell(ICell cell){_bookEvaluator.NotifyUpdateCell(new HSSFEvaluationCell(cell));}
|
9,945 | public void moveCell(HSSFCell cell, short newColumn) {if(cells.length > newColumn && cells[newColumn] != null) {throw new IllegalArgumentException("Asked to move cell to column " + newColumn + " but there's already a cell there");}if(! cells[cell.getColumnIndex()].equals(cell)) {throw new IllegalArgumentException("Asked to move a cell, but it didn't belong to our row");}removeCell(cell, false);cell.updateCellNum(newColumn);addCell(cell);}
| public void MoveCell(ICell cell, int newColumn){if(cells.ContainsKey(newColumn)){throw new ArgumentException("Asked to move cell to column " + newColumn + " but there's already a cell there");}bool existflag = false;foreach (ICell cellinrow in cells.Values){if (cellinrow.Equals(cell)){existflag = true;break;}}if (!existflag){throw new ArgumentException("Asked to move a cell, but it didn't belong to our row");}RemoveCell(cell, false);((HSSFCell)cell).UpdateCellNum(newColumn);AddCell(cell);}
|
9,946 | public void connect(PipedWriter src) throws IOException {src.connect(this);}
| public virtual void connect(java.io.PipedWriter src){throw new System.NotImplementedException();}
|
9,947 | public void serialize(LittleEndianOutput out) {out.writeShort(getFirstColumn());out.writeShort(getLastColumn());out.writeShort(getColumnWidth());out.writeShort(getXFIndex());out.writeShort(_options);out.writeShort(field_6_reserved);}
| public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(FirstColumn);out1.WriteShort(LastColumn);out1.WriteShort(ColumnWidth);out1.WriteShort(XFIndex);out1.WriteShort(_options);out1.WriteShort(field_6_reserved);}
|
9,948 | public ModifyWorkspaceCreationPropertiesResult modifyWorkspaceCreationProperties(ModifyWorkspaceCreationPropertiesRequest request) {request = beforeClientExecution(request);return executeModifyWorkspaceCreationProperties(request);}
| public virtual ModifyWorkspaceCreationPropertiesResponse ModifyWorkspaceCreationProperties(ModifyWorkspaceCreationPropertiesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyWorkspaceCreationPropertiesRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyWorkspaceCreationPropertiesResponseUnmarshaller.Instance;return Invoke<ModifyWorkspaceCreationPropertiesResponse>(request, options);}
|
9,949 | public BoolDocValues(ValueSource vs) {this.vs = vs;}
| public BoolDocValues(ValueSource vs){this.m_vs = vs;}
|
9,950 | public void reset() {nextWrite--;while(count > 0) {if (nextWrite == -1) {nextWrite = positions.length - 1;}positions[nextWrite--].reset();count--;}nextWrite = 0;nextPos = 0;count = 0;}
| public void Reset(){nextWrite--;while (count > 0){if (nextWrite == -1){nextWrite = positions.Length - 1;}positions[nextWrite--].Reset();count--;}nextWrite = 0;nextPos = 0;count = 0;}
|
9,951 | public UpdateDirectConnectGatewayAssociationResult updateDirectConnectGatewayAssociation(UpdateDirectConnectGatewayAssociationRequest request) {request = beforeClientExecution(request);return executeUpdateDirectConnectGatewayAssociation(request);}
| public virtual UpdateDirectConnectGatewayAssociationResponse UpdateDirectConnectGatewayAssociation(UpdateDirectConnectGatewayAssociationRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDirectConnectGatewayAssociationRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDirectConnectGatewayAssociationResponseUnmarshaller.Instance;return Invoke<UpdateDirectConnectGatewayAssociationResponse>(request, options);}
|
9,952 | public EditPhotoStoreRequest() {super("CloudPhoto", "2017-07-11", "EditPhotoStore", "cloudphoto");setProtocol(ProtocolType.HTTPS);}
| public EditPhotoStoreRequest(): base("CloudPhoto", "2017-07-11", "EditPhotoStore", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
|
9,953 | public String toString() {return "<matchNoDocsQueryNode/>";}
| public override string ToString(){return "<matchNoDocsQueryNode/>";}
|
9,954 | public AddCommand addFilepattern(String filepattern) {checkCallable();filepatterns.add(filepattern);return this;}
| public virtual NGit.Api.AddCommand AddFilepattern(string filepattern){CheckCallable();filepatterns.AddItem(filepattern);return this;}
|
9,955 | public String toString() {return '[' + "HEADERFOOTER" + "] (0x" +Integer.toHexString(sid).toUpperCase(Locale.ROOT) + ")\n" +" rawData=" + HexDump.toHex(_rawData) + "\n" +"[/" + "HEADERFOOTER" + "]\n";}
| public override String ToString(){StringBuilder sb = new StringBuilder();sb.Append("[").Append("HEADERFOOTER").Append("] (0x");sb.Append(StringUtil.ToHexString(sid).ToUpper() + ")\n");sb.Append(" rawData=").Append(HexDump.ToHex(_rawData)).Append("\n");sb.Append("[/").Append("HEADERFOOTER").Append("]\n");return sb.ToString();}
|
9,956 | public UpdateBrokerResult updateBroker(UpdateBrokerRequest request) {request = beforeClientExecution(request);return executeUpdateBroker(request);}
| public virtual UpdateBrokerResponse UpdateBroker(UpdateBrokerRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateBrokerRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateBrokerResponseUnmarshaller.Instance;return Invoke<UpdateBrokerResponse>(request, options);}
|
9,957 | public FormatRecord clone() {return copy();}
| public override Object Clone(){return this;}
|
9,958 | public AssociateS3ResourcesResult associateS3Resources(AssociateS3ResourcesRequest request) {request = beforeClientExecution(request);return executeAssociateS3Resources(request);}
| public virtual AssociateS3ResourcesResponse AssociateS3Resources(AssociateS3ResourcesRequest request){var options = new InvokeOptions();options.RequestMarshaller = AssociateS3ResourcesRequestMarshaller.Instance;options.ResponseUnmarshaller = AssociateS3ResourcesResponseUnmarshaller.Instance;return Invoke<AssociateS3ResourcesResponse>(request, options);}
|
9,959 | public UnknownRecord(int id, byte[] data) {_sid = id & 0xFFFF;_rawData = data;}
| public UnknownRecord(int id, byte[] data){_sid = id & 0xFFFF;_rawData = data;}
|
9,960 | public TreeFilter clone() {return new Binary(a.clone(), b.clone());}
| public override RevFilter Clone(){return new AndRevFilter.Binary(a.Clone(), b.Clone());}
|
9,961 | public int getRawValue(final int holder){return (holder & _mask);}
| public int GetRawValue(int holder){return (holder & this._mask);}
|
9,962 | public CancelResizeResult cancelResize(CancelResizeRequest request) {request = beforeClientExecution(request);return executeCancelResize(request);}
| public virtual CancelResizeResponse CancelResize(CancelResizeRequest request){var options = new InvokeOptions();options.RequestMarshaller = CancelResizeRequestMarshaller.Instance;options.ResponseUnmarshaller = CancelResizeResponseUnmarshaller.Instance;return Invoke<CancelResizeResponse>(request, options);}
|
9,963 | public CreateTransitGatewayRouteResult createTransitGatewayRoute(CreateTransitGatewayRouteRequest request) {request = beforeClientExecution(request);return executeCreateTransitGatewayRoute(request);}
| public virtual CreateTransitGatewayRouteResponse CreateTransitGatewayRoute(CreateTransitGatewayRouteRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateTransitGatewayRouteRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateTransitGatewayRouteResponseUnmarshaller.Instance;return Invoke<CreateTransitGatewayRouteResponse>(request, options);}
|
9,964 | public FastVectorHighlighter( boolean phraseHighlight, boolean fieldMatch,FragListBuilder fragListBuilder, FragmentsBuilder fragmentsBuilder ){this.phraseHighlight = phraseHighlight;this.fieldMatch = fieldMatch;this.fragListBuilder = fragListBuilder;this.fragmentsBuilder = fragmentsBuilder;}
| public FastVectorHighlighter(bool phraseHighlight, bool fieldMatch,IFragListBuilder fragListBuilder, IFragmentsBuilder fragmentsBuilder){this.phraseHighlight = phraseHighlight;this.fieldMatch = fieldMatch;this.fragListBuilder = fragListBuilder;this.fragmentsBuilder = fragmentsBuilder;}
|
9,965 | public SetTypeDefaultVersionResult setTypeDefaultVersion(SetTypeDefaultVersionRequest request) {request = beforeClientExecution(request);return executeSetTypeDefaultVersion(request);}
| public virtual SetTypeDefaultVersionResponse SetTypeDefaultVersion(SetTypeDefaultVersionRequest request){var options = new InvokeOptions();options.RequestMarshaller = SetTypeDefaultVersionRequestMarshaller.Instance;options.ResponseUnmarshaller = SetTypeDefaultVersionResponseUnmarshaller.Instance;return Invoke<SetTypeDefaultVersionResponse>(request, options);}
|
9,966 | public final long computeNorm(FieldInvertState state) {return get(state.getName()).computeNorm(state);}
| public override sealed long ComputeNorm(FieldInvertState state){return Get(state.Name).ComputeNorm(state);}
|
9,967 | public CreateCustomVerificationEmailTemplateResult createCustomVerificationEmailTemplate(CreateCustomVerificationEmailTemplateRequest request) {request = beforeClientExecution(request);return executeCreateCustomVerificationEmailTemplate(request);}
| public virtual CreateCustomVerificationEmailTemplateResponse CreateCustomVerificationEmailTemplate(CreateCustomVerificationEmailTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateCustomVerificationEmailTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateCustomVerificationEmailTemplateResponseUnmarshaller.Instance;return Invoke<CreateCustomVerificationEmailTemplateResponse>(request, options);}
|
9,968 | public static double median(double[] v) {double r = Double.NaN;if (v!=null && v.length >= 1) {int n = v.length;Arrays.sort(v);r = (n % 2 == 0)? (v[n / 2] + v[n / 2 - 1]) / 2: v[n / 2];}return r;}
| public static double median(double[] v){double r = double.NaN;if (v != null && v.Length >= 1){int n = v.Length;Array.Sort(v);r = (n % 2 == 0)? (v[n / 2] + v[n / 2 - 1]) / 2: v[n / 2];}return r;}
|
9,969 | public void walk(ParseTreeListener listener, ParseTree t) {if ( t instanceof ErrorNode) {listener.visitErrorNode((ErrorNode)t);return;}else if ( t instanceof TerminalNode) {listener.visitTerminal((TerminalNode)t);return;}RuleNode r = (RuleNode)t;enterRule(listener, r);int n = r.getChildCount();for (int i = 0; i<n; i++) {walk(listener, r.getChild(i));}exitRule(listener, r);}
| public virtual void Walk(IParseTreeListener listener, IParseTree t){if (t is IErrorNode){listener.VisitErrorNode((IErrorNode)t);return;}else{if (t is ITerminalNode){listener.VisitTerminal((ITerminalNode)t);return;}}IRuleNode r = (IRuleNode)t;EnterRule(listener, r);int n = r.ChildCount;for (int i = 0; i < n; i++){Walk(listener, r.GetChild(i));}ExitRule(listener, r);}
|
9,970 | public SCLRecord(RecordInputStream in) {field_1_numerator = in.readShort();field_2_denominator = in.readShort();}
| public SCLRecord(RecordInputStream in1){field_1_numerator = in1.ReadShort();field_2_denominator = in1.ReadShort();}
|
9,971 | public boolean add(final T value) {int index = elements.size();elements.add(value);valueKeyMap.put(value, index);return true;}
| public bool Add(T value){int index = elements.Count;elements.Add(value);if (valueKeyMap.ContainsKey(value)){valueKeyMap[value] = index;}else{valueKeyMap.Add(value, index);}return true;}
|
9,972 | public RawText(byte[] input) {this(input, RawParseUtils.lineMap(input, 0, input.length));}
| public RawText(byte[] input){content = input;lines = RawParseUtils.LineMap(content, 0, content.Length);}
|
9,973 | public void writeInt(int v) {checkPosition(4);int i = _writeIndex;_buf[i++] = (byte)((v >>> 0) & 0xFF);_buf[i++] = (byte)((v >>> 8) & 0xFF);_buf[i++] = (byte)((v >>> 16) & 0xFF);_buf[i++] = (byte)((v >>> 24) & 0xFF);_writeIndex = i;}
| public void WriteInt(int v){CheckPosition(4);int i = _writeIndex;_buf[i++] = (byte)((v >> 0) & 0xFF);_buf[i++] = (byte)((v >> 8) & 0xFF);_buf[i++] = (byte)((v >> 16) & 0xFF);_buf[i++] = (byte)((v >> 24) & 0xFF);_writeIndex = i;}
|
9,974 | public GetRepoBatchRequest() {super("cr", "2016-06-07", "GetRepoBatch", "cr");setUriPattern("/batchsearch");setMethod(MethodType.GET);}
| public GetRepoBatchRequest(): base("cr", "2016-06-07", "GetRepoBatch", "cr", "openAPI"){UriPattern = "/batchsearch";Method = MethodType.GET;}
|
9,975 | public MoPenDoRecognizeRequest() {super("MoPen", "2018-02-11", "MoPenDoRecognize", "mopen");setProtocol(ProtocolType.HTTPS);setMethod(MethodType.POST);}
| public MoPenDoRecognizeRequest(): base("MoPen", "2018-02-11", "MoPenDoRecognize", "mopen", "openAPI"){Protocol = ProtocolType.HTTPS;Method = MethodType.POST;}
|
9,976 | public Iterator<Map.Entry<K,V>> iterator() {return new EntryIterator();}
| public override java.util.Iterator<java.util.MapClass.Entry<K, V>> iterator(){return new java.util.Hashtable<K, V>.EntryIterator(this._enclosing);}
|
9,977 | public DeleteApnsSandboxChannelResult deleteApnsSandboxChannel(DeleteApnsSandboxChannelRequest request) {request = beforeClientExecution(request);return executeDeleteApnsSandboxChannel(request);}
| public virtual DeleteApnsSandboxChannelResponse DeleteApnsSandboxChannel(DeleteApnsSandboxChannelRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteApnsSandboxChannelRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteApnsSandboxChannelResponseUnmarshaller.Instance;return Invoke<DeleteApnsSandboxChannelResponse>(request, options);}
|
9,978 | public short readShort() {if (shouldSkipEncryptionOnCurrentRecord) {readPlain(buffer, 0, LittleEndianConsts.SHORT_SIZE);return LittleEndian.getShort(buffer);} else {return ccis.readShort();}}
| public short ReadShort(){return (short)_rc4.Xorshort(_le.ReadUShort());}
|
9,979 | public DeleteEndpointResult deleteEndpoint(DeleteEndpointRequest request) {request = beforeClientExecution(request);return executeDeleteEndpoint(request);}
| public virtual DeleteEndpointResponse DeleteEndpoint(DeleteEndpointRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteEndpointRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteEndpointResponseUnmarshaller.Instance;return Invoke<DeleteEndpointResponse>(request, options);}
|
9,980 | @Override public int lastIndexOf(Object object) {return list.lastIndexOf(object);}
| public virtual int lastIndexOf(object @object){return list.lastIndexOf(@object);}
|
9,981 | public 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 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;}
|
9,982 | public GetIndustryInfoChildrenListRequest() {super("industry-brain", "2018-07-12", "GetIndustryInfoChildrenList");setProtocol(ProtocolType.HTTPS);}
| public GetIndustryInfoChildrenListRequest(): base("industry-brain", "2018-07-12", "GetIndustryInfoChildrenList"){Protocol = ProtocolType.HTTPS;}
|
9,983 | public Credential(String keyId, String secret, int expiredHours) {this.accessKeyId = keyId;this.accessSecret = secret;this.refreshDate = new Date();setExpiredDate(expiredHours);}
| public Credential(string keyId, string secret, int expiredHours){AccessKeyId = keyId;AccessSecret = secret;RefreshDate = new DateTime();SetExpiredDate(expiredHours);}
|
9,984 | public KeywordMarkerFilterFactory(Map<String,String> args) {super(args);wordFiles = get(args, PROTECTED_TOKENS);stringPattern = get(args, PATTERN);ignoreCase = getBoolean(args, "ignoreCase", false);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
| public KeywordMarkerFilterFactory(IDictionary<string, string> args): base(args){wordFiles = Get(args, PROTECTED_TOKENS);stringPattern = Get(args, PATTERN);ignoreCase = GetBoolean(args, "ignoreCase", false);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
|
9,985 | public CellRangeAddress getAreaAt(int index) {return _regions[_startIndex + index];}
| public CellRangeAddress GetAreaAt(int index){return _regions[_startIndex + index];}
|
9,986 | public PutEmailIdentityDkimSigningAttributesResult putEmailIdentityDkimSigningAttributes(PutEmailIdentityDkimSigningAttributesRequest request) {request = beforeClientExecution(request);return executePutEmailIdentityDkimSigningAttributes(request);}
| public virtual PutEmailIdentityDkimSigningAttributesResponse PutEmailIdentityDkimSigningAttributes(PutEmailIdentityDkimSigningAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutEmailIdentityDkimSigningAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = PutEmailIdentityDkimSigningAttributesResponseUnmarshaller.Instance;return Invoke<PutEmailIdentityDkimSigningAttributesResponse>(request, options);}
|
9,987 | public String toString() {StringBuilder buffer = new StringBuilder();buffer.append(" [FEATURE SMART TAGS]\n");buffer.append(" [/FEATURE SMART TAGS]\n");return buffer.toString();}
| public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append(" [FEATURE SMART TAGS]\n");buffer.Append(" [/FEATURE SMART TAGS]\n");return buffer.ToString();}
|
9,988 | public static void checkStartAndEnd(int len, int start, int end) {if (start < 0 || end > len) {throw new ArrayIndexOutOfBoundsException("start < 0 || end > len."+ " start=" + start + ", end=" + end + ", len=" + len);}if (start > end) {throw new IllegalArgumentException("start > end: " + start + " > " + end);}}
| public static void checkStartAndEnd(int len, int start, int end){if (start < 0 || end > len){throw new System.IndexOutOfRangeException("start < 0 || end > len." + " start=" +start + ", end=" + end + ", len=" + len);}if (start > end){throw new System.ArgumentException("start > end: " + start + " > " + end);}}
|
9,989 | public Loc(int bookIndex, int sheetIndex, int rowIndex, int columnIndex) {_bookSheetColumn = toBookSheetColumn(bookIndex, sheetIndex, columnIndex);_rowIndex = rowIndex;}
| public Loc(int bookIndex, int sheetIndex, int rowIndex, int columnIndex){_bookSheetColumn = ToBookSheetColumn(bookIndex, sheetIndex, columnIndex);_rowIndex = rowIndex;}
|
9,990 | public BoolErrRecord(RecordInputStream in) {super(in);switch (in.remaining()) {case 2:_value = in.readByte();break;case 3:_value = in.readUShort();break;default:throw new RecordFormatException("Unexpected size ("+ in.remaining() + ") for BOOLERR record.");}int flag = in.readUByte();switch (flag) {case 0:_isError = false;break;case 1:_isError = true;break;default:throw new RecordFormatException("Unexpected isError flag ("+ flag + ") for BOOLERR record.");}}
| public BoolErrRecord(RecordInputStream in1): base(in1){switch (in1.Remaining){case 2:_value = in1.ReadByte();break;case 3:_value = in1.ReadUShort();break;default:throw new RecordFormatException("Unexpected size ("+ in1.Remaining + ") for BOOLERR record.");}int flag = in1.ReadUByte();switch (flag){case 0:_isError = false;break;case 1:_isError = true;break;default:throw new RecordFormatException("Unexpected isError flag ("+ flag + ") for BOOLERR record.");}}
|
9,991 | public String toString() {return "OrdTermState ord=" + ord;}
| public override string ToString(){return "OrdTermState ord=" + Ord;}
|
9,992 | public Note(AnyObjectId noteOn, ObjectId noteData) {super(noteOn);data = noteData;}
| public Note(AnyObjectId noteOn, ObjectId noteData) : base(noteOn){data = noteData;}
|
9,993 | public GetModelVersionResult getModelVersion(GetModelVersionRequest request) {request = beforeClientExecution(request);return executeGetModelVersion(request);}
| public virtual GetModelVersionResponse GetModelVersion(GetModelVersionRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetModelVersionRequestMarshaller.Instance;options.ResponseUnmarshaller = GetModelVersionResponseUnmarshaller.Instance;return Invoke<GetModelVersionResponse>(request, options);}
|
9,994 | public void addBreak(int main, int subFrom, int subTo) {Integer key = Integer.valueOf(main);Break region = _breakMap.get(key);if(region == null) {region = new Break(main, subFrom, subTo);_breakMap.put(key, region);_breaks.add(region);} else {region.main = main;region.subFrom = subFrom;region.subTo = subTo;}}
| public void AddBreak(int main, int subFrom, int subTo){int key = (int)main;Break region = (Break)_breakMap[key];if (region != null){region.main = main;region.subFrom = subFrom;region.subTo = subTo;}else{region = new Break(main, subFrom, subTo);_breaks.Add(region);}_breakMap[key] = region;}
|
9,995 | public DescribeUsageReportSubscriptionsResult describeUsageReportSubscriptions(DescribeUsageReportSubscriptionsRequest request) {request = beforeClientExecution(request);return executeDescribeUsageReportSubscriptions(request);}
| public virtual DescribeUsageReportSubscriptionsResponse DescribeUsageReportSubscriptions(DescribeUsageReportSubscriptionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeUsageReportSubscriptionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeUsageReportSubscriptionsResponseUnmarshaller.Instance;return Invoke<DescribeUsageReportSubscriptionsResponse>(request, options);}
|
9,996 | public boolean offerLast(E e) {return addLastImpl(e);}
| public virtual bool offerLast(E e){return addLastImpl(e);}
|
9,997 | public RegistrantProfileRealNameVerificationRequest() {super("Domain", "2018-01-29", "RegistrantProfileRealNameVerification");setMethod(MethodType.POST);}
| public RegistrantProfileRealNameVerificationRequest(): base("Domain-intl", "2017-12-18", "RegistrantProfileRealNameVerification", "domain", "openAPI"){Method = MethodType.POST;}
|
9,998 | public RowColKey(int rowIndex, int columnIndex) {_rowIndex = rowIndex;_columnIndex = columnIndex;}
| public RowColKey(int rowIndex, int columnIndex){_rowIndex = rowIndex;_columnIndex = columnIndex;}
|
9,999 | public DisassociateTransitGatewayMulticastDomainResult disassociateTransitGatewayMulticastDomain(DisassociateTransitGatewayMulticastDomainRequest request) {request = beforeClientExecution(request);return executeDisassociateTransitGatewayMulticastDomain(request);}
| public virtual DisassociateTransitGatewayMulticastDomainResponse DisassociateTransitGatewayMulticastDomain(DisassociateTransitGatewayMulticastDomainRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisassociateTransitGatewayMulticastDomainRequestMarshaller.Instance;options.ResponseUnmarshaller = DisassociateTransitGatewayMulticastDomainResponseUnmarshaller.Instance;return Invoke<DisassociateTransitGatewayMulticastDomainResponse>(request, options);}
|