java
stringlengths 28
1.4k
| C#
stringlengths 27
1.38k
|
---|---|
public CanonicalTreeParser getParent() {return (CanonicalTreeParser) parent;} | public virtual NGit.Treewalk.CanonicalTreeParser GetParent(){return (NGit.Treewalk.CanonicalTreeParser)parent;} |
public DetectDominantLanguageResult detectDominantLanguage(DetectDominantLanguageRequest request) {request = beforeClientExecution(request);return executeDetectDominantLanguage(request);} | public virtual DetectDominantLanguageResponse DetectDominantLanguage(DetectDominantLanguageRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetectDominantLanguageRequestMarshaller.Instance;options.ResponseUnmarshaller = DetectDominantLanguageResponseUnmarshaller.Instance;return Invoke<DetectDominantLanguageResponse>(request, options);} |
public void removePageCount() {remove1stProperty(PropertyIDMap.PID_PAGECOUNT);} | public void RemovePageCount(){MutableSection s = (MutableSection)FirstSection;s.RemoveProperty(PropertyIDMap.PID_PAGECOUNT);} |
public E previous() {if (expectedModCount == modCount) {try {E result = get(pos);lastPosition = pos;pos--;return result;} catch (IndexOutOfBoundsException e) {throw new NoSuchElementException();}}throw new ConcurrentModificationException();} | public E previous(){if (this.expectedModCount == this._enclosing.modCount){try{E result = this._enclosing.get(this.pos);this.lastPosition = this.pos;this.pos--;return result;}catch (System.IndexOutOfRangeException){throw new java.util.NoSuchElementException();}}throw new java.util.ConcurrentModificationException();} |
public String toString() {final StringBuilder r = new StringBuilder();r.append("(");for (int i = 0; i < subfilters.length; i++) {if (i > 0)r.append(" AND ");r.append(subfilters[i].toString());}r.append(")");return r.toString();} | public override string ToString(){StringBuilder r = new StringBuilder();r.Append("(");for (int i = 0; i < subfilters.Length; i++){if (i > 0){r.Append(" AND ");}r.Append(subfilters[i].ToString());}r.Append(")");return r.ToString();} |
public FooterRecord clone() {return copy();} | public override Object Clone(){return new FooterRecord(this.Text);} |
public int stem(final char s[], int len) {if (len < 4) return len;if (len > 5 && endsWith(s, len, "ища"))return len - 3;len = removeArticle(s, len);len = removePlural(s, len);if (len > 3) {if (endsWith(s, len, "я"))len--;if (endsWith(s, len, "а") ||endsWith(s, len, "о") ||endsWith(s, len, "е"))len--;}if (len > 4 && endsWith(s, len, "ен")) {s[len - 2] = 'н'; len--;}if (len > 5 && s[len - 2] == 'ъ') {s[len - 2] = s[len - 1]; len--;}return len;} | public virtual int Stem(char[] s, int len){if (len < 4) {return len;}if (len > 5 && StemmerUtil.EndsWith(s, len, "ища")){return len - 3;}len = RemoveArticle(s, len);len = RemovePlural(s, len);if (len > 3){if (StemmerUtil.EndsWith(s, len, "я")){len--;}if (StemmerUtil.EndsWith(s, len, "а") || StemmerUtil.EndsWith(s, len, "о") || StemmerUtil.EndsWith(s, len, "е")){len--;}}if (len > 4 && StemmerUtil.EndsWith(s, len, "ен")){s[len - 2] = 'н'; len--;}if (len > 5 && s[len - 2] == 'ъ'){s[len - 2] = s[len - 1]; len--;}return len;} |
public synchronized CharSequence subSequence(int start, int end) {return super.substring(start, end);} | public override java.lang.CharSequence SubSequence(int start, int end){lock (this){return java.lang.CharSequenceProxy.Wrap(base.substring(start, end));}} |
public DisableVpcClassicLinkDnsSupportResult disableVpcClassicLinkDnsSupport(DisableVpcClassicLinkDnsSupportRequest request) {request = beforeClientExecution(request);return executeDisableVpcClassicLinkDnsSupport(request);} | public virtual DisableVpcClassicLinkDnsSupportResponse DisableVpcClassicLinkDnsSupport(DisableVpcClassicLinkDnsSupportRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisableVpcClassicLinkDnsSupportRequestMarshaller.Instance;options.ResponseUnmarshaller = DisableVpcClassicLinkDnsSupportResponseUnmarshaller.Instance;return Invoke<DisableVpcClassicLinkDnsSupportResponse>(request, options);} |
public static FormulaError forInt(byte type) throws IllegalArgumentException {FormulaError err = bmap.get(type);if(err == null) throw new IllegalArgumentException("Unknown error type: " + type);return err;} | public static FormulaError ForInt(byte type){if (bmap.ContainsKey(type))return bmap[type];throw new ArgumentException("Unknown error type: " + type);} |
public void remove() {if (index == 0)throw new IllegalStateException();BlockList.this.remove(--index);dirIdx = toDirectoryIndex(index);blkIdx = toBlockIndex(index);block = directory[dirIdx];} | public override void Remove(){if (this.index == 0){throw new InvalidOperationException();}this._enclosing.Remove(--this.index);this.dirIdx = BlockList<T>.ToDirectoryIndex(this.index);this.blkIdx = BlockList<T>.ToBlockIndex(this.index);this.block = this._enclosing.directory[this.dirIdx];} |
public String formatNumberDateCell(CellValueRecordInterface cell) {double value;if (cell instanceof NumberRecord) {value = ((NumberRecord) cell).getValue();} else if (cell instanceof FormulaRecord) {value = ((FormulaRecord) cell).getValue();} else {throw new IllegalArgumentException("Unsupported CellValue Record passed in " + cell);}int formatIndex = getFormatIndex(cell);String formatString = getFormatString(cell);if (formatString == null) {return _defaultFormat.format(value);}return _formatter.formatRawCellContents(value, formatIndex, formatString);} | public String FormatNumberDateCell(CellValueRecordInterface cell){double value;if (cell is NumberRecord){value = ((NumberRecord)cell).Value;}else if (cell is FormulaRecord){value = ((FormulaRecord)cell).Value;}else{throw new ArgumentException("Unsupported CellValue Record passed in " + cell);}int formatIndex = GetFormatIndex(cell);String formatString = GetFormatString(cell);if (formatString == null){return value.ToString(CultureInfo.InvariantCulture);}else{return formatter.FormatRawCellContents(value, formatIndex, formatString);}} |
public synchronized StringBuffer append(Object obj) {if (obj == null) {appendNull();} else {append0(obj.toString());}return this;} | public java.lang.StringBuffer append(object obj){lock (this){if (obj == null){appendNull();}else{append0(obj.ToString());}return this;}} |
public String getUser() {return user;} | public virtual string GetUser(){return user;} |
public CreateGraphResult createGraph(CreateGraphRequest request) {request = beforeClientExecution(request);return executeCreateGraph(request);} | public virtual CreateGraphResponse CreateGraph(CreateGraphRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateGraphRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateGraphResponseUnmarshaller.Instance;return Invoke<CreateGraphResponse>(request, options);} |
public static BytesRef toBytesRef(IntsRef input, BytesRefBuilder scratch) {scratch.grow(input.length);for(int i=0;i<input.length;i++) {int value = input.ints[i+input.offset];assert value >= Byte.MIN_VALUE && value <= 255: "value " + value + " doesn't fit into byte";scratch.setByteAt(i, (byte) value);}scratch.setLength(input.length);return scratch.get();} | public static BytesRef ToBytesRef(Int32sRef input, BytesRef scratch){scratch.Grow(input.Length);for (int i = 0; i < input.Length; i++){int value = input.Int32s[i + input.Offset];Debug.Assert(value >= sbyte.MinValue && value <= 255, "value " + value + " doesn't fit into byte");scratch.Bytes[i] = (byte)value;}scratch.Length = input.Length;return scratch;} |
public final DoubleBuffer asDoubleBuffer() {return DoubleToByteBufferAdapter.asDoubleBuffer(this);} | public sealed override java.nio.DoubleBuffer asDoubleBuffer(){return java.nio.DoubleToByteBufferAdapter.asDoubleBuffer(this);} |
public static final RevFilter between(Date since, Date until) {return between(since.getTime(), until.getTime());} | public static RevFilter Between(long since, long until){return new CommitTimeRevFilterBetween(since, until);} |
public AreaEval offset(int relFirstRowIx, int relLastRowIx, int relFirstColIx, int relLastColIx) {AreaI area = new OffsetArea(getRow(), getColumn(),relFirstRowIx, relLastRowIx, relFirstColIx, relLastColIx);return new LazyAreaEval(area, _evaluator);} | public override AreaEval Offset(int relFirstRowIx, int relLastRowIx, int relFirstColIx, int relLastColIx){AreaI area = new OffsetArea(Row, Column,relFirstRowIx, relLastRowIx, relFirstColIx, relLastColIx);return new LazyAreaEval(area, _evaluator);} |
public static void registerFunction(String name, FreeRefFunction func){AnalysisToolPak.registerFunction(name, func);} | public static void RegisterFunction(String name, FreeRefFunction func){AnalysisToolPak.RegisterFunction(name, func);} |
public CreateAutoMLJobResult createAutoMLJob(CreateAutoMLJobRequest request) {request = beforeClientExecution(request);return executeCreateAutoMLJob(request);} | public virtual CreateAutoMLJobResponse CreateAutoMLJob(CreateAutoMLJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateAutoMLJobRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateAutoMLJobResponseUnmarshaller.Instance;return Invoke<CreateAutoMLJobResponse>(request, options);} |
public DefineIndexFieldResult defineIndexField(DefineIndexFieldRequest request) {request = beforeClientExecution(request);return executeDefineIndexField(request);} | public virtual DefineIndexFieldResponse DefineIndexField(DefineIndexFieldRequest request){var options = new InvokeOptions();options.RequestMarshaller = DefineIndexFieldRequestMarshaller.Instance;options.ResponseUnmarshaller = DefineIndexFieldResponseUnmarshaller.Instance;return Invoke<DefineIndexFieldResponse>(request, options);} |
public ListDomainNamesResult listDomainNames(ListDomainNamesRequest request) {request = beforeClientExecution(request);return executeListDomainNames(request);} | public virtual ListDomainNamesResponse ListDomainNames(ListDomainNamesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDomainNamesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDomainNamesResponseUnmarshaller.Instance;return Invoke<ListDomainNamesResponse>(request, options);} |
public CharBuffer put(char c) {if (position == limit) {throw new BufferOverflowException();}byteBuffer.putChar(position++ * SizeOf.CHAR, c);return this;} | public override java.nio.CharBuffer put(char c){if (_position == _limit){throw new java.nio.BufferOverflowException();}byteBuffer.putChar(_position++ * libcore.io.SizeOf.CHAR, c);return this;} |
public static PathFilter create(String path) {while (path.endsWith("/")) path = path.substring(0, path.length() - 1);if (path.length() == 0)throw new IllegalArgumentException(JGitText.get().emptyPathNotPermitted);return new PathFilter(path);} | public static NGit.Treewalk.Filter.PathFilter Create(string path){while (path.EndsWith("/")){path = Sharpen.Runtime.Substring(path, 0, path.Length - 1);}if (path.Length == 0){throw new ArgumentException(JGitText.Get().emptyPathNotPermitted);}return new NGit.Treewalk.Filter.PathFilter(path);} |
public final String toString() {return String.copyValueOf(backingArray, offset + position, remaining());} | public sealed override string ToString(){return Sharpen.StringHelper.CopyValueOf(backingArray, offset + _position, remaining());} |
public char first() {index = start;return current();} | public override char First(){index = start;return Current;} |
public void growForward() {forwardPos = ArrayUtil.grow(forwardPos, 1+forwardCount);forwardID = ArrayUtil.grow(forwardID, 1+forwardCount);forwardIndex = ArrayUtil.grow(forwardIndex, 1+forwardCount);final Type[] newForwardType = new Type[forwardPos.length];System.arraycopy(forwardType, 0, newForwardType, 0, forwardType.length);forwardType = newForwardType;} | public void GrowForward(){forwardPos = ArrayUtil.Grow(forwardPos, 1 + forwardCount);forwardID = ArrayUtil.Grow(forwardID, 1 + forwardCount);forwardIndex = ArrayUtil.Grow(forwardIndex, 1 + forwardCount);JapaneseTokenizerType[] newForwardType = new JapaneseTokenizerType[forwardPos.Length];System.Array.Copy(forwardType, 0, newForwardType, 0, forwardType.Length);forwardType = newForwardType;} |
public DescribeReplicationGroupsResult describeReplicationGroups(DescribeReplicationGroupsRequest request) {request = beforeClientExecution(request);return executeDescribeReplicationGroups(request);} | public virtual DescribeReplicationGroupsResponse DescribeReplicationGroups(DescribeReplicationGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeReplicationGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeReplicationGroupsResponseUnmarshaller.Instance;return Invoke<DescribeReplicationGroupsResponse>(request, options);} |
public int getIndex(T o) {return valueKeyMap.getOrDefault(o, -1);} | public int GetIndex(T o){if (!valueKeyMap.ContainsKey(o))return -1;return valueKeyMap[o];} |
public String toString() {return "("+pred+", "+alt+ ")";} | public override String ToString(){return "(" + pred + ", " + alt + ")";} |
public DescribeRegionsResult describeRegions() {return describeRegions(new DescribeRegionsRequest());} | public virtual DescribeRegionsResponse DescribeRegions(){return DescribeRegions(new DescribeRegionsRequest());} |
public ModifyVpcEndpointConnectionNotificationResult modifyVpcEndpointConnectionNotification(ModifyVpcEndpointConnectionNotificationRequest request) {request = beforeClientExecution(request);return executeModifyVpcEndpointConnectionNotification(request);} | public virtual ModifyVpcEndpointConnectionNotificationResponse ModifyVpcEndpointConnectionNotification(ModifyVpcEndpointConnectionNotificationRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyVpcEndpointConnectionNotificationRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyVpcEndpointConnectionNotificationResponseUnmarshaller.Instance;return Invoke<ModifyVpcEndpointConnectionNotificationResponse>(request, options);} |
public QueryPhraseMap( FieldQuery fieldQuery ){this.fieldQuery = fieldQuery;} | public QueryPhraseMap(FieldQuery fieldQuery){this.fieldQuery = fieldQuery;} |
public DescribeAssessmentTemplatesResult describeAssessmentTemplates(DescribeAssessmentTemplatesRequest request) {request = beforeClientExecution(request);return executeDescribeAssessmentTemplates(request);} | public virtual DescribeAssessmentTemplatesResponse DescribeAssessmentTemplates(DescribeAssessmentTemplatesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeAssessmentTemplatesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeAssessmentTemplatesResponseUnmarshaller.Instance;return Invoke<DescribeAssessmentTemplatesResponse>(request, options);} |
public HunspellStemFilter(TokenStream input, Dictionary dictionary, boolean dedup, boolean longestOnly) {super(input);this.dedup = dedup && longestOnly == false; this.stemmer = new Stemmer(dictionary);this.longestOnly = longestOnly;} | public HunspellStemFilter(TokenStream input, Dictionary dictionary, bool dedup, bool longestOnly): base(input){this.dedup = dedup && longestOnly == false; this.stemmer = new Stemmer(dictionary);this.longestOnly = longestOnly;termAtt = AddAttribute<ICharTermAttribute>();posIncAtt = AddAttribute<IPositionIncrementAttribute>();keywordAtt = AddAttribute<IKeywordAttribute>();} |
public NameCommentRecord getNameCommentRecord(final NameRecord nameRecord){return commentRecords.get(nameRecord.getNameText());} | public NameCommentRecord GetNameCommentRecord(NameRecord nameRecord){if (commentRecords.ContainsKey(nameRecord.NameText))return commentRecords[nameRecord.NameText];else return null;} |
public ScanRequest(String tableName) {setTableName(tableName);} | public ScanRequest(string tableName){_tableName = tableName;} |
public AliasTarget(String hostedZoneId, String dNSName) {setHostedZoneId(hostedZoneId);setDNSName(dNSName);} | public AliasTarget(string hostedZoneId, string dnsName){_hostedZoneId = hostedZoneId;_dnsName = dnsName;} |
public ListOutgoingTypedLinksResult listOutgoingTypedLinks(ListOutgoingTypedLinksRequest request) {request = beforeClientExecution(request);return executeListOutgoingTypedLinks(request);} | public virtual ListOutgoingTypedLinksResponse ListOutgoingTypedLinks(ListOutgoingTypedLinksRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListOutgoingTypedLinksRequestMarshaller.Instance;options.ResponseUnmarshaller = ListOutgoingTypedLinksResponseUnmarshaller.Instance;return Invoke<ListOutgoingTypedLinksResponse>(request, options);} |
public HsmConfiguration createHsmConfiguration(CreateHsmConfigurationRequest request) {request = beforeClientExecution(request);return executeCreateHsmConfiguration(request);} | public virtual CreateHsmConfigurationResponse CreateHsmConfiguration(CreateHsmConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateHsmConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateHsmConfigurationResponseUnmarshaller.Instance;return Invoke<CreateHsmConfigurationResponse>(request, options);} |
public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[BEGIN]\n");buffer.append("[/BEGIN]\n");return buffer.toString();} | public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[BEGIN]\n");buffer.Append("[/BEGIN]\n");return buffer.ToString();} |
public DisableDomainAutoRenewResult disableDomainAutoRenew(DisableDomainAutoRenewRequest request) {request = beforeClientExecution(request);return executeDisableDomainAutoRenew(request);} | public virtual DisableDomainAutoRenewResponse DisableDomainAutoRenew(DisableDomainAutoRenewRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisableDomainAutoRenewRequestMarshaller.Instance;options.ResponseUnmarshaller = DisableDomainAutoRenewResponseUnmarshaller.Instance;return Invoke<DisableDomainAutoRenewResponse>(request, options);} |
@Override public boolean remove(Object o) {if (!(o instanceof Entry)) {return false;}Entry<?, ?> e = (Entry<?, ?>) o;Object key = e.getKey();return key != null && Impl.this.remove(key, e.getValue());} | public override bool remove(object o){if (!(o is java.util.MapClass.Entry<K, V>)){return false;}java.util.MapClass.Entry<object, object> e = (java.util.MapClass.Entry<object, object>)o;return this._enclosing.removeMapping(e.getKey(), e.getValue());} |
public UpdateFindingsFeedbackResult updateFindingsFeedback(UpdateFindingsFeedbackRequest request) {request = beforeClientExecution(request);return executeUpdateFindingsFeedback(request);} | public virtual UpdateFindingsFeedbackResponse UpdateFindingsFeedback(UpdateFindingsFeedbackRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateFindingsFeedbackRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateFindingsFeedbackResponseUnmarshaller.Instance;return Invoke<UpdateFindingsFeedbackResponse>(request, options);} |
public void setColorAtIndex(short index, byte red, byte green, byte blue){_palette.setColor(index, red, green, blue);} | public void SetColorAtIndex(short index, byte red, byte green, byte blue){palette.SetColor(index, red, green, blue);} |
public void serialize(LittleEndianOutput out) {out.writeShort(rt);out.writeShort(grbitFrt);out.writeByte(verOriginator);out.writeByte(verWriter);out.writeShort(rgCFRTID.length);for (CFRTID cfrtid : rgCFRTID) {cfrtid.serialize(out);}} | public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(rt);out1.WriteShort(grbitFrt);out1.WriteByte(verOriginator);out1.WriteByte(verWriter);int nCFRTIDs = rgCFRTID.Length;out1.WriteShort(nCFRTIDs);for (int i = 0; i < nCFRTIDs; i++){rgCFRTID[i].Serialize(out1);}} |
public RevokeInvitationResult revokeInvitation(RevokeInvitationRequest request) {request = beforeClientExecution(request);return executeRevokeInvitation(request);} | public virtual RevokeInvitationResponse RevokeInvitation(RevokeInvitationRequest request){var options = new InvokeOptions();options.RequestMarshaller = RevokeInvitationRequestMarshaller.Instance;options.ResponseUnmarshaller = RevokeInvitationResponseUnmarshaller.Instance;return Invoke<RevokeInvitationResponse>(request, options);} |
public GetTextDetectionResult getTextDetection(GetTextDetectionRequest request) {request = beforeClientExecution(request);return executeGetTextDetection(request);} | public virtual GetTextDetectionResponse GetTextDetection(GetTextDetectionRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetTextDetectionRequestMarshaller.Instance;options.ResponseUnmarshaller = GetTextDetectionResponseUnmarshaller.Instance;return Invoke<GetTextDetectionResponse>(request, options);} |
public void ensureCapacity(int min) {if (min > value.length) {int ourMin = value.length*2 + 2;enlargeBuffer(Math.max(ourMin, min));}} | public virtual void ensureCapacity(int min){if (min > value.Length){int ourMin = value.Length * 2 + 2;enlargeBuffer(System.Math.Max(ourMin, min));}} |
public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException {IoBridge.write(fd, buffer, byteOffset, byteCount);} | public override void write(byte[] buffer, int byteOffset, int byteCount){throw new System.NotImplementedException();} |
public DisassociateAddressResult disassociateAddress(DisassociateAddressRequest request) {request = beforeClientExecution(request);return executeDisassociateAddress(request);} | public virtual DisassociateAddressResponse DisassociateAddress(DisassociateAddressRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisassociateAddressRequestMarshaller.Instance;options.ResponseUnmarshaller = DisassociateAddressResponseUnmarshaller.Instance;return Invoke<DisassociateAddressResponse>(request, options);} |
public TagCommand setForceUpdate(boolean forceUpdate) {this.forceUpdate = forceUpdate;return this;} | public virtual NGit.Api.TagCommand SetForceUpdate(bool forceUpdate){this.forceUpdate = forceUpdate;return this;} |
public PageItemRecord(RecordInputStream in) {int dataSize = in.remaining();if (dataSize % FieldInfo.ENCODED_SIZE != 0) {throw new RecordFormatException("Bad data size " + dataSize);}int nItems = dataSize / FieldInfo.ENCODED_SIZE;FieldInfo[] fis = new FieldInfo[nItems];for (int i = 0; i < fis.length; i++) {fis[i] = new FieldInfo(in);}_fieldInfos = fis;} | public PageItemRecord(RecordInputStream in1){int dataSize = in1.Remaining;if (dataSize % FieldInfo.ENCODED_SIZE != 0){throw new RecordFormatException("Bad data size " + dataSize);}int nItems = dataSize / FieldInfo.ENCODED_SIZE;FieldInfo[] fis = new FieldInfo[nItems];for (int i = 0; i < fis.Length; i++){fis[i] = new FieldInfo(in1);}_fieldInfos = fis;} |
public XPathTokenElement(String tokenName, int tokenType) {super(tokenName);this.tokenType = tokenType;} | public XPathTokenElement(string tokenName, int tokenType): base(tokenName){this.tokenType = tokenType;} |
@Override public boolean contains(Object object) {return indexOf(object) != -1;} | public virtual bool contains(object o){return indexOf(o) != -1;} |
public void serialize(LittleEndianOutput out) {out.writeShort(field_1_x);out.writeShort(field_2_y);out.writeShort(field_3_topRow);out.writeShort(field_4_leftColumn);out.writeShort(field_5_activePane);} | public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(field_1_x);out1.WriteShort(field_2_y);out1.WriteShort(field_3_topRow);out1.WriteShort(field_4_leftColumn);out1.WriteShort(field_5_activePane);} |
public StepExecutionStatusDetail(StepExecutionState state, java.util.Date creationDateTime) {setState(state.toString());setCreationDateTime(creationDateTime);} | public StepExecutionStatusDetail(StepExecutionState state, DateTime creationDateTime){_state = state;_creationDateTime = creationDateTime;} |
public EditEventRequest() {super("CloudPhoto", "2017-07-11", "EditEvent", "cloudphoto");setProtocol(ProtocolType.HTTPS);} | public EditEventRequest(): base("CloudPhoto", "2017-07-11", "EditEvent", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;} |
public PurchaseHostReservationResult purchaseHostReservation(PurchaseHostReservationRequest request) {request = beforeClientExecution(request);return executePurchaseHostReservation(request);} | public virtual PurchaseHostReservationResponse PurchaseHostReservation(PurchaseHostReservationRequest request){var options = new InvokeOptions();options.RequestMarshaller = PurchaseHostReservationRequestMarshaller.Instance;options.ResponseUnmarshaller = PurchaseHostReservationResponseUnmarshaller.Instance;return Invoke<PurchaseHostReservationResponse>(request, options);} |
public ConfirmPrivateVirtualInterfaceResult confirmPrivateVirtualInterface(ConfirmPrivateVirtualInterfaceRequest request) {request = beforeClientExecution(request);return executeConfirmPrivateVirtualInterface(request);} | public virtual ConfirmPrivateVirtualInterfaceResponse ConfirmPrivateVirtualInterface(ConfirmPrivateVirtualInterfaceRequest request){var options = new InvokeOptions();options.RequestMarshaller = ConfirmPrivateVirtualInterfaceRequestMarshaller.Instance;options.ResponseUnmarshaller = ConfirmPrivateVirtualInterfaceResponseUnmarshaller.Instance;return Invoke<ConfirmPrivateVirtualInterfaceResponse>(request, options);} |
public static int getVariantLength(final long variantType) {final Integer length = numberToLength.get(variantType);return (length != null) ? length : LENGTH_UNKNOWN;} | public static int GetVariantLength(long variantType){long key = (int)variantType;if (numberToLength.Contains(key))return -2;long Length = (long)numberToLength[key];return Convert.ToInt32(Length);} |
public UnknownFormatFlagsException(String f) {if (f == null) {throw new NullPointerException();}flags = f;} | public UnknownFormatFlagsException(string f){if (f == null){throw new System.ArgumentNullException();}flags = f;} |
public boolean isFreezePane() {return frozen;} | public bool IsFreezePane(){return frozen;} |
public PurchaseReservedDBInstancesOfferingRequest(String reservedDBInstancesOfferingId) {setReservedDBInstancesOfferingId(reservedDBInstancesOfferingId);} | public PurchaseReservedDBInstancesOfferingRequest(string reservedDBInstancesOfferingId){_reservedDBInstancesOfferingId = reservedDBInstancesOfferingId;} |
public HeaderBlock(POIFSBigBlockSize bigBlockSize){this.bigBlockSize = bigBlockSize;_data = new byte[ POIFSConstants.SMALLER_BIG_BLOCK_SIZE ];Arrays.fill(_data, _default_value);new LongField(_signature_offset, _signature, _data);new IntegerField(0x08, 0, _data);new IntegerField(0x0c, 0, _data);new IntegerField(0x10, 0, _data);new IntegerField(0x14, 0, _data);new ShortField(0x18, ( short ) 0x3b, _data);new ShortField(0x1a, ( short ) 0x3, _data);new ShortField(0x1c, ( short ) -2, _data);new ShortField(0x1e, bigBlockSize.getHeaderValue(), _data);new IntegerField(0x20, 0x6, _data);new IntegerField(0x24, 0, _data);new IntegerField(0x28, 0, _data);new IntegerField(0x34, 0, _data);new IntegerField(0x38, 0x1000, _data);_bat_count = 0;_sbat_count = 0;_xbat_count = 0;_property_start = POIFSConstants.END_OF_CHAIN;_sbat_start = POIFSConstants.END_OF_CHAIN;_xbat_start = POIFSConstants.END_OF_CHAIN;} | public HeaderBlock(POIFSBigBlockSize bigBlockSize){this.bigBlockSize = bigBlockSize;_data = new byte[POIFSConstants.SMALLER_BIG_BLOCK_SIZE];for (int i = 0; i < _data.Length; i++)_data[i] = _default_value;new LongField(_signature_offset, _signature, _data);new IntegerField(0x08, 0, _data);new IntegerField(0x0c, 0, _data);new IntegerField(0x10, 0, _data);new IntegerField(0x14, 0, _data);new ShortField((int)0x18, (short)0x3b, ref _data);new ShortField((int)0x1a, (short)0x3, ref _data);new ShortField((int)0x1c, (short)-2, ref _data);new ShortField(0x1e, bigBlockSize.GetHeaderValue(), ref _data);new IntegerField(0x20, 0x6, _data);new IntegerField(0x24, 0, _data);new IntegerField(0x28, 0, _data);new IntegerField(0x34, 0, _data);new IntegerField(0x38, 0x1000, _data);_bat_count = 0;_sbat_count = 0;_xbat_count = 0;_property_start = POIFSConstants.END_OF_CHAIN;_sbat_start = POIFSConstants.END_OF_CHAIN;_xbat_start = POIFSConstants.END_OF_CHAIN;} |
public ListEventSubscriptionsResult listEventSubscriptions(ListEventSubscriptionsRequest request) {request = beforeClientExecution(request);return executeListEventSubscriptions(request);} | public virtual ListEventSubscriptionsResponse ListEventSubscriptions(ListEventSubscriptionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListEventSubscriptionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListEventSubscriptionsResponseUnmarshaller.Instance;return Invoke<ListEventSubscriptionsResponse>(request, options);} |
public ListProxySessionsResult listProxySessions(ListProxySessionsRequest request) {request = beforeClientExecution(request);return executeListProxySessions(request);} | public virtual ListProxySessionsResponse ListProxySessions(ListProxySessionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListProxySessionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListProxySessionsResponseUnmarshaller.Instance;return Invoke<ListProxySessionsResponse>(request, options);} |
public SimpleBoundaryScanner( int maxScan, Set<Character> boundaryChars ){this.maxScan = maxScan;this.boundaryChars = boundaryChars;} | public SimpleBoundaryScanner(int maxScan, ISet<char> boundaryChars){this.m_maxScan = maxScan;this.m_boundaryChars = boundaryChars;} |
public ObjectId getObjectId() {return getLeaf().getObjectId();} | public virtual ObjectId GetObjectId(){return GetLeaf().GetObjectId();} |
public void drawLine(int x1, int y1, int x2, int y2, int width){HSSFSimpleShape shape = escherGroup.createShape(new HSSFChildAnchor(x1, y1, x2, y2) );shape.setShapeType(HSSFSimpleShape.OBJECT_TYPE_LINE);shape.setLineWidth(width);shape.setLineStyleColor(foreground.getRed(), foreground.getGreen(), foreground.getBlue());} | public void DrawLine(int x1, int y1, int x2, int y2, int width){HSSFSimpleShape shape = escherGroup.CreateShape(new HSSFChildAnchor(x1, y1, x2, y2));shape.ShapeType = (HSSFSimpleShape.OBJECT_TYPE_LINE);shape.LineWidth = (width);shape.SetLineStyleColor(foreground.R, foreground.G, foreground.B);} |
public ReverseBytesReader(byte[] bytes) {this.bytes = bytes;} | public ReverseBytesReader(byte[] bytes){this.bytes = bytes;} |
public GetActiveNamesResult getActiveNames(GetActiveNamesRequest request) {request = beforeClientExecution(request);return executeGetActiveNames(request);} | public virtual GetActiveNamesResponse GetActiveNames(GetActiveNamesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetActiveNamesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetActiveNamesResponseUnmarshaller.Instance;return Invoke<GetActiveNamesResponse>(request, options);} |
public MergeResult getFailingResult() {return failingResult;} | public virtual MergeCommandResult GetFailingResult(){return failingResult;} |
public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[AREA]\n");buffer.append(" .formatFlags = ").append("0x").append(HexDump.toHex( getFormatFlags ())).append(" (").append( getFormatFlags() ).append(" )");buffer.append(System.getProperty("line.separator"));buffer.append(" .stacked = ").append(isStacked()).append('\n');buffer.append(" .displayAsPercentage = ").append(isDisplayAsPercentage()).append('\n');buffer.append(" .shadow = ").append(isShadow()).append('\n');buffer.append("[/AREA]\n");return buffer.toString();} | public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[AREA]\n");buffer.Append(" .formatFlags = ").Append("0x").Append(HexDump.ToHex(FormatFlags)).Append(" (").Append(FormatFlags).Append(" )");buffer.Append(Environment.NewLine);buffer.Append(" .stacked = ").Append(IsStacked).Append('\n');buffer.Append(" .DisplayAsPercentage = ").Append(IsDisplayAsPercentage).Append('\n');buffer.Append(" .shadow = ").Append(IsShadow).Append('\n');buffer.Append("[/AREA]\n");return buffer.ToString();} |
public BatchCreateVariableResult batchCreateVariable(BatchCreateVariableRequest request) {request = beforeClientExecution(request);return executeBatchCreateVariable(request);} | public virtual BatchCreateVariableResponse BatchCreateVariable(BatchCreateVariableRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchCreateVariableRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchCreateVariableResponseUnmarshaller.Instance;return Invoke<BatchCreateVariableResponse>(request, options);} |
public final boolean isReuseAsIs() {return (flags & REUSE_AS_IS) != 0;} | public virtual bool IsReuseAsIs(){return (flags & REUSE_AS_IS) != 0;} |
public String toString() {return "[PRINTGRIDLINES]\n" +" .printgridlines = " + getPrintGridlines() +"\n" +"[/PRINTGRIDLINES]\n";} | public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[PRINTGRIDLINES]\n");buffer.Append(" .printgridlines = ").Append(PrintGridlines).Append("\n");buffer.Append("[/PRINTGRIDLINES]\n");return buffer.ToString();} |
public ApplySecurityGroupsToClientVpnTargetNetworkResult applySecurityGroupsToClientVpnTargetNetwork(ApplySecurityGroupsToClientVpnTargetNetworkRequest request) {request = beforeClientExecution(request);return executeApplySecurityGroupsToClientVpnTargetNetwork(request);} | public virtual ApplySecurityGroupsToClientVpnTargetNetworkResponse ApplySecurityGroupsToClientVpnTargetNetwork(ApplySecurityGroupsToClientVpnTargetNetworkRequest request){var options = new InvokeOptions();options.RequestMarshaller = ApplySecurityGroupsToClientVpnTargetNetworkRequestMarshaller.Instance;options.ResponseUnmarshaller = ApplySecurityGroupsToClientVpnTargetNetworkResponseUnmarshaller.Instance;return Invoke<ApplySecurityGroupsToClientVpnTargetNetworkResponse>(request, options);} |
public DetachInternetGatewayResult detachInternetGateway(DetachInternetGatewayRequest request) {request = beforeClientExecution(request);return executeDetachInternetGateway(request);} | public virtual DetachInternetGatewayResponse DetachInternetGateway(DetachInternetGatewayRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetachInternetGatewayRequestMarshaller.Instance;options.ResponseUnmarshaller = DetachInternetGatewayResponseUnmarshaller.Instance;return Invoke<DetachInternetGatewayResponse>(request, options);} |
public static final RevFilter after(long ts) {return new After(ts);} | public static RevFilter After(DateTime ts){return After(ts.GetTime());} |
public DescribeCampaignResult describeCampaign(DescribeCampaignRequest request) {request = beforeClientExecution(request);return executeDescribeCampaign(request);} | public virtual DescribeCampaignResponse DescribeCampaign(DescribeCampaignRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeCampaignRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeCampaignResponseUnmarshaller.Instance;return Invoke<DescribeCampaignResponse>(request, options);} |
public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[INDEX]\n");buffer.append(" .firstrow = ").append(Integer.toHexString(getFirstRow())).append("\n");buffer.append(" .lastrowadd1 = ").append(Integer.toHexString(getLastRowAdd1())).append("\n");for (int k = 0; k < getNumDbcells(); k++) {buffer.append(" .dbcell_").append(k).append(" = ").append(Integer.toHexString(getDbcellAt(k))).append("\n");}buffer.append("[/INDEX]\n");return buffer.toString();} | public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[INDEX]\n");buffer.Append(" .firstrow = ").Append(StringUtil.ToHexString(FirstRow)).Append("\n");buffer.Append(" .lastrowadd1 = ").Append(StringUtil.ToHexString(LastRowAdd1)).Append("\n");for (int k = 0; k < NumDbcells; k++){buffer.Append(" .dbcell_" + k + " = ").Append(StringUtil.ToHexString(GetDbcellAt(k))).Append("\n");}buffer.Append("[/INDEX]\n");return buffer.ToString();} |
public UserSViewEnd clone() {return copy();} | public override Object Clone(){return CloneViaReserialise();} |
public final float averageCharsPerByte() {return averageCharsPerByte;} | public float averageCharsPerByte(){return _averageCharsPerByte;} |
public ListTimeLinePhotosRequest() {super("CloudPhoto", "2017-07-11", "ListTimeLinePhotos", "cloudphoto");setProtocol(ProtocolType.HTTPS);} | public ListTimeLinePhotosRequest(): base("CloudPhoto", "2017-07-11", "ListTimeLinePhotos", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;} |
public String toString() {return getClass().getName() + " [" +formatAsString() +"]";} | public override String ToString(){StringBuilder sb = new StringBuilder(64);sb.Append(GetType().Name).Append(" [");sb.Append(FormatAsString());sb.Append("]");return sb.ToString();} |
public RunTaskResult runTask(RunTaskRequest request) {request = beforeClientExecution(request);return executeRunTask(request);} | public virtual RunTaskResponse RunTask(RunTaskRequest request){var options = new InvokeOptions();options.RequestMarshaller = RunTaskRequestMarshaller.Instance;options.ResponseUnmarshaller = RunTaskResponseUnmarshaller.Instance;return Invoke<RunTaskResponse>(request, options);} |
public void setCollector(Collector collector) {this.collector = collector;} | public virtual void SetCollector(ICollector collector){this.collector = collector;} |
public String toString() {return slice.toString()+":"+ postingsEnum;} | public override string ToString(){return Slice.ToString() + ":" + DocsAndPositionsEnum;} |
public void addFieldConfigListener(FieldConfigListener listener) {this.listeners.add(listener);} | public virtual void AddFieldConfigListener(IFieldConfigListener listener){this.listeners.AddLast(listener);} |
public Result getResult() {return result;} | public virtual RefUpdate.Result GetResult(){return result;} |
public ListNamedQueriesResult listNamedQueries(ListNamedQueriesRequest request) {request = beforeClientExecution(request);return executeListNamedQueries(request);} | public virtual ListNamedQueriesResponse ListNamedQueries(ListNamedQueriesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListNamedQueriesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListNamedQueriesResponseUnmarshaller.Instance;return Invoke<ListNamedQueriesResponse>(request, options);} |
public URIish setPort(int n) {final URIish r = new URIish(this);r.port = n > 0 ? n : -1;return r;} | public virtual NGit.Transport.URIish SetPort(int n){NGit.Transport.URIish r = new NGit.Transport.URIish(this);r.port = n > 0 ? n : -1;return r;} |
public void serialize(LittleEndianOutput out) {out.writeShort(_flags);} | public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(_flags);} |
public byte[] getBuffer() {return buf;} | public virtual byte[] GetBuffer(){return buf;} |
public String getSignerVersion() {return "1.0";} | public override string GetSignerVersion(){return "1.0";} |
public DBParameterGroup copyDBParameterGroup(CopyDBParameterGroupRequest request) {request = beforeClientExecution(request);return executeCopyDBParameterGroup(request);} | public virtual CopyDBParameterGroupResponse CopyDBParameterGroup(CopyDBParameterGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = CopyDBParameterGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = CopyDBParameterGroupResponseUnmarshaller.Instance;return Invoke<CopyDBParameterGroupResponse>(request, options);} |
public PackedObjectInfo getObject(int nth) {return entries[nth];} | public virtual PackedObjectInfo GetObject(int nth){return entries[nth];} |
public CreateUserSourceAccountRequest() {super("cr", "2016-06-07", "CreateUserSourceAccount", "cr");setUriPattern("/users/sourceAccount");setMethod(MethodType.PUT);} | public CreateUserSourceAccountRequest(): base("cr", "2016-06-07", "CreateUserSourceAccount", "cr", "openAPI"){UriPattern = "/users/sourceAccount";Method = MethodType.PUT;} |
Subsets and Splits