java
stringlengths
28
1.4k
C#
stringlengths
27
1.38k
public DescribeSnapshotsResult describeSnapshots(DescribeSnapshotsRequest request) {request = beforeClientExecution(request);return executeDescribeSnapshots(request);}
public virtual DescribeSnapshotsResponse DescribeSnapshots(DescribeSnapshotsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeSnapshotsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeSnapshotsResponseUnmarshaller.Instance;return Invoke<DescribeSnapshotsResponse>(request, options);}
public BatchDeleteClusterSnapshotsResult batchDeleteClusterSnapshots(BatchDeleteClusterSnapshotsRequest request) {request = beforeClientExecution(request);return executeBatchDeleteClusterSnapshots(request);}
public virtual BatchDeleteClusterSnapshotsResponse BatchDeleteClusterSnapshots(BatchDeleteClusterSnapshotsRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchDeleteClusterSnapshotsRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchDeleteClusterSnapshotsResponseUnmarshaller.Instance;return Invoke<BatchDeleteClusterSnapshotsResponse>(request, options);}
public DescribeClientVpnRoutesResult describeClientVpnRoutes(DescribeClientVpnRoutesRequest request) {request = beforeClientExecution(request);return executeDescribeClientVpnRoutes(request);}
public virtual DescribeClientVpnRoutesResponse DescribeClientVpnRoutes(DescribeClientVpnRoutesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeClientVpnRoutesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeClientVpnRoutesResponseUnmarshaller.Instance;return Invoke<DescribeClientVpnRoutesResponse>(request, options);}
public String toString() {String padd = getPadding();StringBuilder sb = new StringBuilder(super.toString());sb.append(parallel ? " [" : " {");sb.append(NEW_LINE);for (final PerfTask task : tasks) {sb.append(task.toString());sb.append(NEW_LINE);}sb.append(padd);sb.append(!letChildReport ? ">" : (parallel ? "]" : "}"));if (fixedTime) {sb.append(' ').append(NumberFormat.getNumberInstance(Locale.ROOT).format(runTimeSec)).append('s');} else if (repetitions>1) {sb.append(" * ").append(repetitions);} else if (repetitions==REPEAT_EXHAUST) {sb.append(" * EXHAUST");}if (rate>0) {sb.append(", rate: ").append(rate).append('/').append(perMin ? "min" : "sec");}if (getRunInBackground()) {sb.append(" &");int x = getBackgroundDeltaPriority();if (x != 0) {sb.append(x);}}return sb.toString();}
public override string ToString(){string padd = GetPadding();StringBuilder sb = new StringBuilder(base.ToString());sb.Append(parallel ? " [" : " {");sb.Append(NEW_LINE);foreach (PerfTask task in tasks){sb.Append(task.ToString());sb.Append(NEW_LINE);}sb.Append(padd);sb.Append(!letChildReport ? ">" : (parallel ? "]" : "}"));if (fixedTime){sb.AppendFormat(CultureInfo.InvariantCulture, " {0:N}s", runTimeSec);}else if (repetitions > 1){sb.Append(" * " + repetitions);}else if (repetitions == REPEAT_EXHAUST){sb.Append(" * EXHAUST");}if (rate > 0){sb.Append(", rate: " + rate + "/" + (perMin ? "min" : "sec"));}if (RunInBackground){sb.Append(" &");int x = BackgroundDeltaPriority;if (x != 0){sb.Append(x);}}return sb.ToString();}
public void serialize(LittleEndianOutput out) {out.writeDouble(field_1_minimumAxisValue);out.writeDouble(field_2_maximumAxisValue);out.writeDouble(field_3_majorIncrement);out.writeDouble(field_4_minorIncrement);out.writeDouble(field_5_categoryAxisCross);out.writeShort(field_6_options);}
public override void Serialize(ILittleEndianOutput out1){out1.WriteDouble(field_1_minimumAxisValue);out1.WriteDouble(field_2_maximumAxisValue);out1.WriteDouble(field_3_majorIncrement);out1.WriteDouble(field_4_minorIncrement);out1.WriteDouble(field_5_categoryAxisCross);out1.WriteShort(field_6_options);}
public final void makeReadOnly() {readOnly = true;}
public void MakeReadOnly(){readOnly = true;}
public DescribeDirectConnectGatewaysResult describeDirectConnectGateways(DescribeDirectConnectGatewaysRequest request) {request = beforeClientExecution(request);return executeDescribeDirectConnectGateways(request);}
public virtual DescribeDirectConnectGatewaysResponse DescribeDirectConnectGateways(DescribeDirectConnectGatewaysRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDirectConnectGatewaysRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDirectConnectGatewaysResponseUnmarshaller.Instance;return Invoke<DescribeDirectConnectGatewaysResponse>(request, options);}
public GetUsagePlanKeyResult getUsagePlanKey(GetUsagePlanKeyRequest request) {request = beforeClientExecution(request);return executeGetUsagePlanKey(request);}
public virtual GetUsagePlanKeyResponse GetUsagePlanKey(GetUsagePlanKeyRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetUsagePlanKeyRequestMarshaller.Instance;options.ResponseUnmarshaller = GetUsagePlanKeyResponseUnmarshaller.Instance;return Invoke<GetUsagePlanKeyResponse>(request, options);}
public DescribeVpcEndpointConnectionNotificationsResult describeVpcEndpointConnectionNotifications(DescribeVpcEndpointConnectionNotificationsRequest request) {request = beforeClientExecution(request);return executeDescribeVpcEndpointConnectionNotifications(request);}
public virtual DescribeVpcEndpointConnectionNotificationsResponse DescribeVpcEndpointConnectionNotifications(DescribeVpcEndpointConnectionNotificationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeVpcEndpointConnectionNotificationsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeVpcEndpointConnectionNotificationsResponseUnmarshaller.Instance;return Invoke<DescribeVpcEndpointConnectionNotificationsResponse>(request, options);}
public UpdateGatewayGroupResult updateGatewayGroup(UpdateGatewayGroupRequest request) {request = beforeClientExecution(request);return executeUpdateGatewayGroup(request);}
public virtual UpdateGatewayGroupResponse UpdateGatewayGroup(UpdateGatewayGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateGatewayGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateGatewayGroupResponseUnmarshaller.Instance;return Invoke<UpdateGatewayGroupResponse>(request, options);}
public DetachClassicLinkVpcResult detachClassicLinkVpc(DetachClassicLinkVpcRequest request) {request = beforeClientExecution(request);return executeDetachClassicLinkVpc(request);}
public virtual DetachClassicLinkVpcResponse DetachClassicLinkVpc(DetachClassicLinkVpcRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetachClassicLinkVpcRequestMarshaller.Instance;options.ResponseUnmarshaller = DetachClassicLinkVpcResponseUnmarshaller.Instance;return Invoke<DetachClassicLinkVpcResponse>(request, options);}
public ListOperationsResult listOperations() {return listOperations(new ListOperationsRequest());}
public virtual ListOperationsResponse ListOperations(){return ListOperations(new ListOperationsRequest());}
public BatchDeletePhoneNumberResult batchDeletePhoneNumber(BatchDeletePhoneNumberRequest request) {request = beforeClientExecution(request);return executeBatchDeletePhoneNumber(request);}
public virtual BatchDeletePhoneNumberResponse BatchDeletePhoneNumber(BatchDeletePhoneNumberRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchDeletePhoneNumberRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchDeletePhoneNumberResponseUnmarshaller.Instance;return Invoke<BatchDeletePhoneNumberResponse>(request, options);}
public void setExpireAgeMillis(long expireAgeMillis) {this.expireAgeMillis = expireAgeMillis;expire = null;}
public virtual void SetExpireAgeMillis(long expireAgeMillis){this.expireAgeMillis = expireAgeMillis;expire = null;}
public DeactivateEventSourceResult deactivateEventSource(DeactivateEventSourceRequest request) {request = beforeClientExecution(request);return executeDeactivateEventSource(request);}
public virtual DeactivateEventSourceResponse DeactivateEventSource(DeactivateEventSourceRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeactivateEventSourceRequestMarshaller.Instance;options.ResponseUnmarshaller = DeactivateEventSourceResponseUnmarshaller.Instance;return Invoke<DeactivateEventSourceResponse>(request, options);}
public void readBytes(byte[] b, int offset, int len) {System.arraycopy(bytes, pos, b, offset, len);pos += len;}
public override void ReadBytes(byte[] b, int offset, int len){Array.Copy(bytes, pos, b, offset, len);pos += len;}
public IntBuffer put(int index, int c) {throw new ReadOnlyBufferException();}
public override java.nio.IntBuffer put(int index, int c){throw new java.nio.ReadOnlyBufferException();}
public SendUsersMessagesResult sendUsersMessages(SendUsersMessagesRequest request) {request = beforeClientExecution(request);return executeSendUsersMessages(request);}
public virtual SendUsersMessagesResponse SendUsersMessages(SendUsersMessagesRequest request){var options = new InvokeOptions();options.RequestMarshaller = SendUsersMessagesRequestMarshaller.Instance;options.ResponseUnmarshaller = SendUsersMessagesResponseUnmarshaller.Instance;return Invoke<SendUsersMessagesResponse>(request, options);}
public MissingFormatWidthException(String s) {if (s == null) {throw new NullPointerException();}this.s = s;}
public MissingFormatWidthException(string s){if (s == null){throw new System.ArgumentNullException();}this.s = s;}
public DescribeVolumesRequest(java.util.List<String> volumeIds) {setVolumeIds(volumeIds);}
public DescribeVolumesRequest(List<string> volumeIds){_volumeIds = volumeIds;}
public SubmitCutoutTaskRequest() {super("lubancloud", "2018-05-09", "SubmitCutoutTask", "luban");setMethod(MethodType.POST);}
public SubmitCutoutTaskRequest(): base("lubancloud", "2018-05-09", "SubmitCutoutTask", "luban", "openAPI"){Method = MethodType.POST;}
public DoubleBuffer asReadOnlyBuffer() {return duplicate();}
public override java.nio.DoubleBuffer asReadOnlyBuffer(){return duplicate();}
@Override public int size() {return subMap.size();}
public override int size(){return this._enclosing._size;}
public CreateLabelsResult createLabels(CreateLabelsRequest request) {request = beforeClientExecution(request);return executeCreateLabels(request);}
public virtual CreateLabelsResponse CreateLabels(CreateLabelsRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateLabelsRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateLabelsResponseUnmarshaller.Instance;return Invoke<CreateLabelsResponse>(request, options);}
public boolean isEmpty() {return size == 0;}
public bool isEmpty(){return size == 0;}
public int getRenameScore() {return outCandidate.renameScore;}
public virtual int GetRenameScore(){return currentSource.renameScore;}
public SeriesTextRecord() {field_4_text = "";is16bit = false;}
public SeriesTextRecord(){field_4_text = "";is16bit = false;}
public char get() {if (position == limit) {throw new BufferUnderflowException();}return sequence.charAt(position++);}
public override char get(){if (_position == _limit){throw new java.nio.BufferUnderflowException();}return sequence[_position++];}
public static double irr(double[] values, double guess) {double x0 = guess;for (int i = 0; i < MAX_ITERATION_COUNT; i++) {final double factor = 1.0 + x0;double denominator = factor;if (denominator == 0) {return Double.NaN;}double fValue = values[0];double fDerivative = 0;for (int k = 1; k < values.length; k++) {final double value = values[k];fValue += value / denominator;denominator *= factor;fDerivative -= k * value / denominator;}if (fDerivative == 0) {return Double.NaN;}double x1 = x0 - fValue/fDerivative;if (Math.abs(x1 - x0) <= ABSOLUTE_ACCURACY) {return x1;}x0 = x1;}return Double.NaN;}
public static double irr(double[] values, double guess){int maxIterationCount = 20;double absoluteAccuracy = 1E-7;double x0 = guess;double x1;int i = 0;while (i < maxIterationCount){double fValue = 0;double fDerivative = 0;for (int k = 0; k < values.Length; k++){fValue += values[k] / Math.Pow(1.0 + x0, k);fDerivative += -k * values[k] / Math.Pow(1.0 + x0, k + 1);}x1 = x0 - fValue / fDerivative;if (Math.Abs(x1 - x0) <= absoluteAccuracy){return x1;}x0 = x1;++i;}return Double.NaN;}
public static String toHex(long value) {StringBuilder sb = new StringBuilder(16);writeHex(sb, value, 16, "");return sb.toString();}
public static string ToHex(short value){return ToHex((long)value, 4);}
public void skip() {_type = SKIP;}
public virtual void Skip(){_type = TokenTypes.Skip;}
public HSSFClientAnchor getPreferredSize(){return getPreferredSize(1.0);}
public IClientAnchor GetPreferredSize(){return GetPreferredSize(1.0);}
public void fromRaw(int[] ints) {fromRaw(ints, 0);}
public virtual void FromRaw(int[] ints){FromRaw(ints, 0);}
public ModifyClusterParameterGroupResult modifyClusterParameterGroup(ModifyClusterParameterGroupRequest request) {request = beforeClientExecution(request);return executeModifyClusterParameterGroup(request);}
public virtual ModifyClusterParameterGroupResponse ModifyClusterParameterGroup(ModifyClusterParameterGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyClusterParameterGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyClusterParameterGroupResponseUnmarshaller.Instance;return Invoke<ModifyClusterParameterGroupResponse>(request, options);}
public boolean get(URIish uri, List<CredentialItem> items)throws UnsupportedCredentialItem {return get(uri, items.toArray(new CredentialItem[0]));}
public virtual bool Get(URIish uri, IList<CredentialItem> items){return Get(uri, Sharpen.Collections.ToArray(items, new CredentialItem[items.Count]));}
public synchronized FormatType getFormat() {return acceptFormat;}
public FormatType GetFormat(){return acceptFormat;}
public ListTypesResult listTypes(ListTypesRequest request) {request = beforeClientExecution(request);return executeListTypes(request);}
public virtual ListTypesResponse ListTypes(ListTypesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTypesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTypesResponseUnmarshaller.Instance;return Invoke<ListTypesResponse>(request, options);}
public K next() { return nextEntry().key; }
public override K next(){return this.nextEntry().key;}
public StartAssessmentRunResult startAssessmentRun(StartAssessmentRunRequest request) {request = beforeClientExecution(request);return executeStartAssessmentRun(request);}
public virtual StartAssessmentRunResponse StartAssessmentRun(StartAssessmentRunRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartAssessmentRunRequestMarshaller.Instance;options.ResponseUnmarshaller = StartAssessmentRunResponseUnmarshaller.Instance;return Invoke<StartAssessmentRunResponse>(request, options);}
public boolean equals(Object obj) {if ( this==obj ) return true;if ( !(obj instanceof OR) ) return false;OR other = (OR)obj;return Arrays.equals(this.opnds, other.opnds);}
public override bool Equals(object obj){if (this == obj){return true;}if (!(obj is SemanticContext.OR)){return false;}SemanticContext.OR other = (SemanticContext.OR)obj;return Arrays.Equals(this.opnds, other.opnds);}
public boolean equals(Object other) {return ((PointTransitions) other).point == point;}
public override bool Equals(object other){return ((PointTransitions)other).point == point;}
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1,ValueEval arg2, ValueEval arg3) {throw new RuntimeException("Incomplete code"+ " - don't know how to support the 'area_num' parameter yet)");}
public ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1,ValueEval arg2, ValueEval arg3){throw new Exception("Incomplete code"+ " - don't know how to support the 'area_num' parameter yet)");}
public DescribeClusterParametersResult describeClusterParameters(DescribeClusterParametersRequest request) {request = beforeClientExecution(request);return executeDescribeClusterParameters(request);}
public virtual DescribeClusterParametersResponse DescribeClusterParameters(DescribeClusterParametersRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeClusterParametersRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeClusterParametersResponseUnmarshaller.Instance;return Invoke<DescribeClusterParametersResponse>(request, options);}
public String typeName() {return typeName;}
public virtual string typeName(){return _typeName;}
public CreateModelPackageResult createModelPackage(CreateModelPackageRequest request) {request = beforeClientExecution(request);return executeCreateModelPackage(request);}
public virtual CreateModelPackageResponse CreateModelPackage(CreateModelPackageRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateModelPackageRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateModelPackageResponseUnmarshaller.Instance;return Invoke<CreateModelPackageResponse>(request, options);}
public long ramBytesUsed() {long mem = RamUsageEstimator.shallowSizeOf(this) + RamUsageEstimator.sizeOf(offsets);if (offsets != ordinals) {mem += RamUsageEstimator.sizeOf(ordinals);}return mem;}
public long RamBytesUsed(){long mem = RamUsageEstimator.ShallowSizeOf(this) + RamUsageEstimator.SizeOf(Offsets);if (Offsets != Ordinals){mem += RamUsageEstimator.SizeOf(Ordinals);}return mem;}
public final int get(int index) {checkIndex(index);return backingArray[offset + index];}
public sealed override int get(int index){checkIndex(index);return backingArray[offset + index];}
public final State captureState() {final State state = this.getCurrentState();return (state == null) ? null : state.clone();}
public virtual State CaptureState(){State state = this.GetCurrentState();return (state == null) ? null : (State)state.Clone();}
public String toString() {CellReference cr = new CellReference(getRow(), getColumn());return getClass().getName() + "[" +_evaluator.getSheetNameRange() +'!' +cr.formatAsString() +"]";}
public override String ToString(){CellReference cr = new CellReference(Row, Column);StringBuilder sb = new StringBuilder();sb.Append(GetType().Name).Append("[");sb.Append(_evaluator.SheetNameRange);sb.Append('!');sb.Append(cr.FormatAsString());sb.Append("]");return sb.ToString();}
public CharBuffer compact() {throw new ReadOnlyBufferException();}
public override java.nio.CharBuffer compact(){throw new java.nio.ReadOnlyBufferException();}
public DetectCustomLabelsResult detectCustomLabels(DetectCustomLabelsRequest request) {request = beforeClientExecution(request);return executeDetectCustomLabels(request);}
public virtual DetectCustomLabelsResponse DetectCustomLabels(DetectCustomLabelsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetectCustomLabelsRequestMarshaller.Instance;options.ResponseUnmarshaller = DetectCustomLabelsResponseUnmarshaller.Instance;return Invoke<DetectCustomLabelsResponse>(request, options);}
public int indexOf(final int o){int rval = 0;for (; rval < _limit; rval++){if (o == _array[ rval ]){break;}}if (rval == _limit){rval = -1; }return rval;}
public int IndexOf(int o){int rval = 0;for (; rval < _limit; rval++){if (o == _array[rval]){break;}}if (rval == _limit){rval = -1; }return rval;}
public boolean matches(int symbol, int minVocabSymbol, int maxVocabSymbol) {return symbol >= minVocabSymbol && symbol <= maxVocabSymbol;}
public override bool Matches(int symbol, int minVocabSymbol, int maxVocabSymbol){return symbol >= minVocabSymbol && symbol <= maxVocabSymbol;}
@Override public int indexOf(Object object) {Object[] a = array;int s = size;if (object != null) {for (int i = 0; i < s; i++) {if (object.equals(a[i])) {return i;}}} else {for (int i = 0; i < s; i++) {if (a[i] == null) {return i;}}}return -1;}
public override int indexOf(object @object){if (@object != null){{for (int i = 0; i < a.Length; i++){if (@object.Equals(a[i])){return i;}}}}else{{for (int i = 0; i < a.Length; i++){if ((object)a[i] == null){return i;}}}}return -1;}
public void setObjectChecking(boolean on) {setObjectChecker(on ? new ObjectChecker() : null);}
public virtual void SetObjectChecking(bool on){SetObjectChecker(on ? new ObjectChecker() : null);}
public ModifyVpcEndpointResult modifyVpcEndpoint(ModifyVpcEndpointRequest request) {request = beforeClientExecution(request);return executeModifyVpcEndpoint(request);}
public virtual ModifyVpcEndpointResponse ModifyVpcEndpoint(ModifyVpcEndpointRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyVpcEndpointRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyVpcEndpointResponseUnmarshaller.Instance;return Invoke<ModifyVpcEndpointResponse>(request, options);}
public DeleteMethodResponseResult deleteMethodResponse(DeleteMethodResponseRequest request) {request = beforeClientExecution(request);return executeDeleteMethodResponse(request);}
public virtual DeleteMethodResponseResponse DeleteMethodResponse(DeleteMethodResponseRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteMethodResponseRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteMethodResponseResponseUnmarshaller.Instance;return Invoke<DeleteMethodResponseResponse>(request, options);}
public StringRecord( RecordInputStream in) {int field_1_string_length = in.readUShort();_is16bitUnicode = in.readByte() != 0x00;if (_is16bitUnicode){_text = in.readUnicodeLEString(field_1_string_length);} else {_text = in.readCompressedUnicode(field_1_string_length);}}
public StringRecord(RecordInputStream in1){int field_1_string_length = in1.ReadShort();_is16bitUnicode = in1.ReadByte() != 0x00;if (_is16bitUnicode){_text = in1.ReadUnicodeLEString(field_1_string_length);}else{_text = in1.ReadCompressedUnicode(field_1_string_length);}}
public DrawingRecord(RecordInputStream in) {recordData = in.readRemainder();}
public DrawingRecord(RecordInputStream in1){recordData = in1.ReadRemainder();}
public GetProfileResult getProfile(GetProfileRequest request) {request = beforeClientExecution(request);return executeGetProfile(request);}
public virtual GetProfileResponse GetProfile(GetProfileRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetProfileRequestMarshaller.Instance;options.ResponseUnmarshaller = GetProfileResponseUnmarshaller.Instance;return Invoke<GetProfileResponse>(request, options);}
public DescribeTableResult describeTable(String tableName) {return describeTable(new DescribeTableRequest().withTableName(tableName));}
public virtual DescribeTableResponse DescribeTable(string tableName){var request = new DescribeTableRequest();request.TableName = tableName;return DescribeTable(request);}
public GetSegmentResult getSegment(GetSegmentRequest request) {request = beforeClientExecution(request);return executeGetSegment(request);}
public virtual GetSegmentResponse GetSegment(GetSegmentRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetSegmentRequestMarshaller.Instance;options.ResponseUnmarshaller = GetSegmentResponseUnmarshaller.Instance;return Invoke<GetSegmentResponse>(request, options);}
public IntBuffer duplicate() {return copy(this, mark);}
public override java.nio.IntBuffer duplicate(){return copy(this, _mark);}
public PutAlarmResult putAlarm(PutAlarmRequest request) {request = beforeClientExecution(request);return executePutAlarm(request);}
public virtual PutAlarmResponse PutAlarm(PutAlarmRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutAlarmRequestMarshaller.Instance;options.ResponseUnmarshaller = PutAlarmResponseUnmarshaller.Instance;return Invoke<PutAlarmResponse>(request, options);}
public boolean matches(ValueEval x) {int testValue;if(x instanceof StringEval) {return false;} else if((x instanceof BoolEval)) {BoolEval be = (BoolEval) x;testValue = boolToInt(be.getBooleanValue());} else if((x instanceof BlankEval)) {switch (getCode()) {case CmpOp.NE:return true;default:return false;}} else if((x instanceof NumberEval)) {switch (getCode()) {case CmpOp.NE:return true;default:return false;}} else {return false;}return evaluate(testValue - _value);}
public override bool Matches(ValueEval x){int testValue;if (x is StringEval){if (true){ return false;}StringEval se = (StringEval)x;Boolean? val = ParseBoolean(se.StringValue);if (val == null){return false;}testValue = BoolToInt(val.Value);}else if ((x is BoolEval)){BoolEval be = (BoolEval)x;testValue = BoolToInt(be.BooleanValue);}else if ((x is BlankEval)){switch (Code){case CmpOp.NE:return true;default:return false;}}else if ((x is NumberEval)){switch (Code){case CmpOp.NE:return true;default:return false;}}else{return false;}return Evaluate(testValue - _value);}
public DeleteTrialResult deleteTrial(DeleteTrialRequest request) {request = beforeClientExecution(request);return executeDeleteTrial(request);}
public virtual DeleteTrialResponse DeleteTrial(DeleteTrialRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteTrialRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteTrialResponseUnmarshaller.Instance;return Invoke<DeleteTrialResponse>(request, options);}
public String toString() {return set.toString();}
public override string ToString(){return set.ToString();}
public String toString(String field) {StringBuilder buffer = new StringBuilder();if (!getField().equals(field)) {buffer.append(getField());buffer.append(":");}buffer.append(includeLower ? '[' : '{');buffer.append(lowerTerm != null ? ("*".equals(Term.toString(lowerTerm)) ? "\\*" : Term.toString(lowerTerm)) : "*");buffer.append(" TO ");buffer.append(upperTerm != null ? ("*".equals(Term.toString(upperTerm)) ? "\\*" : Term.toString(upperTerm)) : "*");buffer.append(includeUpper ? ']' : '}');return buffer.toString();}
public override string ToString(string field){StringBuilder buffer = new StringBuilder();if (!Field.Equals(field, StringComparison.Ordinal)){buffer.Append(Field);buffer.Append(":");}buffer.Append(includeLower ? '[' : '{');buffer.Append(lowerTerm != null ? ("*".Equals(Term.ToString(lowerTerm), StringComparison.Ordinal) ? "\\*" : Term.ToString(lowerTerm)) : "*");buffer.Append(" TO ");buffer.Append(upperTerm != null ? ("*".Equals(Term.ToString(upperTerm), StringComparison.Ordinal) ? "\\*" : Term.ToString(upperTerm)) : "*");buffer.Append(includeUpper ? ']' : '}');buffer.Append(ToStringUtils.Boost(Boost));return buffer.ToString();}
public void reset() {count = 0;}
public void Reset(){arriving = null;leaving = null;}
public int[] init() {return bytesStart = new int[ArrayUtil.oversize(initSize, Integer.BYTES)];}
public override int[] Init(){return bytesStart = new int[ArrayUtil.Oversize(m_initSize, RamUsageEstimator.NUM_BYTES_INT32)];}
public int codePointBefore(int index) {if (index < 1 || index > count) {throw indexAndLength(index);}return Character.codePointBefore(value, index);}
public virtual int codePointBefore(int index){if (index < 1 || index > count){throw indexAndLength(index);}return Sharpen.CharHelper.CodePointBefore(value, index);}
public String toString() {return "SkipWorkTree(" + treeIdx + ")";}
public override string ToString(){return "SkipWorkTree(" + treeIdx + ")";}
public GetLifecyclePoliciesResult getLifecyclePolicies(GetLifecyclePoliciesRequest request) {request = beforeClientExecution(request);return executeGetLifecyclePolicies(request);}
public virtual GetLifecyclePoliciesResponse GetLifecyclePolicies(GetLifecyclePoliciesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetLifecyclePoliciesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetLifecyclePoliciesResponseUnmarshaller.Instance;return Invoke<GetLifecyclePoliciesResponse>(request, options);}
public NRTCachingDirectory(Directory delegate, double maxMergeSizeMB, double maxCachedMB) {super(delegate);maxMergeSizeBytes = (long) (maxMergeSizeMB * 1024 * 1024);maxCachedBytes = (long) (maxCachedMB * 1024 * 1024);}
public NRTCachingDirectory(Directory @delegate, double maxMergeSizeMB, double maxCachedMB){this.@delegate = @delegate;maxMergeSizeBytes = (long)(maxMergeSizeMB * 1024 * 1024);maxCachedBytes = (long)(maxCachedMB * 1024 * 1024);}
public void visitContainedRecords(RecordVisitor rv) {visitIfPresent(_protectRecord, rv);visitIfPresent(_objectProtectRecord, rv);visitIfPresent(_scenarioProtectRecord, rv);visitIfPresent(_passwordRecord, rv);}
public override void VisitContainedRecords(RecordVisitor rv){VisitIfPresent(_protectRecord, rv);VisitIfPresent(_objectProtectRecord, rv);VisitIfPresent(_scenarioProtectRecord, rv);VisitIfPresent(_passwordRecord, rv);}
public RefSubRecord(int extBookIndex, int firstSheetIndex, int lastSheetIndex) {_extBookIndex = extBookIndex;_firstSheetIndex = firstSheetIndex;_lastSheetIndex = lastSheetIndex;}
public RefSubRecord(int extBookIndex, int firstSheetIndex, int lastSheetIndex){_extBookIndex = extBookIndex;_firstSheetIndex = firstSheetIndex;_lastSheetIndex = lastSheetIndex;}
public long getEntryLength() {return current().getLength();}
public virtual long GetEntryLength(){return Current().GetLength();}
public String toString() {return getClass().getSimpleName() + "(maxLevels:" + maxLevels + ",ctx:" + ctx + ")";}
public override string ToString(){return GetType().Name + "(maxLevels:" + m_maxLevels + ",ctx:" + m_ctx + ")";}
public BooleanQueryBuilder(QueryBuilder factory) {this.factory = factory;}
public BooleanQueryBuilder(IQueryBuilder factory){this.factory = factory;}
public HSSFShape(EscherContainerRecord spContainer, ObjRecord objRecord) {this._escherContainer = spContainer;this._objRecord = objRecord;this._optRecord = spContainer.getChildById(EscherOptRecord.RECORD_ID);this.anchor = HSSFAnchor.createAnchorFromEscher(spContainer);}
public HSSFShape(EscherContainerRecord spContainer, ObjRecord objRecord){this._escherContainer = spContainer;this._objRecord = objRecord;this._optRecord = (EscherOptRecord)spContainer.GetChildById(EscherOptRecord.RECORD_ID);this.anchor = HSSFAnchor.CreateAnchorFromEscher(spContainer);}
public ListUpdatesResult listUpdates(ListUpdatesRequest request) {request = beforeClientExecution(request);return executeListUpdates(request);}
public virtual ListUpdatesResponse ListUpdates(ListUpdatesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListUpdatesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListUpdatesResponseUnmarshaller.Instance;return Invoke<ListUpdatesResponse>(request, options);}
public IncreaseStreamRetentionPeriodResult increaseStreamRetentionPeriod(IncreaseStreamRetentionPeriodRequest request) {request = beforeClientExecution(request);return executeIncreaseStreamRetentionPeriod(request);}
public virtual IncreaseStreamRetentionPeriodResponse IncreaseStreamRetentionPeriod(IncreaseStreamRetentionPeriodRequest request){var options = new InvokeOptions();options.RequestMarshaller = IncreaseStreamRetentionPeriodRequestMarshaller.Instance;options.ResponseUnmarshaller = IncreaseStreamRetentionPeriodResponseUnmarshaller.Instance;return Invoke<IncreaseStreamRetentionPeriodResponse>(request, options);}
public void writeFloat(float value) throws IOException {checkWritePrimitiveTypes();primitiveTypes.writeFloat(value);}
public virtual void writeFloat(float value){throw new System.NotImplementedException();}
public Collection<Cell> getSubCells() {String[] hashes = GeohashUtils.getSubGeohashes(getGeohash());List<Cell> cells = new ArrayList<>(hashes.length);for (String hash : hashes) {cells.add(new GhCell(hash));}return cells;}
protected internal override ICollection<Cell> GetSubCells(){string[] hashes = GeohashUtils.GetSubGeohashes(Geohash);IList<Cell> cells = new List<Cell>(hashes.Length);foreach (string hash in hashes){cells.Add(new GhCell((GeohashPrefixTree)m_outerInstance, hash));}return cells;}
public StringBuilder insert(int offset, CharSequence s) {insert0(offset, s == null ? "null" : s.toString());return this;}
public java.lang.StringBuilder insert(int offset, char[] ch){insert0(offset, ch);return this;}
public static Collection<ParseTree> findAllTokenNodes(ParseTree t, int ttype) {return findAllNodes(t, ttype, true);}
public static ICollection<IParseTree> FindAllTokenNodes(IParseTree t, int ttype){return FindAllNodes(t, ttype, true);}
public NameIdentifier(String name, boolean isQuoted) {_name = name;_isQuoted = isQuoted;}
public NameIdentifier(String name, bool isQuoted){_name = name;_isQuoted = isQuoted;}
public ObjectLoader open(DiffEntry.Side side, DiffEntry ent)throws IOException {switch (side) {case OLD:return oldSource.open(ent.oldPath, ent.oldId.toObjectId());case NEW:return newSource.open(ent.newPath, ent.newId.toObjectId());default:throw new IllegalArgumentException();}}
public ObjectLoader Open(DiffEntry.Side side, DiffEntry ent){switch (side){case DiffEntry.Side.OLD:{return oldSource.Open(ent.oldPath, ent.oldId.ToObjectId());}case DiffEntry.Side.NEW:{return newSource.Open(ent.newPath, ent.newId.ToObjectId());}default:{throw new ArgumentException();}}}
public DBClusterSnapshot createDBClusterSnapshot(CreateDBClusterSnapshotRequest request) {request = beforeClientExecution(request);return executeCreateDBClusterSnapshot(request);}
public virtual CreateDBClusterSnapshotResponse CreateDBClusterSnapshot(CreateDBClusterSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDBClusterSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDBClusterSnapshotResponseUnmarshaller.Instance;return Invoke<CreateDBClusterSnapshotResponse>(request, options);}
public ExternalBookBlock(String url, String[] sheetNames) {_externalBookRecord = SupBookRecord.createExternalReferences(url, sheetNames);_crnBlocks = new CRNBlock[0];}
public ExternalBookBlock(String url, String[] sheetNames){_externalBookRecord = SupBookRecord.CreateExternalReferences(url, sheetNames);_crnBlocks = new CRNBlock[0];}
public static int compareWithCase(String a, String b) {for (int i = 0; i < a.length() && i < b.length(); i++) {int d = a.charAt(i) - b.charAt(i);if (d != 0)return d;}return a.length() - b.length();}
public static int CompareWithCase(string a, string b){for (int i = 0; i < a.Length && i < b.Length; i++){int d = a[i] - b[i];if (d != 0){return d;}}return a.Length - b.Length;}
public RecallPoint [] getRecallPoints() {return recallPoints.toArray(new RecallPoint[0]);}
public virtual RecallPoint[] GetRecallPoints(){return recallPoints.ToArray();}
public RemoveFacePhotosRequest() {super("CloudPhoto", "2017-07-11", "RemoveFacePhotos", "cloudphoto");setProtocol(ProtocolType.HTTPS);}
public RemoveFacePhotosRequest(): base("CloudPhoto", "2017-07-11", "RemoveFacePhotos", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
public static IntsRef toUTF32(char[] s, int offset, int length, IntsRefBuilder scratch) {int charIdx = offset;int intIdx = 0;final int charLimit = offset + length;while(charIdx < charLimit) {scratch.grow(intIdx+1);final int utf32 = Character.codePointAt(s, charIdx, charLimit);scratch.setIntAt(intIdx, utf32);charIdx += Character.charCount(utf32);intIdx++;}scratch.setLength(intIdx);return scratch.get();}
public static Int32sRef ToUTF32(char[] s, int offset, int length, Int32sRef scratch){int charIdx = offset;int intIdx = 0;int charLimit = offset + length;while (charIdx < charLimit){scratch.Grow(intIdx + 1);int utf32 = Character.CodePointAt(s, charIdx, charLimit);scratch.Int32s[intIdx] = utf32;charIdx += Character.CharCount(utf32);intIdx++;}scratch.Length = intIdx;return scratch;}
public void skipBytes(long count) {pos -= count;}
public override void SkipBytes(int count){pos -= count;}
public void addDataValidation(DVRecord dvRecord) {_validationList.add(dvRecord);_headerRec.setDVRecNo(_validationList.size());}
public void AddDataValidation(DVRecord dvRecord){_validationList.Add(dvRecord);_headerRec.DVRecNo = (_validationList.Count);}
public void setDoubleValue(double value) {if (!(fieldsData instanceof Double)) {throw new IllegalArgumentException("cannot change value type from " + fieldsData.getClass().getSimpleName() + " to Double");}fieldsData = Double.valueOf(value);}
public virtual void SetDoubleValue(double value){if (!(FieldsData is Double)){throw new System.ArgumentException("cannot change value type from " + FieldsData.GetType().Name + " to Double");}FieldsData = new Double(value);}
public DeleteRepoAuthorizationRequest() {super("cr", "2016-06-07", "DeleteRepoAuthorization", "cr");setUriPattern("/repos/[RepoNamespace]/[RepoName]/authorizations/[AuthorizeId]");setMethod(MethodType.DELETE);}
public DeleteRepoAuthorizationRequest(): base("cr", "2016-06-07", "DeleteRepoAuthorization", "cr", "openAPI"){UriPattern = "/repos/[RepoNamespace]/[RepoName]/authorizations/[AuthorizeId]";Method = MethodType.DELETE;}
public final void writeObject(Object object) throws IOException {writeObject(object, false);}
public virtual void writeObject(object @object){throw new System.NotImplementedException();}
public String toString() {byte[] raw = toByteArray();CanonicalTreeParser p = new CanonicalTreeParser();p.reset(raw);StringBuilder r = new StringBuilder();r.append("Tree={");if (!p.eof()) {r.append('\n');try {new ObjectChecker().checkTree(raw);} catch (CorruptObjectException error) {r.append("*** ERROR: ").append(error.getMessage()).append("\n");r.append('\n');}}while (!p.eof()) {final FileMode mode = p.getEntryFileMode();r.append(mode);r.append(' ');r.append(Constants.typeString(mode.getObjectType()));r.append(' ');r.append(p.getEntryObjectId().name());r.append(' ');r.append(p.getEntryPathString());r.append('\n');p.next();}r.append("}");return r.toString();}
public override string ToString(){byte[] raw = ToByteArray();CanonicalTreeParser p = new CanonicalTreeParser();p.Reset(raw);StringBuilder r = new StringBuilder();r.Append("Tree={");if (!p.Eof){r.Append('\n');try{new ObjectChecker().CheckTree(raw);}catch (CorruptObjectException error){r.Append("*** ERROR: ").Append(error.Message).Append("\n");r.Append('\n');}}while (!p.Eof){FileMode mode = p.EntryFileMode;r.Append(mode);r.Append(' ');r.Append(Constants.TypeString(mode.GetObjectType()));r.Append(' ');r.Append(p.EntryObjectId.Name);r.Append(' ');r.Append(p.EntryPathString);r.Append('\n');p.Next();}r.Append("}");return r.ToString();}