question
stringlengths
33
1.59k
target
stringlengths
33
1.58k
public GetSmsTemplateResult getSmsTemplate ( GetSmsTemplateRequest request ) { request = beforeClientExecution ( request ) ; return executeGetSmsTemplate ( request ) ; }
public virtual GetSmsTemplateResponse GetSmsTemplate ( GetSmsTemplateRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetSmsTemplateRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetSmsTemplateResponseUnmarshaller . Instance ; return Invoke < GetSmsTemplateResponse > ( request , options ) ; }
public String getFieldAsString ( ) { if ( this . field == null ) return null ; else return this . field . toString ( ) ; }
public virtual string GetFieldAsString ( ) { if ( this . m_field == null ) return null ; else return this . m_field . ToString ( ) ; }
@ Override public int read ( byte [ ] buffer , int byteOffset , int byteCount ) throws IOException { return IoBridge . read ( fd , buffer , byteOffset , byteCount ) ; }
public override int read ( byte [ ] buffer , int byteOffset , int byteCount ) { throw new System . NotImplementedException ( ) ; }
public HSSFHyperlink createHyperlink ( HyperlinkType type ) { return new HSSFHyperlink ( type ) ; }
public NPOI . SS . UserModel . IHyperlink CreateHyperlink ( HyperlinkType type ) { return new HSSFHyperlink ( type ) ; }
public UpdateGlobalSettingsResult updateGlobalSettings ( UpdateGlobalSettingsRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateGlobalSettings ( request ) ; }
public virtual UpdateGlobalSettingsResponse UpdateGlobalSettings ( UpdateGlobalSettingsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateGlobalSettingsRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateGlobalSettingsResponseUnmarshaller . Instance ; return Invoke < UpdateGlobalSettingsResponse > ( request , options ) ; }
public static String segmentFileName ( String segmentName , String segmentSuffix , String ext ) { if ( ext . length ( ) > 0 || segmentSuffix . length ( ) > 0 ) { assert ! ext . startsWith ( "." ) ; StringBuilder sb = new StringBuilder ( segmentName . length ( ) + 2 + segmentSuffix . length ( ) + ext . length ( ) ) ; sb . append ( segmentName ) ; if ( segmentSuffix . length ( ) > 0 ) { sb . append ( '_' ) . append ( segmentSuffix ) ; } if ( ext . length ( ) > 0 ) { sb . append ( '.' ) . append ( ext ) ; } return sb . toString ( ) ; } else { return segmentName ; } }
public static string SegmentFileName ( string segmentName , string segmentSuffix , string ext ) { if ( ext . Length > 0 || segmentSuffix . Length > 0 ) { Debug . Assert ( ! ext . StartsWith ( "." , StringComparison . Ordinal ) ) ; StringBuilder sb = new StringBuilder ( segmentName . Length + 2 + segmentSuffix . Length + ext . Length ) ; sb . Append ( segmentName ) ; if ( segmentSuffix . Length > 0 ) { sb . Append ( '_' ) . Append ( segmentSuffix ) ; } if ( ext . Length > 0 ) { sb . Append ( '.' ) . Append ( ext ) ; } return sb . ToString ( ) ; } else { return segmentName ; } }
public static JGitText get ( ) { return NLS . getBundleFor ( JGitText . class ) ; }
public static JGitText Get ( ) { return NLS . GetBundleFor < JGitText > ( ) ; }
public void insert ( String key , char val ) { int len = key . length ( ) + 1 ; if ( freenode + len > eq . length ) { redimNodeArrays ( eq . length + BLOCK_SIZE ) ; } char strkey [ ] = new char [ len -- ] ; key . getChars ( 0 , len , strkey , 0 ) ; strkey [ len ] = 0 ; root = insert ( root , strkey , 0 , val ) ; }
public virtual void Insert ( string key , char val ) { int len = key . Length + 1 ; if ( m_freenode + len > m_eq . Length ) { RedimNodeArrays ( m_eq . Length + BLOCK_SIZE ) ; } char [ ] strkey = new char [ len -- ] ; key . CopyTo ( 0 , strkey , 0 , len - 0 ) ; strkey [ len ] = ( char ) 0 ; m_root = Insert ( m_root , strkey , 0 , val ) ; }
public NameRecord createBuiltInName ( byte builtInName , int sheetNumber ) { if ( sheetNumber < 0 || sheetNumber + 1 > Short . MAX_VALUE ) { throw new IllegalArgumentException ( "Sheet number [" + sheetNumber + "]is not valid " ) ; } NameRecord name = new NameRecord ( builtInName , sheetNumber ) ; if ( linkTable . nameAlreadyExists ( name ) ) { throw new RuntimeException ( "Builtin (" + builtInName + ") already exists for sheet (" + sheetNumber + ")" ) ; } addName ( name ) ; return name ; }
public NameRecord CreateBuiltInName ( byte builtInName , int index ) { if ( index == - 1 || index + 1 > short . MaxValue ) throw new ArgumentException ( "Index is not valid [" + index + "]" ) ; NameRecord name = new NameRecord ( builtInName , ( short ) ( index ) ) ; AddName ( name ) ; return name ; }
public static int compareArray ( char [ ] larray , int lstartIndex , char [ ] rarray , int rstartIndex ) { if ( larray == null ) { if ( rarray == null || rstartIndex >= rarray . length ) return 0 ; else return - 1 ; } else { if ( rarray == null ) { if ( lstartIndex >= larray . length ) return 0 ; else return 1 ; } } int li = lstartIndex , ri = rstartIndex ; while ( li < larray . length && ri < rarray . length && larray [ li ] == rarray [ ri ] ) { li ++ ; ri ++ ; } if ( li == larray . length ) { if ( ri == rarray . length ) { return 0 ; } else { return - 1 ; } } else { if ( ri == rarray . length ) { return 1 ; } else { if ( larray [ li ] > rarray [ ri ] ) return 1 ; else return - 1 ; } } }
public static int CompareArray ( char [ ] larray , int lstartIndex , char [ ] rarray , int rstartIndex ) { if ( larray == null ) { if ( rarray == null || rstartIndex >= rarray . Length ) return 0 ; else return - 1 ; } else { if ( rarray == null ) { if ( lstartIndex >= larray . Length ) return 0 ; else return 1 ; } } int li = lstartIndex , ri = rstartIndex ; while ( li < larray . Length && ri < rarray . Length && larray [ li ] == rarray [ ri ] ) { li ++ ; ri ++ ; } if ( li == larray . Length ) { if ( ri == rarray . Length ) { return 0 ; } else { return - 1 ; } } else { if ( ri == rarray . Length ) { return 1 ; } else { if ( larray [ li ] > rarray [ ri ] ) return 1 ; else return - 1 ; } } }
public GetVoiceConnectorResult getVoiceConnector ( GetVoiceConnectorRequest request ) { request = beforeClientExecution ( request ) ; return executeGetVoiceConnector ( request ) ; }
public virtual GetVoiceConnectorResponse GetVoiceConnector ( GetVoiceConnectorRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetVoiceConnectorRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetVoiceConnectorResponseUnmarshaller . Instance ; return Invoke < GetVoiceConnectorResponse > ( request , options ) ; }
public void setValueAt ( int relativeOffset , int value ) { int oldValue = _values [ relativeOffset ] ; _values [ relativeOffset ] = value ; if ( value == POIFSConstants . UNUSED_BLOCK ) { _has_free_sectors = true ; return ; } if ( oldValue == POIFSConstants . UNUSED_BLOCK ) { recomputeFree ( ) ; } }
public void SetValueAt ( int relativeOffset , int value ) { int oldValue = _values [ relativeOffset ] ; _values [ relativeOffset ] = value ; if ( value == POIFSConstants . UNUSED_BLOCK ) { _has_free_sectors = true ; return ; } if ( oldValue == POIFSConstants . UNUSED_BLOCK ) { RecomputeFree ( ) ; } }
public static boolean isBinary ( byte [ ] raw ) { return isBinary ( raw , raw . length ) ; }
public static bool IsBinary ( byte [ ] raw ) { return IsBinary ( raw , raw . Length ) ; }
public void build ( InputIterator iterator ) throws IOException { if ( iterator . hasPayloads ( ) ) { throw new IllegalArgumentException ( "this suggester doesn't support payloads" ) ; } if ( iterator . hasContexts ( ) ) { throw new IllegalArgumentException ( "this suggester doesn't support contexts" ) ; } count = 0 ; trie = new JaspellTernarySearchTrie ( ) ; trie . setMatchAlmostDiff ( editDistance ) ; BytesRef spare ; final CharsRefBuilder charsSpare = new CharsRefBuilder ( ) ; while ( ( spare = iterator . next ( ) ) != null ) { final long weight = iterator . weight ( ) ; if ( spare . length == 0 ) { continue ; } charsSpare . copyUTF8Bytes ( spare ) ; trie . put ( charsSpare . toString ( ) , Long . valueOf ( weight ) ) ; count ++ ; } }
public override void Build ( IInputIterator tfit ) { if ( tfit . HasPayloads ) { throw new ArgumentException ( "this suggester doesn't support payloads" ) ; } if ( tfit . Comparer != null ) { tfit = new UnsortedInputIterator ( tfit ) ; } if ( tfit . HasContexts ) { throw new System . ArgumentException ( "this suggester doesn't support contexts" ) ; } count = 0 ; trie = new JaspellTernarySearchTrie { MatchAlmostDiff = editDistance } ; BytesRef spare ; var charsSpare = new CharsRef ( ) ; while ( ( spare = tfit . Next ( ) ) != null ) { long weight = tfit . Weight ; if ( spare . Length == 0 ) { continue ; } charsSpare . Grow ( spare . Length ) ; UnicodeUtil . UTF8toUTF16 ( spare . Bytes , spare . Offset , spare . Length , charsSpare ) ; trie . Put ( charsSpare . ToString ( ) , weight ) ; } }
public boolean isVerticalBorder ( ) { return verticalBorder . isSet ( field_1_options ) ; }
public bool IsVerticalBorder ( ) { return verticalBorder . IsSet ( field_1_options ) ; }
public CreateDBInstanceRequest ( String dBInstanceIdentifier , Integer allocatedStorage , String dBInstanceClass , String engine , String masterUsername , String masterUserPassword ) { setDBInstanceIdentifier ( dBInstanceIdentifier ) ; setAllocatedStorage ( allocatedStorage ) ; setDBInstanceClass ( dBInstanceClass ) ; setEngine ( engine ) ; setMasterUsername ( masterUsername ) ; setMasterUserPassword ( masterUserPassword ) ; }
public CreateDBInstanceRequest ( string dbInstanceIdentifier , int allocatedStorage , string dbInstanceClass , string engine , string masterUsername , string masterUserPassword ) { _dbInstanceIdentifier = dbInstanceIdentifier ; _allocatedStorage = allocatedStorage ; _dbInstanceClass = dbInstanceClass ; _engine = engine ; _masterUsername = masterUsername ; _masterUserPassword = masterUserPassword ; }
public DescribeCapacityProvidersResult describeCapacityProviders ( DescribeCapacityProvidersRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeCapacityProviders ( request ) ; }
public virtual DescribeCapacityProvidersResponse DescribeCapacityProviders ( DescribeCapacityProvidersRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeCapacityProvidersRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeCapacityProvidersResponseUnmarshaller . Instance ; return Invoke < DescribeCapacityProvidersResponse > ( request , options ) ; }
public CreateQualificationTypeResult createQualificationType ( CreateQualificationTypeRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateQualificationType ( request ) ; }
public virtual CreateQualificationTypeResponse CreateQualificationType ( CreateQualificationTypeRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateQualificationTypeRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateQualificationTypeResponseUnmarshaller . Instance ; return Invoke < CreateQualificationTypeResponse > ( request , options ) ; }
public void addLast ( E object ) { addLastImpl ( object ) ; }
public virtual void addLast ( E @ object ) { addLastImpl ( @ object ) ; }
public Patch ( ) { files = new ArrayList < > ( ) ; errors = new ArrayList < > ( 0 ) ; }
public Patch ( ) { files = new AList < FileHeader > ( ) ; errors = new AList < FormatError > ( 0 ) ; }
public GetSdkTypesResult getSdkTypes ( GetSdkTypesRequest request ) { request = beforeClientExecution ( request ) ; return executeGetSdkTypes ( request ) ; }
public virtual GetSdkTypesResponse GetSdkTypes ( GetSdkTypesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetSdkTypesRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetSdkTypesResponseUnmarshaller . Instance ; return Invoke < GetSdkTypesResponse > ( request , options ) ; }
public String toFormulaString ( ) { throw new RuntimeException ( "3D references need a workbook to determine formula text" ) ; }
public override String ToFormulaString ( ) { throw new NotImplementedException ( "3D references need a workbook to determine formula text" ) ; }
public ListPhotoFacesRequest ( ) { super ( "CloudPhoto" , "2017-07-11" , "ListPhotoFaces" , "cloudphoto" ) ; setProtocol ( ProtocolType . HTTPS ) ; }
public ListPhotoFacesRequest ( ) : base ( "CloudPhoto" , "2017-07-11" , "ListPhotoFaces" , "cloudphoto" , "openAPI" ) { Protocol = ProtocolType . HTTPS ; }
public boolean isBatchMode ( ) { return batchMode != null && batchMode . booleanValue ( ) ; }
public virtual bool IsBatchMode ( ) { return batchMode != null && batchMode . Value ; }
@ Override public boolean isEmpty ( ) { return endpoint ( true ) == null ; }
public override bool isEmpty ( ) { return this . endpoint ( true ) == null ; }
@ Override public Set < Entry < K , V > > entrySet ( ) { BoundedEntrySet result = entrySet ; return result != null ? result : ( entrySet = new BoundedEntrySet ( ) ) ; }
public override java . util . Set < java . util . MapClass . Entry < K , V > > entrySet ( ) { java . util . TreeMap < K , V > . BoundedMap . BoundedEntrySet result = this . _entrySet ; return result != null ? result : ( this . _entrySet = new java . util . TreeMap < K , V > . BoundedMap . BoundedEntrySet ( this ) ) ; }
public static CFRuleRecord create ( HSSFSheet sheet , String formulaText ) { Ptg [ ] formula1 = parseFormula ( formulaText , sheet ) ; return new CFRuleRecord ( CONDITION_TYPE_FORMULA , ComparisonOperator . NO_COMPARISON , formula1 , null ) ; }
public static CFRuleRecord Create ( HSSFSheet sheet , String formulaText ) { Ptg [ ] formula1 = ParseFormula ( formulaText , sheet ) ; return new CFRuleRecord ( CONDITION_TYPE_FORMULA , ComparisonOperator . NoComparison , formula1 , null ) ; }
public DeleteAlbumsRequest ( ) { super ( "CloudPhoto" , "2017-07-11" , "DeleteAlbums" , "cloudphoto" ) ; setProtocol ( ProtocolType . HTTPS ) ; }
public DeleteAlbumsRequest ( ) : base ( "CloudPhoto" , "2017-07-11" , "DeleteAlbums" , "cloudphoto" , "openAPI" ) { Protocol = ProtocolType . HTTPS ; }
public MissingFormatArgumentException ( String s ) { if ( s == null ) { throw new NullPointerException ( ) ; } this . s = s ; }
public MissingFormatArgumentException ( string s ) { if ( s == null ) { throw new System . ArgumentNullException ( ) ; } this . s = s ; }
public DeleteApplicationOutputResult deleteApplicationOutput ( DeleteApplicationOutputRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteApplicationOutput ( request ) ; }
public virtual DeleteApplicationOutputResponse DeleteApplicationOutput ( DeleteApplicationOutputRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteApplicationOutputRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteApplicationOutputResponseUnmarshaller . Instance ; return Invoke < DeleteApplicationOutputResponse > ( request , options ) ; }
public PredictionContextCache getSharedContextCache ( ) { return sharedContextCache ; }
public PredictionContextCache getSharedContextCache ( ) { return sharedContextCache ; }
public String toString ( ) { StringBuilder sb = new StringBuilder ( 64 ) ; sb . append ( getClass ( ) . getName ( ) ) . append ( " [" ) ; sb . append ( getText ( ) ) ; sb . append ( "]" ) ; return sb . toString ( ) ; }
public override String ToString ( ) { StringBuilder sb = new StringBuilder ( 64 ) ; sb . Append ( GetType ( ) . Name ) . Append ( " [" ) ; sb . Append ( Text ) ; sb . Append ( "]" ) ; return sb . ToString ( ) ; }
public DecisionState getDecisionState ( int decision ) { if ( ! decisionToState . isEmpty ( ) ) { return decisionToState . get ( decision ) ; } return null ; }
public virtual DecisionState GetDecisionState ( int decision ) { if ( decisionToState . Count != 0 ) { return decisionToState [ decision ] ; } return null ; }
public void removeSheet ( int sheetIdx ) { _externSheetRecord . removeSheet ( sheetIdx ) ; }
public void RemoveSheet ( int sheetIdx ) { _externSheetRecord . RemoveSheet ( sheetIdx ) ; }
public HSSFRequest ( ) { _records = new HashMap < > ( 50 ) ; }
public HSSFRequest ( ) { records = new Hashtable ( 50 ) ; }
final public QueryNode TopLevelQuery ( CharSequence field ) throws ParseException { QueryNode q ; q = Query ( field ) ; jj_consume_token ( 0 ) ; { if ( true ) return q ; } throw new Error ( "Missing return statement in function" ) ; }
public IQueryNode TopLevelQuery ( string field ) { IQueryNode q ; q = Query ( field ) ; Jj_consume_token ( 0 ) ; { if ( true ) return q ; } throw new Exception ( "Missing return statement in function" ) ; }
public DescribeUpdateResult describeUpdate ( DescribeUpdateRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeUpdate ( request ) ; }
public virtual DescribeUpdateResponse DescribeUpdate ( DescribeUpdateRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeUpdateRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeUpdateResponseUnmarshaller . Instance ; return Invoke < DescribeUpdateResponse > ( request , options ) ; }
public boolean getValue ( ) { return value ; }
public virtual bool GetValue ( ) { return value ; }
public final int getType ( ) { return ( flags > > TYPE_SHIFT ) & 0x7 ; }
public virtual int GetType ( ) { return ( flags > > TYPE_SHIFT ) & unchecked ( ( int ) ( 0x7 ) ) ; }
public DoubleBuffer put ( double c ) { if ( position == limit ) { throw new BufferOverflowException ( ) ; } byteBuffer . putDouble ( position ++ * SizeOf . DOUBLE , c ) ; return this ; }
public override java . nio . DoubleBuffer put ( double c ) { if ( _position == _limit ) { throw new java . nio . BufferOverflowException ( ) ; } byteBuffer . putDouble ( _position ++ * libcore . io . SizeOf . DOUBLE , c ) ; return this ; }
public void endEvaluate ( CellCacheEntry cce ) { int nFrames = _evaluationFrames . size ( ) ; if ( nFrames < 1 ) { throw new IllegalStateException ( "Call to endEvaluate without matching call to startEvaluate" ) ; } nFrames -- ; CellEvaluationFrame frame = _evaluationFrames . get ( nFrames ) ; if ( cce != frame . getCCE ( ) ) { throw new IllegalStateException ( "Wrong cell specified. " ) ; } _evaluationFrames . remove ( nFrames ) ; _currentlyEvaluatingCells . remove ( cce ) ; }
public void EndEvaluate ( CellCacheEntry cce ) { int nFrames = _evaluationFrames . Count ; if ( nFrames < 1 ) { throw new InvalidOperationException ( "Call To endEvaluate without matching call To startEvaluate" ) ; } nFrames -- ; CellEvaluationFrame frame = ( CellEvaluationFrame ) _evaluationFrames [ nFrames ] ; if ( cce != frame . GetCCE ( ) ) { throw new InvalidOperationException ( "Wrong cell specified. " ) ; } _evaluationFrames . RemoveAt ( nFrames ) ; _currentlyEvaluatingCells . Remove ( cce ) ; }
public NumberPtg ( double value ) { field_1_value = value ; }
public NumberPtg ( double value ) { field_1_value = value ; }
public GroupingSearch setGroupSort ( Sort groupSort ) { this . groupSort = groupSort ; return this ; }
public virtual GroupingSearch SetGroupSort ( Sort groupSort ) { this . groupSort = groupSort ; return this ; }
public HSSFBorderFormatting createBorderFormatting ( ) { return getBorderFormatting ( true ) ; }
public IBorderFormatting CreateBorderFormatting ( ) { return GetBorderFormatting ( true ) ; }
public HSSFSimpleShape createShape ( HSSFChildAnchor anchor ) { HSSFSimpleShape shape = new HSSFSimpleShape ( this , anchor ) ; shape . setParent ( this ) ; shape . setAnchor ( anchor ) ; shapes . add ( shape ) ; onCreate ( shape ) ; EscherSpRecord sp = shape . getEscherContainer ( ) . getChildById ( EscherSpRecord . RECORD_ID ) ; if ( shape . getAnchor ( ) . isHorizontallyFlipped ( ) ) { sp . setFlags ( sp . getFlags ( ) | EscherSpRecord . FLAG_FLIPHORIZ ) ; } if ( shape . getAnchor ( ) . isVerticallyFlipped ( ) ) { sp . setFlags ( sp . getFlags ( ) | EscherSpRecord . FLAG_FLIPVERT ) ; } return shape ; }
public HSSFSimpleShape CreateShape ( HSSFChildAnchor anchor ) { HSSFSimpleShape shape = new HSSFSimpleShape ( this , anchor ) ; shape . Parent = this ; shape . Anchor = anchor ; shapes . Add ( shape ) ; OnCreate ( shape ) ; EscherSpRecord sp = ( EscherSpRecord ) shape . GetEscherContainer ( ) . GetChildById ( EscherSpRecord . RECORD_ID ) ; if ( shape . Anchor . IsHorizontallyFlipped ) { sp . Flags = ( sp . Flags | EscherSpRecord . FLAG_FLIPHORIZ ) ; } if ( shape . Anchor . IsVerticallyFlipped ) { sp . Flags = ( sp . Flags | EscherSpRecord . FLAG_FLIPVERT ) ; } return shape ; }
public GetLifecyclePolicyResult getLifecyclePolicy ( GetLifecyclePolicyRequest request ) { request = beforeClientExecution ( request ) ; return executeGetLifecyclePolicy ( request ) ; }
public virtual GetLifecyclePolicyResponse GetLifecyclePolicy ( GetLifecyclePolicyRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetLifecyclePolicyRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetLifecyclePolicyResponseUnmarshaller . Instance ; return Invoke < GetLifecyclePolicyResponse > ( request , options ) ; }
public Integer integerValue ( String key ) { String value = responseMap . get ( key ) ; if ( null == value || 0 == value . length ( ) ) { return null ; } return Integer . valueOf ( value ) ; }
public int ? IntegerValue ( string key ) { if ( null != DictionaryUtil . Get ( ResponseDictionary , key ) ) { return int . Parse ( DictionaryUtil . Get ( ResponseDictionary , key ) ) ; } return null ; }
public int size ( ) { return backingMap . size ( ) ; }
public override int size ( ) { return backingMap . size ( ) ; }
public Map . Entry < K , V > next ( ) { if ( ! valueIterator . hasNext ( ) ) { findValueIteratorAndKey ( ) ; } return Maps . immutableEntry ( key , valueIterator . next ( ) ) ; }
public override java . util . MapClass . Entry < K , V > next ( ) { return this . nextEntry ( ) ; }
public boolean shouldBeRecursive ( ) { return a . shouldBeRecursive ( ) ; }
public override bool ShouldBeRecursive ( ) { return a . ShouldBeRecursive ( ) ; }
public GetRepoAuthorizationListRequest ( ) { super ( "cr" , "2016-06-07" , "GetRepoAuthorizationList" , "cr" ) ; setUriPattern ( "/repos/[RepoNamespace]/[RepoName]/authorizations" ) ; setMethod ( MethodType . GET ) ; }
public GetRepoAuthorizationListRequest ( ) : base ( "cr" , "2016-06-07" , "GetRepoAuthorizationList" , "cr" , "openAPI" ) { UriPattern = "/repos/[RepoNamespace]/[RepoName]/authorizations" ; Method = MethodType . GET ; }
public int checkExternSheet ( int sheetIndex ) { return checkExternSheet ( sheetIndex , sheetIndex ) ; }
public int CheckExternSheet ( int sheetIndex ) { return CheckExternSheet ( sheetIndex , sheetIndex ) ; }
public LexerATNConfig ( LexerATNConfig c , ATNState state ) { super ( c , state , c . context , c . semanticContext ) ; this . lexerActionExecutor = c . lexerActionExecutor ; this . passedThroughNonGreedyDecision = checkNonGreedyDecision ( c , state ) ; }
public LexerATNConfig ( LexerATNConfig c , ATNState state ) : base ( c , state , c . context , c . semanticContext ) { this . lexerActionExecutor = c . lexerActionExecutor ; this . passedThroughNonGreedyDecision = checkNonGreedyDecision ( c , state ) ; }
public QueryNodeProcessor set ( int index , QueryNodeProcessor processor ) { QueryNodeProcessor oldProcessor = this . processors . set ( index , processor ) ; if ( oldProcessor != processor ) { processor . setQueryConfigHandler ( this . queryConfig ) ; } return oldProcessor ; }
public virtual IQueryNodeProcessor Set ( int index , IQueryNodeProcessor processor ) { IQueryNodeProcessor oldProcessor = this . processors [ index ] ; this . processors [ index ] = processor ; if ( oldProcessor != processor ) { processor . SetQueryConfigHandler ( this . queryConfig ) ; } return oldProcessor ; }
public String getRuleName ( int index ) { if ( parser != null && index >= 0 ) return parser . getRuleNames ( ) [ index ] ; return "<rule " + index + ">" ; }
public string GetRuleName ( int index ) { if ( parser != null && index >= 0 ) return parser . RuleNames [ index ] ; return "<rule " + index + ">" ; }
public ByteBuffer compact ( ) { System . arraycopy ( backingArray , position + offset , backingArray , offset , remaining ( ) ) ; position = limit - position ; limit = capacity ; mark = UNSET_MARK ; return this ; }
public override java . nio . ByteBuffer compact ( ) { System . Array . Copy ( backingArray , _position + offset , backingArray , offset , remaining ( ) ) ; _position = _limit - _position ; _limit = _capacity ; _mark = UNSET_MARK ; return this ; }
public DirCache call ( ) throws GitAPIException , NoFilepatternException { if ( filepatterns . isEmpty ( ) ) throw new NoFilepatternException ( JGitText . get ( ) . atLeastOnePatternIsRequired ) ; checkCallable ( ) ; DirCache dc = null ; List < String > actuallyDeletedFiles = new ArrayList < > ( ) ; try ( TreeWalk tw = new TreeWalk ( repo ) ) { dc = repo . lockDirCache ( ) ; DirCacheBuilder builder = dc . builder ( ) ; tw . reset ( ) ; tw . setRecursive ( true ) ; tw . setFilter ( PathFilterGroup . createFromStrings ( filepatterns ) ) ; tw . addTree ( new DirCacheBuildIterator ( builder ) ) ; while ( tw . next ( ) ) { if ( ! cached ) { final FileMode mode = tw . getFileMode ( 0 ) ; if ( mode . getObjectType ( ) == Constants . OBJ_BLOB ) { String relativePath = tw . getPathString ( ) ; final File path = new File ( repo . getWorkTree ( ) , relativePath ) ; if ( delete ( path ) ) { actuallyDeletedFiles . add ( relativePath ) ; } } } } builder . commit ( ) ; setCallable ( false ) ; } catch ( IOException e ) { throw new JGitInternalException ( JGitText . get ( ) . exceptionCaughtDuringExecutionOfRmCommand , e ) ; } finally { try { if ( dc != null ) { dc . unlock ( ) ; } } finally { if ( ! actuallyDeletedFiles . isEmpty ( ) ) { repo . fireEvent ( new WorkingTreeModifiedEvent ( null , actuallyDeletedFiles ) ) ; } } } return dc ; }
public override DirCache Call ( ) { if ( filepatterns . IsEmpty ( ) ) { throw new NoFilepatternException ( JGitText . Get ( ) . atLeastOnePatternIsRequired ) ; } CheckCallable ( ) ; DirCache dc = null ; try { dc = repo . LockDirCache ( ) ; DirCacheBuilder builder = dc . Builder ( ) ; TreeWalk tw = new TreeWalk ( repo ) ; tw . Reset ( ) ; tw . Recursive = true ; tw . Filter = PathFilterGroup . CreateFromStrings ( filepatterns ) ; tw . AddTree ( new DirCacheBuildIterator ( builder ) ) ; while ( tw . Next ( ) ) { FilePath path = new FilePath ( repo . WorkTree , tw . PathString ) ; FileMode mode = tw . GetFileMode ( 0 ) ; if ( mode . GetObjectType ( ) == Constants . OBJ_BLOB ) { Delete ( path ) ; } } builder . Commit ( ) ; SetCallable ( false ) ; } catch ( IOException e ) { throw new JGitInternalException ( JGitText . Get ( ) . exceptionCaughtDuringExecutionOfRmCommand , e ) ; } finally { if ( dc != null ) { dc . Unlock ( ) ; } } return dc ; }
public DeleteGatewayResponseResult deleteGatewayResponse ( DeleteGatewayResponseRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteGatewayResponse ( request ) ; }
public virtual DeleteGatewayResponseResponse DeleteGatewayResponse ( DeleteGatewayResponseRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteGatewayResponseRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteGatewayResponseResponseUnmarshaller . Instance ; return Invoke < DeleteGatewayResponseResponse > ( request , options ) ; }
public TokenStream create ( TokenStream input ) { return new NorwegianLightStemFilter ( input , flags ) ; }
public override TokenStream Create ( TokenStream input ) { return new NorwegianLightStemFilter ( input , flags ) ; }
public GetUserSourceRepoListRequest ( ) { super ( "cr" , "2016-06-07" , "GetUserSourceRepoList" , "cr" ) ; setUriPattern ( "/users/sourceAccount/[SourceAccountId]/repos" ) ; setMethod ( MethodType . GET ) ; }
public GetUserSourceRepoListRequest ( ) : base ( "cr" , "2016-06-07" , "GetUserSourceRepoList" , "cr" , "openAPI" ) { UriPattern = "/users/sourceAccount/[SourceAccountId]/repos" ; Method = MethodType . GET ; }
public DescribeEventBusResult describeEventBus ( DescribeEventBusRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeEventBus ( request ) ; }
public virtual DescribeEventBusResponse DescribeEventBus ( DescribeEventBusRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeEventBusRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeEventBusResponseUnmarshaller . Instance ; return Invoke < DescribeEventBusResponse > ( request , options ) ; }
public DefaultAcsClient ( IClientProfile profile , AlibabaCloudCredentialsProvider credentialsProvider ) { this . clientProfile = profile ; this . credentialsProvider = credentialsProvider ; this . clientProfile . setCredentialsProvider ( this . credentialsProvider ) ; this . httpClient = HttpClientFactory . buildClient ( this . clientProfile ) ; this . endpointResolver = new DefaultEndpointResolver ( this , profile ) ; this . appendUserAgent ( "HTTPClient" , this . httpClient . getClass ( ) . getSimpleName ( ) ) ; }
public DefaultAcsClient ( IClientProfile profile , AlibabaCloudCredentialsProvider credentialsProvider ) : this ( ) { clientProfile = profile ; this . credentialsProvider = credentialsProvider ; clientProfile . SetCredentialsProvider ( this . credentialsProvider ) ; }
public String toString ( ) { StringBuilder result = new StringBuilder ( limit - position ) ; for ( int i = position ; i < limit ; i ++ ) { result . append ( get ( i ) ) ; } return result . toString ( ) ; }
public override string ToString ( ) { java . lang . StringBuilder result = new java . lang . StringBuilder ( _limit - _position ) ; { for ( int i = _position ; i < _limit ; i ++ ) { result . append ( get ( i ) ) ; } } return result . ToString ( ) ; }
public final byte [ ] replacement ( ) { return replacementBytes ; }
public byte [ ] replacement ( ) { return replacementBytes ; }
public SeriesToChartGroupRecord clone ( ) { return copy ( ) ; }
public override Object Clone ( ) { SeriesToChartGroupRecord rec = new SeriesToChartGroupRecord ( ) ; rec . field_1_chartGroupIndex = field_1_chartGroupIndex ; return rec ; }
public AttributeValue ( java . util . List < String > sS ) { setSS ( sS ) ; }
public AttributeValue ( List < string > ss ) { _ss = ss ; }
public HSSFComment ( EscherContainerRecord spContainer , ObjRecord objRecord , TextObjectRecord textObjectRecord , NoteRecord note ) { super ( spContainer , objRecord , textObjectRecord ) ; _note = note ; }
public HSSFComment ( EscherContainerRecord spContainer , ObjRecord objRecord , TextObjectRecord textObjectRecord , NoteRecord _note ) : base ( spContainer , objRecord , textObjectRecord ) { this . _note = _note ; }
public FilteredDocIdSetIterator ( DocIdSetIterator innerIter ) { if ( innerIter == null ) { throw new IllegalArgumentException ( "null iterator" ) ; } _innerIter = innerIter ; doc = - 1 ; }
public FilteredDocIdSetIterator ( DocIdSetIterator innerIter ) { if ( innerIter == null ) { throw new System . ArgumentException ( "null iterator" ) ; } m_innerIter = innerIter ; doc = - 1 ; }
public DeleteDBClusterParameterGroupResult deleteDBClusterParameterGroup ( DeleteDBClusterParameterGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteDBClusterParameterGroup ( request ) ; }
public virtual DeleteDBClusterParameterGroupResponse DeleteDBClusterParameterGroup ( DeleteDBClusterParameterGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteDBClusterParameterGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteDBClusterParameterGroupResponseUnmarshaller . Instance ; return Invoke < DeleteDBClusterParameterGroupResponse > ( request , options ) ; }
public LongsRef next ( int count ) throws IOException { assert nextValues . length >= 0 ; assert count > 0 ; assert nextValues . offset + nextValues . length <= nextValues . longs . length ; nextValues . offset += nextValues . length ; final int remaining = valueCount - position - 1 ; if ( remaining <= 0 ) { throw new EOFException ( ) ; } count = Math . min ( remaining , count ) ; if ( nextValues . offset == nextValues . longs . length ) { final long remainingBlocks = format . byteCount ( packedIntsVersion , remaining , bitsPerValue ) ; final int blocksToRead = ( int ) Math . min ( remainingBlocks , nextBlocks . length ) ; in . readBytes ( nextBlocks , 0 , blocksToRead ) ; if ( blocksToRead < nextBlocks . length ) { Arrays . fill ( nextBlocks , blocksToRead , nextBlocks . length , ( byte ) 0 ) ; } bulkOperation . decode ( nextBlocks , 0 , nextValues . longs , 0 , iterations ) ; nextValues . offset = 0 ; } nextValues . length = Math . min ( nextValues . longs . length - nextValues . offset , count ) ; position += nextValues . length ; return nextValues ; }
public override Int64sRef Next ( int count ) { Debug . Assert ( nextValues . Length >= 0 ) ; Debug . Assert ( count > 0 ) ; Debug . Assert ( nextValues . Offset + nextValues . Length <= nextValues . Int64s . Length ) ; nextValues . Offset += nextValues . Length ; int remaining = m_valueCount - position - 1 ; if ( remaining <= 0 ) { throw new System . IO . EndOfStreamException ( ) ; } count = Math . Min ( remaining , count ) ; if ( nextValues . Offset == nextValues . Int64s . Length ) { long remainingBlocks = format . ByteCount ( packedIntsVersion , remaining , m_bitsPerValue ) ; int blocksToRead = ( int ) Math . Min ( remainingBlocks , nextBlocks . Length ) ; m_in . ReadBytes ( nextBlocks , 0 , blocksToRead ) ; if ( blocksToRead < nextBlocks . Length ) { Arrays . Fill ( nextBlocks , blocksToRead , nextBlocks . Length , ( byte ) 0 ) ; } bulkOperation . Decode ( nextBlocks , 0 , nextValues . Int64s , 0 , iterations ) ; nextValues . Offset = 0 ; } nextValues . Length = Math . Min ( nextValues . Int64s . Length - nextValues . Offset , count ) ; position += nextValues . Length ; return nextValues ; }
public UpdateServiceAccessPoliciesResult updateServiceAccessPolicies ( UpdateServiceAccessPoliciesRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateServiceAccessPolicies ( request ) ; }
public virtual UpdateServiceAccessPoliciesResponse UpdateServiceAccessPolicies ( UpdateServiceAccessPoliciesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateServiceAccessPoliciesRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateServiceAccessPoliciesResponseUnmarshaller . Instance ; return Invoke < UpdateServiceAccessPoliciesResponse > ( request , options ) ; }
public void serialize ( LittleEndianOutput out ) { out . writeShort ( sid ) ; out . writeShort ( ENCODED_SIZE ) ; }
public override void Serialize ( ILittleEndianOutput out1 ) { out1 . WriteShort ( sid ) ; out1 . WriteShort ( ENCODED_SIZE ) ; }
public GetApplicationSettingsResult getApplicationSettings ( GetApplicationSettingsRequest request ) { request = beforeClientExecution ( request ) ; return executeGetApplicationSettings ( request ) ; }
public virtual GetApplicationSettingsResponse GetApplicationSettings ( GetApplicationSettingsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetApplicationSettingsRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetApplicationSettingsResponseUnmarshaller . Instance ; return Invoke < GetApplicationSettingsResponse > ( request , options ) ; }
public void serialize ( LittleEndianOutput out ) { out . writeShort ( getCodepage ( ) ) ; }
public override void Serialize ( ILittleEndianOutput out1 ) { out1 . WriteShort ( Codepage ) ; }
public SharedFormulaRecord ( RecordInputStream in ) { super ( in ) ; field_5_reserved = in . readShort ( ) ; int field_6_expression_len = in . readShort ( ) ; int nAvailableBytes = in . available ( ) ; field_7_parsed_expr = Formula . read ( field_6_expression_len , in , nAvailableBytes ) ; }
public SharedFormulaRecord ( RecordInputStream in1 ) : base ( in1 ) { field_5_reserved = in1 . ReadShort ( ) ; int field_6_expression_len = in1 . ReadShort ( ) ; int nAvailableBytes = in1 . Available ( ) ; field_7_parsed_expr = NPOI . SS . Formula . Formula . Read ( field_6_expression_len , in1 , nAvailableBytes ) ; }
public void remove ( ) { if ( this . lastPosition == - 1 ) { throw new IllegalStateException ( ) ; } if ( expectedModCount != modCount ) { throw new ConcurrentModificationException ( ) ; } try { AbstractList . this . remove ( lastPosition ) ; } catch ( IndexOutOfBoundsException e ) { throw new ConcurrentModificationException ( ) ; } expectedModCount = modCount ; if ( pos == lastPosition ) { pos -- ; } lastPosition = - 1 ; }
public virtual void remove ( ) { if ( this . lastPosition == - 1 ) { throw new System . InvalidOperationException ( ) ; } if ( this . expectedModCount != this . _enclosing . modCount ) { throw new java . util . ConcurrentModificationException ( ) ; } try { this . _enclosing . remove ( this . lastPosition ) ; } catch ( System . IndexOutOfRangeException ) { throw new java . util . ConcurrentModificationException ( ) ; } this . expectedModCount = this . _enclosing . modCount ; if ( this . pos == this . lastPosition ) { this . pos -- ; } this . lastPosition = - 1 ; }
public int getRef ( Character way ) { Cell c = at ( way ) ; return ( c == null ) ? - 1 : c . ref ; }
public int GetRef ( char way ) { Cell c = At ( way ) ; return ( c == null ) ? - 1 : c . @ ref ; }
public K ceilingKey ( K key ) { Entry < K , V > entry = findBounded ( key , CEILING ) ; return entry != null ? entry . getKey ( ) : null ; }
public K ceilingKey ( K key ) { java . util . MapClass . Entry < K , V > entry = this . findBounded ( key , java . util . TreeMap . Relation . CEILING ) ; return entry != null ? entry . getKey ( ) : default ( K ) ; }
public CreateApplicationRequest ( String applicationName ) { setApplicationName ( applicationName ) ; }
public CreateApplicationRequest ( string applicationName ) { _applicationName = applicationName ; }
public int pathCompare ( byte [ ] buf , int pos , int end , int pathMode ) { return pathCompare ( buf , pos , end , pathMode , 0 ) ; }
public virtual int PathCompare ( byte [ ] buf , int pos , int end , int mode ) { return PathCompare ( buf , pos , end , mode , 0 ) ; }
public DescribeContainerInstancesResult describeContainerInstances ( DescribeContainerInstancesRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeContainerInstances ( request ) ; }
public virtual DescribeContainerInstancesResponse DescribeContainerInstances ( DescribeContainerInstancesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeContainerInstancesRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeContainerInstancesResponseUnmarshaller . Instance ; return Invoke < DescribeContainerInstancesResponse > ( request , options ) ; }
public void serialize ( LittleEndianOutput out ) { for ( short tabid : _tabids ) { out . writeShort ( tabid ) ; } }
public override void Serialize ( ILittleEndianOutput out1 ) { short [ ] tabids = _tabids ; for ( int i = 0 ; i < tabids . Length ; i ++ ) { out1 . WriteShort ( tabids [ i ] ) ; } }
public ListIAMPolicyAssignmentsForUserResult listIAMPolicyAssignmentsForUser ( ListIAMPolicyAssignmentsForUserRequest request ) { request = beforeClientExecution ( request ) ; return executeListIAMPolicyAssignmentsForUser ( request ) ; }
public virtual ListIAMPolicyAssignmentsForUserResponse ListIAMPolicyAssignmentsForUser ( ListIAMPolicyAssignmentsForUserRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListIAMPolicyAssignmentsForUserRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListIAMPolicyAssignmentsForUserResponseUnmarshaller . Instance ; return Invoke < ListIAMPolicyAssignmentsForUserResponse > ( request , options ) ; }
public boolean equals ( Object obj ) { if ( obj instanceof Map . Entry ) { final Object key = ( ( Map . Entry ) obj ) . getKey ( ) ; final Object val = ( ( Map . Entry ) obj ) . getValue ( ) ; if ( key instanceof String && val instanceof Ref ) { final Ref r = ( Ref ) val ; if ( r . getName ( ) . equals ( ref . getName ( ) ) ) { final ObjectId a = r . getObjectId ( ) ; final ObjectId b = ref . getObjectId ( ) ; if ( a != null && b != null && AnyObjectId . isEqual ( a , b ) ) { return true ; } } } } return false ; }
public override bool Equals ( object obj ) { if ( obj is DictionaryEntry ) { object key = ( ( DictionaryEntry ) obj ) . Key ; object val = ( ( DictionaryEntry ) obj ) . Value ; if ( key is string && val is Ref ) { Ref r = ( Ref ) val ; if ( r . GetName ( ) . Equals ( this . @ ref . GetName ( ) ) ) { ObjectId a = r . GetObjectId ( ) ; ObjectId b = this . @ ref . GetObjectId ( ) ; if ( a != null && b != null && AnyObjectId . Equals ( a , b ) ) { return true ; } } } } return false ; }
public RemoveFacetFromObjectResult removeFacetFromObject ( RemoveFacetFromObjectRequest request ) { request = beforeClientExecution ( request ) ; return executeRemoveFacetFromObject ( request ) ; }
public virtual RemoveFacetFromObjectResponse RemoveFacetFromObject ( RemoveFacetFromObjectRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = RemoveFacetFromObjectRequestMarshaller . Instance ; options . ResponseUnmarshaller = RemoveFacetFromObjectResponseUnmarshaller . Instance ; return Invoke < RemoveFacetFromObjectResponse > ( request , options ) ; }
public static boolean equals ( char [ ] array1 , char [ ] array2 ) { if ( array1 == array2 ) { return true ; } if ( array1 == null || array2 == null || array1 . length != array2 . length ) { return false ; } for ( int i = 0 ; i < array1 . length ; i ++ ) { if ( array1 [ i ] != array2 [ i ] ) { return false ; } } return true ; }
public static bool equals ( char [ ] array1 , char [ ] array2 ) { if ( array1 == array2 ) { return true ; } if ( array1 == null || array2 == null || array1 . Length != array2 . Length ) { return false ; } { for ( int i = 0 ; i < array1 . Length ; i ++ ) { if ( array1 [ i ] != array2 [ i ] ) { return false ; } } } return true ; }
public AssociateRouteTableResult associateRouteTable ( AssociateRouteTableRequest request ) { request = beforeClientExecution ( request ) ; return executeAssociateRouteTable ( request ) ; }
public virtual AssociateRouteTableResponse AssociateRouteTable ( AssociateRouteTableRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AssociateRouteTableRequestMarshaller . Instance ; options . ResponseUnmarshaller = AssociateRouteTableResponseUnmarshaller . Instance ; return Invoke < AssociateRouteTableResponse > ( request , options ) ; }
public void createInformationProperties ( ) { if ( ! initialized ) { readProperties ( ) ; } if ( sInf == null ) { sInf = PropertySetFactory . newSummaryInformation ( ) ; } if ( dsInf == null ) { dsInf = newDocumentSummaryInformation ( ) ; } }
public void CreateInformationProperties ( ) { if ( ! initialized ) ReadProperties ( ) ; if ( sInf == null ) { sInf = PropertySetFactory . CreateSummaryInformation ( ) ; } if ( dsInf == null ) { dsInf = PropertySetFactory . CreateDocumentSummaryInformation ( ) ; } }
public DescribeCommentsResult describeComments ( DescribeCommentsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeComments ( request ) ; }
public virtual DescribeCommentsResponse DescribeComments ( DescribeCommentsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeCommentsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeCommentsResponseUnmarshaller . Instance ; return Invoke < DescribeCommentsResponse > ( request , options ) ; }
public MoPenCreateDeviceRequest ( ) { super ( "MoPen" , "2018-02-11" , "MoPenCreateDevice" , "mopen" ) ; setProtocol ( ProtocolType . HTTPS ) ; setMethod ( MethodType . POST ) ; }
public MoPenCreateDeviceRequest ( ) : base ( "MoPen" , "2018-02-11" , "MoPenCreateDevice" , "mopen" , "openAPI" ) { Protocol = ProtocolType . HTTPS ; Method = MethodType . POST ; }
public ApplySchemaResult applySchema ( ApplySchemaRequest request ) { request = beforeClientExecution ( request ) ; return executeApplySchema ( request ) ; }
public virtual ApplySchemaResponse ApplySchema ( ApplySchemaRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ApplySchemaRequestMarshaller . Instance ; options . ResponseUnmarshaller = ApplySchemaResponseUnmarshaller . Instance ; return Invoke < ApplySchemaResponse > ( request , options ) ; }
public MMSRecord ( RecordInputStream in ) { if ( in . remaining ( ) == 0 ) { return ; } field_1_addMenuCount = in . readByte ( ) ; field_2_delMenuCount = in . readByte ( ) ; }
public MMSRecord ( RecordInputStream in1 ) { if ( in1 . Remaining == 0 ) { return ; } field_1_AddMenuCount = ( byte ) in1 . ReadByte ( ) ; field_2_delMenuCount = ( byte ) in1 . ReadByte ( ) ; }
public UserInputQueryBuilder ( QueryParser parser ) { this . unSafeParser = parser ; }
public UserInputQueryBuilder ( QueryParser parser ) { this . unSafeParser = parser ; }
public Object get ( CharSequence key ) { TSTNode node = getNode ( key ) ; if ( node == null ) { return null ; } return node . data ; }
public virtual object Get ( string key ) { TSTNode node = GetNode ( key ) ; if ( node == null ) { return null ; } return node . data ; }
public MergedGroup ( T groupValue ) { this . groupValue = groupValue ; }
public MergedGroup ( T groupValue ) { this . groupValue = groupValue ; }
public StoredField ( String name , int value ) { super ( name , TYPE ) ; fieldsData = value ; }
public StoredField ( string name , int value ) : base ( name , TYPE ) { FieldsData = new Int32 ( value ) ; }
public RebaseCommand setProgressMonitor ( ProgressMonitor monitor ) { if ( monitor == null ) { monitor = NullProgressMonitor . INSTANCE ; } this . monitor = monitor ; return this ; }
public virtual NGit . Api . RebaseCommand SetProgressMonitor ( ProgressMonitor monitor ) { this . monitor = monitor ; return this ; }
public UnknownSubRecord clone ( ) { return copy ( ) ; }
public override Object Clone ( ) { return this ; }
public Query getQuery ( Element e ) throws ParserException { String fieldName = DOMUtils . getAttributeWithInheritanceOrFail ( e , "fieldName" ) ; String text = DOMUtils . getNonBlankTextOrFail ( e ) ; BooleanQuery . Builder bq = new BooleanQuery . Builder ( ) ; bq . setMinimumNumberShouldMatch ( DOMUtils . getAttribute ( e , "minimumNumberShouldMatch" , 0 ) ) ; try ( TokenStream ts = analyzer . tokenStream ( fieldName , text ) ) { TermToBytesRefAttribute termAtt = ts . addAttribute ( TermToBytesRefAttribute . class ) ; Term term = null ; ts . reset ( ) ; while ( ts . incrementToken ( ) ) { term = new Term ( fieldName , BytesRef . deepCopyOf ( termAtt . getBytesRef ( ) ) ) ; bq . add ( new BooleanClause ( new TermQuery ( term ) , BooleanClause . Occur . SHOULD ) ) ; } ts . end ( ) ; } catch ( IOException ioe ) { throw new RuntimeException ( "Error constructing terms from index:" + ioe ) ; } Query q = bq . build ( ) ; float boost = DOMUtils . getAttribute ( e , "boost" , 1.0f ) ; return new BoostQuery ( q , boost ) ; }
public virtual Query GetQuery ( XmlElement e ) { string fieldName = DOMUtils . GetAttributeWithInheritanceOrFail ( e , "fieldName" ) ; string text = DOMUtils . GetNonBlankTextOrFail ( e ) ; BooleanQuery bq = new BooleanQuery ( DOMUtils . GetAttribute ( e , "disableCoord" , false ) ) ; bq . MinimumNumberShouldMatch = DOMUtils . GetAttribute ( e , "minimumNumberShouldMatch" , 0 ) ; TokenStream ts = null ; try { ts = analyzer . GetTokenStream ( fieldName , text ) ; ITermToBytesRefAttribute termAtt = ts . AddAttribute < ITermToBytesRefAttribute > ( ) ; Term term = null ; BytesRef bytes = termAtt . BytesRef ; ts . Reset ( ) ; while ( ts . IncrementToken ( ) ) { termAtt . FillBytesRef ( ) ; term = new Term ( fieldName , BytesRef . DeepCopyOf ( bytes ) ) ; bq . Add ( new BooleanClause ( new TermQuery ( term ) , Occur . SHOULD ) ) ; } ts . End ( ) ; } catch ( IOException ioe ) { throw new Exception ( "Error constructing terms from index:" + ioe ) ; } finally { IOUtils . DisposeWhileHandlingException ( ts ) ; } bq . Boost = DOMUtils . GetAttribute ( e , "boost" , 1.0f ) ; return bq ; }
public UpdateMailboxQuotaResult updateMailboxQuota ( UpdateMailboxQuotaRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateMailboxQuota ( request ) ; }
public virtual UpdateMailboxQuotaResponse UpdateMailboxQuota ( UpdateMailboxQuotaRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateMailboxQuotaRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateMailboxQuotaResponseUnmarshaller . Instance ; return Invoke < UpdateMailboxQuotaResponse > ( request , options ) ; }