question stringlengths 33 1.59k | target stringlengths 33 1.58k |
|---|---|
public CharBuffer compact ( ) { if ( byteBuffer . isReadOnly ( ) ) { throw new ReadOnlyBufferException ( ) ; } byteBuffer . limit ( limit * SizeOf . CHAR ) ; byteBuffer . position ( position * SizeOf . CHAR ) ; byteBuffer . compact ( ) ; byteBuffer . clear ( ) ; position = limit - position ; limit = capacity ; mark = UNSET_MARK ; return this ; } | public override java . nio . CharBuffer compact ( ) { if ( byteBuffer . isReadOnly ( ) ) { throw new java . nio . ReadOnlyBufferException ( ) ; } byteBuffer . limit ( _limit * libcore . io . SizeOf . CHAR ) ; byteBuffer . position ( _position * libcore . io . SizeOf . CHAR ) ; byteBuffer . compact ( ) ; byteBuffer . clear ( ) ; _position = _limit - _position ; _limit = _capacity ; _mark = UNSET_MARK ; return this ; } |
public DirCache getDirCache ( ) { return cache ; } | public virtual DirCache GetDirCache ( ) { return cache ; } |
public PatternReplaceCharFilterFactory ( Map < String , String > args ) { super ( args ) ; pattern = getPattern ( args , "pattern" ) ; replacement = get ( args , "replacement" , "" ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } } | public PatternReplaceCharFilterFactory ( IDictionary < string , string > args ) : base ( args ) { pattern = GetPattern ( args , "pattern" ) ; replacement = Get ( args , "replacement" , "" ) ; maxBlockChars = GetInt32 ( args , "maxBlockChars" , PatternReplaceCharFilter . DEFAULT_MAX_BLOCK_CHARS ) ; if ( args . TryGetValue ( "blockDelimiters" , out blockDelimiters ) ) { args . Remove ( "blockDelimiters" ) ; } if ( args . Count > 0 ) { throw new System . ArgumentException ( "Unknown parameters: " + args ) ; } } |
public boolean getCreateEmptyCells ( ) { return shouldCreateEmptyCells ; } | public bool GetCreateEmptyCells ( ) { return shouldCreateEmptyCells ; } |
public long getIndexSize ( ) { long sz = 8 ; sz += 4 * 4 ; sz += sizeOf ( src ) ; sz += sizeOf ( table ) ; sz += sizeOf ( entries ) ; return sz ; } | public virtual long GetIndexSize ( ) { long sz = 8 ; sz += 4 * 4 ; sz += SizeOf ( src ) ; sz += SizeOf ( table ) ; sz += SizeOf ( entries ) ; return sz ; } |
public ShortBuffer put ( short [ ] src , int srcOffset , int shortCount ) { Arrays . checkOffsetAndCount ( src . length , srcOffset , shortCount ) ; if ( shortCount > remaining ( ) ) { throw new BufferOverflowException ( ) ; } for ( int i = srcOffset ; i < srcOffset + shortCount ; ++ i ) { put ( src [ i ] ) ; } return this ; } | public virtual java . nio . ShortBuffer put ( short [ ] src , int srcOffset , int shortCount ) { java . util . Arrays . checkOffsetAndCount ( src . Length , srcOffset , shortCount ) ; if ( shortCount > remaining ( ) ) { throw new java . nio . BufferOverflowException ( ) ; } { for ( int i = srcOffset ; i < srcOffset + shortCount ; ++ i ) { put ( src [ i ] ) ; } } return this ; } |
public String toString ( ) { if ( getChildren ( ) == null || getChildren ( ) . size ( ) == 0 ) return "<multiPhrase/>" ; StringBuilder sb = new StringBuilder ( ) ; sb . append ( "<multiPhrase>" ) ; for ( QueryNode child : getChildren ( ) ) { sb . append ( "\n" ) ; sb . append ( child . toString ( ) ) ; } sb . append ( "\n</multiPhrase>" ) ; return sb . toString ( ) ; } | public override string ToString ( ) { var children = GetChildren ( ) ; if ( children == null || children . Count == 0 ) return "<multiPhrase/>" ; StringBuilder sb = new StringBuilder ( ) ; sb . Append ( "<multiPhrase>" ) ; foreach ( IQueryNode child in children ) { sb . Append ( "\n" ) ; sb . Append ( child . ToString ( ) ) ; } sb . Append ( "\n</multiPhrase>" ) ; return sb . ToString ( ) ; } |
public GetGatewayResponseResult getGatewayResponse ( GetGatewayResponseRequest request ) { request = beforeClientExecution ( request ) ; return executeGetGatewayResponse ( request ) ; } | public virtual GetGatewayResponseResponse GetGatewayResponse ( GetGatewayResponseRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetGatewayResponseRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetGatewayResponseResponseUnmarshaller . Instance ; return Invoke < GetGatewayResponseResponse > ( request , options ) ; } |
public SubscribeRequest ( String topicArn , String protocol , String endpoint ) { setTopicArn ( topicArn ) ; setProtocol ( protocol ) ; setEndpoint ( endpoint ) ; } | public SubscribeRequest ( string topicArn , string protocol , string endpoint ) { _topicArn = topicArn ; _protocol = protocol ; _endpoint = endpoint ; } |
public void setLengthNormFactors ( int min , int max , float steepness , boolean discountOverlaps ) { this . ln_min = min ; this . ln_max = max ; this . ln_steep = steepness ; this . discountOverlaps = discountOverlaps ; } | public virtual void SetLengthNormFactors ( int min , int max , float steepness , bool discountOverlaps ) { this . ln_min = min ; this . ln_max = max ; this . ln_steep = steepness ; this . DiscountOverlaps = discountOverlaps ; } |
public void start ( ) { mStartTime = ANIMATION_START ; } | public virtual void start ( ) { setStartTime ( - 1 ) ; } |
public DeleteLaunchConfigurationResult deleteLaunchConfiguration ( DeleteLaunchConfigurationRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteLaunchConfiguration ( request ) ; } | public virtual DeleteLaunchConfigurationResponse DeleteLaunchConfiguration ( DeleteLaunchConfigurationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteLaunchConfigurationRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteLaunchConfigurationResponseUnmarshaller . Instance ; return Invoke < DeleteLaunchConfigurationResponse > ( request , options ) ; } |
public void remove ( Object record ) { int i = 0 ; for ( org . apache . poi . hssf . record . Record r : records ) { if ( r == record ) { remove ( i ) ; break ; } i ++ ; } } | public void Remove ( Record record ) { int i = records . IndexOf ( record ) ; this . Remove ( i ) ; } |
public void write ( LittleEndianOutput out ) { out . writeByte ( sid + getPtgClass ( ) ) ; out . writeShort ( getFunctionIndex ( ) ) ; } | public override void Write ( ILittleEndianOutput out1 ) { out1 . WriteByte ( sid + PtgClass ) ; out1 . WriteShort ( _functionIndex ) ; } |
public Term ( String fld , BytesRef bytes ) { field = fld ; this . bytes = bytes == null ? null : BytesRef . deepCopyOf ( bytes ) ; } | public Term ( string fld , BytesRef bytes ) { Field = fld ; Bytes = bytes ; } |
public long ramBytesUsed ( ) { return RamUsageEstimator . alignObjectSize ( RamUsageEstimator . NUM_BYTES_OBJECT_HEADER + RamUsageEstimator . NUM_BYTES_OBJECT_REF + Long . BYTES + Float . BYTES ) + current . ramBytesUsed ( ) ; } | public override long RamBytesUsed ( ) { return RamUsageEstimator . AlignObjectSize ( RamUsageEstimator . NUM_BYTES_OBJECT_HEADER + RamUsageEstimator . NUM_BYTES_OBJECT_REF + RamUsageEstimator . NUM_BYTES_INT64 + RamUsageEstimator . NUM_BYTES_SINGLE ) + current . RamBytesUsed ( ) ; } |
public int serialize ( int offset , byte [ ] data ) { return serialize ( offset , data , new NullEscherSerializationListener ( ) ) ; } | public int Serialize ( int offset , byte [ ] data ) { return Serialize ( offset , data , new NullEscherSerializationListener ( ) ) ; } |
public String toString ( ) { if ( count == 0 ) { return "" ; } int wasted = value . length - count ; if ( wasted >= 256 || ( wasted >= INITIAL_CAPACITY && wasted >= ( count > > 1 ) ) ) { return new String ( value , 0 , count ) ; } shared = true ; return new String ( 0 , count , value ) ; } | public override string ToString ( ) { if ( count == 0 ) { return string . Empty ; } int wasted = value . Length - count ; if ( wasted >= 256 || ( wasted >= INITIAL_CAPACITY && wasted >= ( count > > 1 ) ) ) { return new string ( value , 0 , count ) ; } shared = true ; return Sharpen . StringHelper . GetString ( 0 , count , value ) ; } |
public void serialize ( LittleEndianOutput out ) { out . writeShort ( field_1_protect ) ; } | public override void Serialize ( ILittleEndianOutput out1 ) { out1 . WriteShort ( field_1_protect ) ; } |
public AssociateResolverEndpointIpAddressResult associateResolverEndpointIpAddress ( AssociateResolverEndpointIpAddressRequest request ) { request = beforeClientExecution ( request ) ; return executeAssociateResolverEndpointIpAddress ( request ) ; } | public virtual AssociateResolverEndpointIpAddressResponse AssociateResolverEndpointIpAddress ( AssociateResolverEndpointIpAddressRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AssociateResolverEndpointIpAddressRequestMarshaller . Instance ; options . ResponseUnmarshaller = AssociateResolverEndpointIpAddressResponseUnmarshaller . Instance ; return Invoke < AssociateResolverEndpointIpAddressResponse > ( request , options ) ; } |
public RevertCommand include ( AnyObjectId commit ) { return include ( commit . getName ( ) , commit ) ; } | public virtual NGit . Api . RevertCommand Include ( AnyObjectId commit ) { return Include ( commit . GetName ( ) , commit ) ; } |
public static ByteBuffer wrap ( byte [ ] array ) { return new ReadWriteHeapByteBuffer ( array ) ; } | public static java . nio . ByteBuffer wrap ( byte [ ] array_1 ) { return new java . nio . ReadWriteHeapByteBuffer ( array_1 ) ; } |
public void removeSecurity ( ) { remove1stProperty ( PropertyIDMap . PID_SECURITY ) ; } | public void RemoveSecurity ( ) { MutableSection s = ( MutableSection ) FirstSection ; s . RemoveProperty ( PropertyIDMap . PID_SECURITY ) ; } |
public ImportVolumeResult importVolume ( ImportVolumeRequest request ) { request = beforeClientExecution ( request ) ; return executeImportVolume ( request ) ; } | public virtual ImportVolumeResponse ImportVolume ( ImportVolumeRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ImportVolumeRequestMarshaller . Instance ; options . ResponseUnmarshaller = ImportVolumeResponseUnmarshaller . Instance ; return Invoke < ImportVolumeResponse > ( request , options ) ; } |
public boolean isDetectRenames ( ) { return renameDetector != null ; } | public virtual bool IsDetectRenames ( ) { return renameDetector != null ; } |
public CacheCluster rebootCacheCluster ( RebootCacheClusterRequest request ) { request = beforeClientExecution ( request ) ; return executeRebootCacheCluster ( request ) ; } | public virtual RebootCacheClusterResponse RebootCacheCluster ( RebootCacheClusterRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = RebootCacheClusterRequestMarshaller . Instance ; options . ResponseUnmarshaller = RebootCacheClusterResponseUnmarshaller . Instance ; return Invoke < RebootCacheClusterResponse > ( request , options ) ; } |
public DescribeTemplateAliasResult describeTemplateAlias ( DescribeTemplateAliasRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeTemplateAlias ( request ) ; } | public virtual DescribeTemplateAliasResponse DescribeTemplateAlias ( DescribeTemplateAliasRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeTemplateAliasRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeTemplateAliasResponseUnmarshaller . Instance ; return Invoke < DescribeTemplateAliasResponse > ( request , options ) ; } |
public void reset ( ) { if ( overflow != null ) { destroy ( ) ; } if ( blocks != null ) blocks . clear ( ) ; elseblocks = new ArrayList < > ( initialBlocks ) ; blocks . add ( new Block ( Math . min ( inCoreLimit , Block . SZ ) ) ) ; } | public virtual void Reset ( ) { if ( overflow != null ) { Destroy ( ) ; } if ( inCoreLimit < TemporaryBuffer . Block . SZ ) { blocks = new AList < TemporaryBuffer . Block > ( 1 ) ; blocks . AddItem ( new TemporaryBuffer . Block ( inCoreLimit ) ) ; } else { blocks = new AList < TemporaryBuffer . Block > ( inCoreLimit / TemporaryBuffer . Block . SZ ) ; blocks . AddItem ( new TemporaryBuffer . Block ( ) ) ; } } |
public DescribeWorkspaceSnapshotsResult describeWorkspaceSnapshots ( DescribeWorkspaceSnapshotsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeWorkspaceSnapshots ( request ) ; } | public virtual DescribeWorkspaceSnapshotsResponse DescribeWorkspaceSnapshots ( DescribeWorkspaceSnapshotsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeWorkspaceSnapshotsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeWorkspaceSnapshotsResponseUnmarshaller . Instance ; return Invoke < DescribeWorkspaceSnapshotsResponse > ( request , options ) ; } |
public void clear ( ) { name = null ; body = null ; title = null ; date = null ; props = null ; id = - 1 ; } | public void Clear ( ) { Name = null ; Body = null ; Title = null ; date = null ; Props = null ; ID = - 1 ; } |
public DeleteDistributionResult deleteDistribution ( DeleteDistributionRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteDistribution ( request ) ; } | public virtual DeleteDistributionResponse DeleteDistribution ( DeleteDistributionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteDistributionRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteDistributionResponseUnmarshaller . Instance ; return Invoke < DeleteDistributionResponse > ( request , options ) ; } |
public final long next ( ) { assert hasNext ( ) ; long result = currentValues [ pOff ++ ] ; if ( pOff == currentCount ) { vOff += 1 ; pOff = 0 ; fillBlock ( ) ; } return result ; } | public long Next ( ) { Debug . Assert ( HasNext ) ; long result = currentValues [ pOff ++ ] ; if ( pOff == currentCount ) { vOff += 1 ; pOff = 0 ; if ( vOff <= outerInstance . valuesOff ) { FillValues ( ) ; } else { currentCount = 0 ; } } return result ; } |
public AttachInstancesToLoadBalancerResult attachInstancesToLoadBalancer ( AttachInstancesToLoadBalancerRequest request ) { request = beforeClientExecution ( request ) ; return executeAttachInstancesToLoadBalancer ( request ) ; } | public virtual AttachInstancesToLoadBalancerResponse AttachInstancesToLoadBalancer ( AttachInstancesToLoadBalancerRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AttachInstancesToLoadBalancerRequestMarshaller . Instance ; options . ResponseUnmarshaller = AttachInstancesToLoadBalancerResponseUnmarshaller . Instance ; return Invoke < AttachInstancesToLoadBalancerResponse > ( request , options ) ; } |
public PrintSetupRecord ( RecordInputStream in ) { field_1_paper_size = in . readShort ( ) ; field_2_scale = in . readShort ( ) ; field_3_page_start = in . readShort ( ) ; field_4_fit_width = in . readShort ( ) ; field_5_fit_height = in . readShort ( ) ; field_6_options = in . readShort ( ) ; field_7_hresolution = in . readShort ( ) ; field_8_vresolution = in . readShort ( ) ; field_9_headermargin = in . readDouble ( ) ; field_10_footermargin = in . readDouble ( ) ; field_11_copies = in . readShort ( ) ; } | public PrintSetupRecord ( RecordInputStream in1 ) { field_1_paper_size = in1 . ReadShort ( ) ; field_2_scale = in1 . ReadShort ( ) ; field_3_page_start = in1 . ReadShort ( ) ; field_4_fit_width = in1 . ReadShort ( ) ; field_5_fit_height = in1 . ReadShort ( ) ; field_6_options = in1 . ReadShort ( ) ; field_7_hresolution = in1 . ReadShort ( ) ; field_8_vresolution = in1 . ReadShort ( ) ; field_9_headermargin = in1 . ReadDouble ( ) ; field_10_footermargin = in1 . ReadDouble ( ) ; field_11_copies = in1 . ReadShort ( ) ; } |
public UpdateNotificationSettingsResult updateNotificationSettings ( UpdateNotificationSettingsRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateNotificationSettings ( request ) ; } | public virtual UpdateNotificationSettingsResponse UpdateNotificationSettings ( UpdateNotificationSettingsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateNotificationSettingsRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateNotificationSettingsResponseUnmarshaller . Instance ; return Invoke < UpdateNotificationSettingsResponse > ( request , options ) ; } |
public DescribeSnapshotAttributeResult describeSnapshotAttribute ( DescribeSnapshotAttributeRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeSnapshotAttribute ( request ) ; } | public virtual DescribeSnapshotAttributeResponse DescribeSnapshotAttribute ( DescribeSnapshotAttributeRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeSnapshotAttributeRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeSnapshotAttributeResponseUnmarshaller . Instance ; return Invoke < DescribeSnapshotAttributeResponse > ( request , options ) ; } |
public ListDocumentClassificationJobsResult listDocumentClassificationJobs ( ListDocumentClassificationJobsRequest request ) { request = beforeClientExecution ( request ) ; return executeListDocumentClassificationJobs ( request ) ; } | public virtual ListDocumentClassificationJobsResponse ListDocumentClassificationJobs ( ListDocumentClassificationJobsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListDocumentClassificationJobsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListDocumentClassificationJobsResponseUnmarshaller . Instance ; return Invoke < ListDocumentClassificationJobsResponse > ( request , options ) ; } |
public Item ( ) { parent = 0 ; child = 0 ; } | public Item ( ) { parent = ( char ) 0 ; child = ( char ) 0 ; } |
public static final AbbreviatedObjectId fromObjectId ( AnyObjectId id ) { return new AbbreviatedObjectId ( Constants . OBJECT_ID_STRING_LENGTH , id . w1 , id . w2 , id . w3 , id . w4 , id . w5 ) ; } | public static NGit . AbbreviatedObjectId FromObjectId ( AnyObjectId id ) { return new NGit . AbbreviatedObjectId ( Constants . OBJECT_ID_STRING_LENGTH , id . w1 , id . w2 , id . w3 , id . w4 , id . w5 ) ; } |
public String format ( Object value ) { StringBuffer sb = new StringBuffer ( ) ; formatValue ( sb , value ) ; return sb . toString ( ) ; } | public String Format ( Object value ) { StringBuilder sb = new StringBuilder ( ) ; FormatValue ( sb , value ) ; return sb . ToString ( ) ; } |
public void processContinueRecord ( byte [ ] record ) { rawDataContainer . concatenate ( record ) ; } | public void ProcessContinueRecord ( byte [ ] record ) { rawDataContainer . Concatenate ( record ) ; } |
public ListenerHandle addChangeListener ( ConfigChangedListener listener ) { return listeners . addConfigChangedListener ( listener ) ; } | public virtual ListenerHandle AddChangeListener ( ConfigChangedListener listener ) { return listeners . AddConfigChangedListener ( listener ) ; } |
public BlendedTermQuery build ( ) { return new BlendedTermQuery ( ArrayUtil . copyOfSubArray ( terms , 0 , numTerms ) , ArrayUtil . copyOfSubArray ( boosts , 0 , numTerms ) , ArrayUtil . copyOfSubArray ( contexts , 0 , numTerms ) , rewriteMethod ) ; } | public CompositeReaderContext Build ( ) { return ( CompositeReaderContext ) Build ( null , reader , 0 , 0 ) ; } |
public void setFlagByBit ( int bitmask , boolean enabled ) { if ( enabled ) { flags |= bitmask ; } else { flags &= ( 0xFFFF ^ bitmask ) ; } } | public void SetFlagByBit ( int bitmask , bool enabled ) { if ( enabled ) { flags |= ( short ) bitmask ; } else { flags &= ( short ) ( 0xFFFF ^ bitmask ) ; } } |
public static double calculate ( double pStartDateVal , double pEndDateVal , int basis ) throws EvaluationException { if ( basis < 0 || basis >= 5 ) { throw new EvaluationException ( ErrorEval . NUM_ERROR ) ; } int startDateVal = ( int ) Math . floor ( pStartDateVal ) ; int endDateVal = ( int ) Math . floor ( pEndDateVal ) ; if ( startDateVal == endDateVal ) { return 0 ; } if ( startDateVal > endDateVal ) { int temp = startDateVal ; startDateVal = endDateVal ; endDateVal = temp ; } switch ( basis ) { case 0 : return basis0 ( startDateVal , endDateVal ) ; case 1 : return basis1 ( startDateVal , endDateVal ) ; case 2 : return basis2 ( startDateVal , endDateVal ) ; case 3 : return basis3 ( startDateVal , endDateVal ) ; case 4 : return basis4 ( startDateVal , endDateVal ) ; } throw new IllegalStateException ( "cannot happen" ) ; } | public static double Calculate ( double pStartDateVal , double pEndDateVal , int basis ) { if ( basis < 0 || basis >= 5 ) { throw new EvaluationException ( ErrorEval . NUM_ERROR ) ; } int startDateVal = ( int ) Math . Floor ( pStartDateVal ) ; int endDateVal = ( int ) Math . Floor ( pEndDateVal ) ; if ( startDateVal == endDateVal ) { return 0 ; } if ( startDateVal > endDateVal ) { int temp = startDateVal ; startDateVal = endDateVal ; endDateVal = temp ; } switch ( basis ) { case 0 : return Basis0 ( startDateVal , endDateVal ) ; case 1 : return Basis1 ( startDateVal , endDateVal ) ; case 2 : return Basis2 ( startDateVal , endDateVal ) ; case 3 : return Basis3 ( startDateVal , endDateVal ) ; case 4 : return Basis4 ( startDateVal , endDateVal ) ; } throw new InvalidOperationException ( "cannot happen" ) ; } |
public CharSequence toQueryString ( EscapeQuerySyntax escapeSyntaxParser ) { if ( getChildren ( ) == null || getChildren ( ) . size ( ) == 0 ) return "" ; StringBuilder sb = new StringBuilder ( ) ; String filler = "" ; for ( QueryNode child : getChildren ( ) ) { sb . append ( filler ) . append ( child . toQueryString ( escapeSyntaxParser ) ) ; filler = " " ; } if ( ( getParent ( ) != null && getParent ( ) instanceof GroupQueryNode ) || isRoot ( ) ) return sb . toString ( ) ; else return "( " + sb . toString ( ) + " )" ; } | public override string ToQueryString ( IEscapeQuerySyntax escapeSyntaxParser ) { var children = GetChildren ( ) ; if ( children == null || children . Count == 0 ) return "" ; StringBuilder sb = new StringBuilder ( ) ; string filler = "" ; foreach ( IQueryNode child in children ) { sb . Append ( filler ) . Append ( child . ToQueryString ( escapeSyntaxParser ) ) ; filler = " " ; } if ( ( Parent != null && Parent is GroupQueryNode ) || IsRoot ) return sb . ToString ( ) ; else return "( " + sb . ToString ( ) + " )" ; } |
public ByteBuffer putDouble ( int index , double value ) { throw new ReadOnlyBufferException ( ) ; } | public override java . nio . ByteBuffer putDouble ( int index , double value ) { throw new java . nio . ReadOnlyBufferException ( ) ; } |
public GetVoiceConnectorGroupResult getVoiceConnectorGroup ( GetVoiceConnectorGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeGetVoiceConnectorGroup ( request ) ; } | public virtual GetVoiceConnectorGroupResponse GetVoiceConnectorGroup ( GetVoiceConnectorGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetVoiceConnectorGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetVoiceConnectorGroupResponseUnmarshaller . Instance ; return Invoke < GetVoiceConnectorGroupResponse > ( request , options ) ; } |
public BatchUpdateUserResult batchUpdateUser ( BatchUpdateUserRequest request ) { request = beforeClientExecution ( request ) ; return executeBatchUpdateUser ( request ) ; } | public virtual BatchUpdateUserResponse BatchUpdateUser ( BatchUpdateUserRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = BatchUpdateUserRequestMarshaller . Instance ; options . ResponseUnmarshaller = BatchUpdateUserResponseUnmarshaller . Instance ; return Invoke < BatchUpdateUserResponse > ( request , options ) ; } |
public String toString ( ) { return new String ( chars , offset , length ) ; } | public override string ToString ( ) { return new string ( chars , Offset , Length ) ; } |
public DescribeStorageResult describeStorage ( DescribeStorageRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeStorage ( request ) ; } | public virtual DescribeStorageResponse DescribeStorage ( DescribeStorageRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeStorageRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeStorageResponseUnmarshaller . Instance ; return Invoke < DescribeStorageResponse > ( request , options ) ; } |
public void close ( ) { flush ( ) ; } | public override void close ( ) { flush ( ) ; } |
public void close ( ) throws IOException { super . close ( ) ; } | public override void close ( ) { throw new System . NotImplementedException ( ) ; } |
public final void backup ( int amount ) { bufferPosition -= amount ; } | public void BackUp ( int amount ) { bufferPosition -= amount ; } |
public UpdateDashboardPublishedVersionResult updateDashboardPublishedVersion ( UpdateDashboardPublishedVersionRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateDashboardPublishedVersion ( request ) ; } | public virtual UpdateDashboardPublishedVersionResponse UpdateDashboardPublishedVersion ( UpdateDashboardPublishedVersionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateDashboardPublishedVersionRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateDashboardPublishedVersionResponseUnmarshaller . Instance ; return Invoke < UpdateDashboardPublishedVersionResponse > ( request , options ) ; } |
public DocumentStoredFieldVisitor ( String ... fields ) { fieldsToAdd = new HashSet < > ( fields . length ) ; for ( String field : fields ) { fieldsToAdd . add ( field ) ; } } | public DocumentStoredFieldVisitor ( params string [ ] fields ) { fieldsToAdd = new JCG . HashSet < string > ( ) ; foreach ( string field in fields ) { fieldsToAdd . Add ( field ) ; } } |
public ResumeGameServerGroupResult resumeGameServerGroup ( ResumeGameServerGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeResumeGameServerGroup ( request ) ; } | public virtual ResumeGameServerGroupResponse ResumeGameServerGroup ( ResumeGameServerGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ResumeGameServerGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = ResumeGameServerGroupResponseUnmarshaller . Instance ; return Invoke < ResumeGameServerGroupResponse > ( request , options ) ; } |
public PushCommand setPushAll ( ) { refSpecs . add ( Transport . REFSPEC_PUSH_ALL ) ; return this ; } | public virtual NGit . Api . PushCommand SetPushAll ( ) { refSpecs . AddItem ( NGit . Transport . Transport . REFSPEC_PUSH_ALL ) ; return this ; } |
public DBSnapshot createDBSnapshot ( CreateDBSnapshotRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateDBSnapshot ( request ) ; } | public virtual CreateDBSnapshotResponse CreateDBSnapshot ( CreateDBSnapshotRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateDBSnapshotRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateDBSnapshotResponseUnmarshaller . Instance ; return Invoke < CreateDBSnapshotResponse > ( request , options ) ; } |
public boolean willSoonExpire ( ) { if ( roleSessionDurationSeconds == 0 ) { return false ; } long now = System . currentTimeMillis ( ) ; double expireFact = 0.95 ; return roleSessionDurationSeconds * expireFact < ( now - sessionStartedTimeInMilliSeconds ) / 1000.0 ; } | public virtual bool WillSoonExpire ( ) { if ( roleSessionDurationSeconds == 0 ) { return false ; } var now = DateTime . UtcNow . currentTimeMillis ( ) ; return roleSessionDurationSeconds * expireFact < ( now - sessionStartedTimeInMilliSeconds ) / 1000.0 ; } |
public List < Interval > getIntervals ( ) { return intervals ; } | public virtual IList < Interval > GetIntervals ( ) { return intervals ; } |
public GetNamespaceRequest ( ) { super ( "cr" , "2016-06-07" , "GetNamespace" , "cr" ) ; setUriPattern ( "/namespace/[Namespace]" ) ; setMethod ( MethodType . GET ) ; } | public GetNamespaceRequest ( ) : base ( "cr" , "2016-06-07" , "GetNamespace" , "cr" , "openAPI" ) { UriPattern = "/namespace/[Namespace]" ; Method = MethodType . GET ; } |
public DeleteVpcRequest ( String vpcId ) { setVpcId ( vpcId ) ; } | public DeleteVpcRequest ( string vpcId ) { _vpcId = vpcId ; } |
public long ramBytesUsed ( ) { long bytesUsed = BASE_RAM_BYTES_USED ; if ( dict != null ) { bytesUsed += dict . ramBytesUsed ( ) ; } return bytesUsed ; } | public long RamBytesUsed ( ) { return ( ( fst != null ) ? fst . GetSizeInBytes ( ) : 0 ) ; } |
public final ValueEval evaluate ( ValueEval [ ] args , int srcRow , int srcCol ) { if ( args . length < 1 ) { return ErrorEval . VALUE_INVALID ; } boolean boolResult ; try { boolResult = calculate ( args ) ; } catch ( EvaluationException e ) { return e . getErrorEval ( ) ; } return BoolEval . valueOf ( boolResult ) ; } | public ValueEval Evaluate ( ValueEval [ ] args , int srcRow , int srcCol ) { if ( args . Length < 1 ) { return ErrorEval . VALUE_INVALID ; } bool boolResult ; try { boolResult = Calculate ( args ) ; } catch ( EvaluationException e ) { return e . GetErrorEval ( ) ; } return BoolEval . ValueOf ( boolResult ) ; } |
public void println ( String str ) { synchronized ( lock ) { print ( str ) ; println ( ) ; } } | public virtual void println ( string str ) { lock ( @ lock ) { print ( str ) ; println ( ) ; } } |
public TypedPropertyValue ( int type , Object value ) { _type = type ; _value = value ; } | public TypedPropertyValue ( int type , Object value ) { _type = type ; _value = value ; } |
public FloatBuffer duplicate ( ) { ByteBuffer bb = byteBuffer . duplicate ( ) . order ( byteBuffer . order ( ) ) ; FloatToByteBufferAdapter buf = new FloatToByteBufferAdapter ( bb ) ; buf . limit = limit ; buf . position = position ; buf . mark = mark ; return buf ; } | public override java . nio . FloatBuffer duplicate ( ) { java . nio . ByteBuffer bb = byteBuffer . duplicate ( ) . order ( byteBuffer . order ( ) ) ; java . nio . FloatToByteBufferAdapter buf = new java . nio . FloatToByteBufferAdapter ( bb ) ; buf . _limit = _limit ; buf . _position = _position ; buf . _mark = _mark ; return buf ; } |
public MigrateWorkspaceResult migrateWorkspace ( MigrateWorkspaceRequest request ) { request = beforeClientExecution ( request ) ; return executeMigrateWorkspace ( request ) ; } | public virtual MigrateWorkspaceResponse MigrateWorkspace ( MigrateWorkspaceRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = MigrateWorkspaceRequestMarshaller . Instance ; options . ResponseUnmarshaller = MigrateWorkspaceResponseUnmarshaller . Instance ; return Invoke < MigrateWorkspaceResponse > ( request , options ) ; } |
public GetRequestValidatorResult getRequestValidator ( GetRequestValidatorRequest request ) { request = beforeClientExecution ( request ) ; return executeGetRequestValidator ( request ) ; } | public virtual GetRequestValidatorResponse GetRequestValidator ( GetRequestValidatorRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetRequestValidatorRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetRequestValidatorResponseUnmarshaller . Instance ; return Invoke < GetRequestValidatorResponse > ( request , options ) ; } |
public String toString ( ) { return toString ( false ) ; } | public override string ToString ( ) { return ToString ( false ) ; } |
public ForgetSmartHomeAppliancesResult forgetSmartHomeAppliances ( ForgetSmartHomeAppliancesRequest request ) { request = beforeClientExecution ( request ) ; return executeForgetSmartHomeAppliances ( request ) ; } | public virtual ForgetSmartHomeAppliancesResponse ForgetSmartHomeAppliances ( ForgetSmartHomeAppliancesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ForgetSmartHomeAppliancesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ForgetSmartHomeAppliancesResponseUnmarshaller . Instance ; return Invoke < ForgetSmartHomeAppliancesResponse > ( request , options ) ; } |
public DeleteApiResult deleteApi ( DeleteApiRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteApi ( request ) ; } | public virtual DeleteApiResponse DeleteApi ( DeleteApiRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteApiRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteApiResponseUnmarshaller . Instance ; return Invoke < DeleteApiResponse > ( request , options ) ; } |
public void setKeyProgressIncrement ( int increment ) { mKeyProgressIncrement = increment < 0 ? - increment : increment ; } | public virtual void setKeyProgressIncrement ( int increment ) { mKeyProgressIncrement = increment < 0 ? - increment : increment ; } |
public boolean addAll ( final IntList c ) { if ( c . _limit != 0 ) { if ( ( _limit + c . _limit ) > _array . length ) { growArray ( _limit + c . _limit ) ; } System . arraycopy ( c . _array , 0 , _array , _limit , c . _limit ) ; _limit += c . _limit ; } return true ; } | public bool AddAll ( IntList c ) { if ( c . _limit != 0 ) { if ( ( _limit + c . _limit ) > _array . Length ) { growArray ( _limit + c . _limit ) ; } Array . Copy ( c . _array , 0 , _array , _limit , c . _limit ) ; _limit += c . _limit ; } return true ; } |
public DVRecord createDVRecord ( HSSFSheet sheet ) { FormulaPair fp = _constraint . createFormulas ( sheet ) ; return new DVRecord ( _constraint . getValidationType ( ) , _constraint . getOperator ( ) , _errorStyle , _emptyCellAllowed , getSuppressDropDownArrow ( ) , _constraint . getValidationType ( ) == ValidationType . LIST && _constraint . getExplicitListValues ( ) != null , _showPromptBox , _prompt_title , _prompt_text , _showErrorBox , _error_title , _error_text , fp . getFormula1 ( ) , fp . getFormula2 ( ) , _regions ) ; } | public DVRecord CreateDVRecord ( HSSFSheet sheet ) { NPOI . HSSF . UserModel . DVConstraint . FormulaPair fp = _constraint . CreateFormulas ( sheet ) ; return new DVRecord ( _constraint . GetValidationType ( ) , _constraint . Operator , _errorStyle , _emptyCellAllowed , SuppressDropDownArrow , _constraint . GetValidationType ( ) == ValidationType . LIST && _constraint . ExplicitListValues != null , _ShowPromptBox , _prompt_title , _prompt_text , _ShowErrorBox , _error_title , _error_text , fp . Formula1 , fp . Formula2 , _regions ) ; } |
public boolean evaluate ( int cmpResult ) { switch ( _code ) { case NONE : case EQ : return cmpResult == 0 ; case NE : return cmpResult != 0 ; case LT : return cmpResult < 0 ; case LE : return cmpResult <= 0 ; case GT : return cmpResult > 0 ; case GE : return cmpResult >= 0 ; } throw new RuntimeException ( "Cannot call boolean evaluate on non-equality operator '" + _representation + "'" ) ; } | public bool Evaluate ( bool cmpResult ) { switch ( _code ) { case NONE : case EQ : return cmpResult ; case NE : return ! cmpResult ; } throw new Exception ( "Cannot call bool Evaluate on non-equality operator '" + _representation + "'" ) ; } |
public boolean isCancelled ( ) { return false ; } | public override bool IsCancelled ( ) { return false ; } |
public ListHoursOfOperationsResult listHoursOfOperations ( ListHoursOfOperationsRequest request ) { request = beforeClientExecution ( request ) ; return executeListHoursOfOperations ( request ) ; } | public virtual ListHoursOfOperationsResponse ListHoursOfOperations ( ListHoursOfOperationsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListHoursOfOperationsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListHoursOfOperationsResponseUnmarshaller . Instance ; return Invoke < ListHoursOfOperationsResponse > ( request , options ) ; } |
public int serialize ( int offset , byte [ ] data ) { throw new RecordFormatException ( "Label Records are supported READ ONLY...convert to LabelSST" ) ; } | public override int Serialize ( int offset , byte [ ] data ) { throw new RecordFormatException ( "Label Records are supported Read ONLY...Convert to LabelSST" ) ; } |
public URI normalize ( ) { if ( opaque ) { return this ; } String normalizedPath = normalize ( path , false ) ; if ( path . equals ( normalizedPath ) ) { return this ; } URI result = duplicate ( ) ; result . path = normalizedPath ; result . setSchemeSpecificPart ( ) ; return result ; } | public java . net . URI normalize ( ) { if ( opaque ) { return this ; } string normalizedPath = normalize ( path , false ) ; if ( path . Equals ( normalizedPath ) ) { return this ; } java . net . URI result = duplicate ( ) ; result . path = normalizedPath ; result . setSchemeSpecificPart ( ) ; return result ; } |
public FreeRefFunction findUserDefinedFunction ( String functionName ) { return _udfFinder . findFunction ( functionName ) ; } | public FreeRefFunction FindUserDefinedFunction ( String functionName ) { return _udfFinder . FindFunction ( functionName ) ; } |
public UpdateGatewayResponseResult updateGatewayResponse ( UpdateGatewayResponseRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateGatewayResponse ( request ) ; } | public virtual UpdateGatewayResponseResponse UpdateGatewayResponse ( UpdateGatewayResponseRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateGatewayResponseRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateGatewayResponseResponseUnmarshaller . Instance ; return Invoke < UpdateGatewayResponseResponse > ( request , options ) ; } |
public GetOperationDetailResult getOperationDetail ( GetOperationDetailRequest request ) { request = beforeClientExecution ( request ) ; return executeGetOperationDetail ( request ) ; } | public virtual GetOperationDetailResponse GetOperationDetail ( GetOperationDetailRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetOperationDetailRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetOperationDetailResponseUnmarshaller . Instance ; return Invoke < GetOperationDetailResponse > ( request , options ) ; } |
public String toString ( String field ) { StringBuilder buffer = new StringBuilder ( ) ; if ( ! getField ( ) . equals ( field ) ) { buffer . append ( getField ( ) ) ; buffer . append ( ":" ) ; } buffer . append ( term . text ( ) ) ; 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 ( Term . Text ( ) ) ; buffer . Append ( ToStringUtils . Boost ( Boost ) ) ; return buffer . ToString ( ) ; } |
public NameXPtg getNameXPtg ( String name , UDFFinder udf ) { return getNameXPtg ( name , - 1 , udf ) ; } | public NameXPtg GetNameXPtg ( String name , UDFFinder udf ) { return GetNameXPtg ( name , - 1 , udf ) ; } |
public String getCharsetName ( ) { return charsetName ; } | public virtual string getCharsetName ( ) { return charsetName ; } |
public DescribeWebsiteCertificateAuthorityResult describeWebsiteCertificateAuthority ( DescribeWebsiteCertificateAuthorityRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeWebsiteCertificateAuthority ( request ) ; } | public virtual DescribeWebsiteCertificateAuthorityResponse DescribeWebsiteCertificateAuthority ( DescribeWebsiteCertificateAuthorityRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeWebsiteCertificateAuthorityRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeWebsiteCertificateAuthorityResponseUnmarshaller . Instance ; return Invoke < DescribeWebsiteCertificateAuthorityResponse > ( request , options ) ; } |
static public double ppmt ( double r , int per , int nper , double pv , double fv ) { return pmt ( r , nper , pv , fv ) - ipmt ( r , per , nper , pv , fv ) ; } | static public double PPMT ( double r , int per , int nper , double pv , double fv ) { return PMT ( r , nper , pv , fv ) - IPMT ( r , per , nper , pv , fv ) ; } |
public ShortBuffer put ( int index , short c ) { throw new ReadOnlyBufferException ( ) ; } | public override java . nio . ShortBuffer put ( int index , short c ) { throw new java . nio . ReadOnlyBufferException ( ) ; } |
public void writeBytes ( String value ) throws IOException { checkWritePrimitiveTypes ( ) ; primitiveTypes . writeBytes ( value ) ; } | public virtual void writeBytes ( string value ) { throw new System . NotImplementedException ( ) ; } |
public LinkTable ( int numberOfSheets , WorkbookRecordList workbookRecordList ) { _workbookRecordList = workbookRecordList ; _definedNames = new ArrayList < > ( ) ; _externalBookBlocks = new ExternalBookBlock [ ] { new ExternalBookBlock ( numberOfSheets ) , } ; _externSheetRecord = new ExternSheetRecord ( ) ; _recordCount = 2 ; SupBookRecord supbook = _externalBookBlocks [ 0 ] . getExternalBookRecord ( ) ; int idx = findFirstRecordLocBySid ( CountryRecord . sid ) ; if ( idx < 0 ) { throw new RuntimeException ( "CountryRecord not found" ) ; } _workbookRecordList . add ( idx + 1 , _externSheetRecord ) ; _workbookRecordList . add ( idx + 1 , supbook ) ; } | public LinkTable ( int numberOfSheets , WorkbookRecordList workbookRecordList ) { _workbookRecordList = workbookRecordList ; _definedNames = new List < NameRecord > ( ) ; _externalBookBlocks = new ExternalBookBlock [ ] { new ExternalBookBlock ( numberOfSheets ) , } ; _externSheetRecord = new ExternSheetRecord ( ) ; _recordCount = 2 ; SupBookRecord supbook = _externalBookBlocks [ 0 ] . GetExternalBookRecord ( ) ; int idx = FindFirstRecordLocBySid ( CountryRecord . sid ) ; if ( idx < 0 ) { throw new Exception ( "CountryRecord not found" ) ; } _workbookRecordList . Add ( idx + 1 , _externSheetRecord ) ; _workbookRecordList . Add ( idx + 1 , supbook ) ; } |
public void remove ( ) { throw new UnsupportedOperationException ( ) ; } | public void Remove ( ) { throw new NotImplementedException ( "Unsupported Operations!" ) ; } |
public static int [ ] grow ( int [ ] array ) { return grow ( array , 1 + array . length ) ; } | public static float [ ] Grow ( float [ ] array ) { return Grow ( array , 1 + array . Length ) ; } |
public void addAll ( T [ ] src , int srcIdx , int srcCnt ) { while ( 0 < srcCnt ) { int i = tailBlkIdx ; int n = Math . min ( srcCnt , BLOCK_SIZE - i ) ; if ( n == 0 ) { add ( src [ srcIdx ++ ] ) ; srcCnt -- ; continue ; } System . arraycopy ( src , srcIdx , tailBlock , i , n ) ; tailBlkIdx += n ; size += n ; srcIdx += n ; srcCnt -= n ; } } | public virtual void AddAll ( T [ ] src , int srcIdx , int srcCnt ) { while ( 0 < srcCnt ) { int i = tailBlkIdx ; int n = Math . Min ( srcCnt , BLOCK_SIZE - i ) ; if ( n == 0 ) { AddItem ( src [ srcIdx ++ ] ) ; srcCnt -- ; continue ; } System . Array . Copy ( src , srcIdx , tailBlock , i , n ) ; tailBlkIdx += n ; size += n ; srcIdx += n ; srcCnt -= n ; } } |
public RenewDomainResult renewDomain ( RenewDomainRequest request ) { request = beforeClientExecution ( request ) ; return executeRenewDomain ( request ) ; } | public virtual RenewDomainResponse RenewDomain ( RenewDomainRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = RenewDomainRequestMarshaller . Instance ; options . ResponseUnmarshaller = RenewDomainResponseUnmarshaller . Instance ; return Invoke < RenewDomainResponse > ( request , options ) ; } |
public static boolean isInRange ( int i ) { return i >= MIN_VALUE && i <= MAX_VALUE ; } | public static bool IsInRange ( int i ) { return i >= MIN_VALUE && i <= MAX_VALUE ; } |
public AddApplicationInputResult addApplicationInput ( AddApplicationInputRequest request ) { request = beforeClientExecution ( request ) ; return executeAddApplicationInput ( request ) ; } | public virtual AddApplicationInputResponse AddApplicationInput ( AddApplicationInputRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AddApplicationInputRequestMarshaller . Instance ; options . ResponseUnmarshaller = AddApplicationInputResponseUnmarshaller . Instance ; return Invoke < AddApplicationInputResponse > ( request , options ) ; } |
public Request < DeletePublicKeyRequest > marshall ( DeletePublicKeyRequest deletePublicKeyRequest ) { if ( deletePublicKeyRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } Request < DeletePublicKeyRequest > request = new DefaultRequest < DeletePublicKeyRequest > ( deletePublicKeyRequest , "AmazonCloudFront" ) ; request . setHttpMethod ( HttpMethodName . DELETE ) ; if ( deletePublicKeyRequest . getIfMatch ( ) != null ) { request . addHeader ( "If-Match" , StringUtils . fromString ( deletePublicKeyRequest . getIfMatch ( ) ) ) ; } String uriResourcePath = "/2019-03-26/public-key/{Id}" ; uriResourcePath = com . amazonaws . transform . PathMarshallers . NON_GREEDY . marshall ( uriResourcePath , "Id" , deletePublicKeyRequest . getId ( ) ) ; request . setResourcePath ( uriResourcePath ) ; return request ; } | public IRequest Marshall ( DeletePublicKeyRequest publicRequest ) { var request = new DefaultRequest ( publicRequest , "Amazon.CloudFront" ) ; request . HttpMethod = "DELETE" ; if ( publicRequest . IsSetIfMatch ( ) ) request . Headers [ "If-Match" ] = publicRequest . IfMatch ; if ( ! publicRequest . IsSetId ( ) ) throw new AmazonCloudFrontException ( "Request object does not have required field Id set" ) ; request . AddPathResource ( "{Id}" , StringUtils . FromString ( publicRequest . Id ) ) ; request . ResourcePath = "/2019-03-26/public-key/{Id}" ; request . MarshallerVersion = 2 ; return request ; } |
public boolean matches ( ParseTree tree ) { return matcher . match ( tree , this ) . succeeded ( ) ; } | public virtual bool Matches ( IParseTree tree ) { return matcher . Match ( tree , this ) . Succeeded ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.