question
stringlengths
33
1.59k
target
stringlengths
33
1.58k
public static void fill ( double [ ] array , int start , int end , double value ) { Arrays . checkStartAndEnd ( array . length , start , end ) ; for ( int i = start ; i < end ; i ++ ) { array [ i ] = value ; } }
public static void fill ( double [ ] array , int start , int end , double value ) { java . util . Arrays . checkStartAndEnd ( array . Length , start , end ) ; { for ( int i = start ; i < end ; i ++ ) { array [ i ] = value ; } } }
public ByteBuffer next ( ) { if ( nextBlock == POIFSConstants . END_OF_CHAIN ) { throw new IndexOutOfBoundsException ( "Can't read past the end of the stream" ) ; } try { loopDetector . claim ( nextBlock ) ; ByteBuffer data = blockStore . getBlockAt ( nextBlock ) ; nextBlock = blockStore . getNextBlock ( nextBlock ) ; return data ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } }
public ByteBuffer Next ( ) { if ( nextBlock == POIFSConstants . END_OF_CHAIN ) { throw new IndexOutOfRangeException ( "Can't read past the end of the stream" ) ; } try { loopDetector . Claim ( nextBlock ) ; ByteBuffer data = pStream . blockStore . GetBlockAt ( nextBlock ) ; nextBlock = pStream . blockStore . GetNextBlock ( nextBlock ) ; return data ; } catch ( IOException e ) { throw new RuntimeException ( e . Message ) ; } }
public DFAState getCurrentState ( ) { return currentState ; }
public DFAState getCurrentState ( ) { return currentState ; }
public E lower ( E e ) { return backingMap . lowerKey ( e ) ; }
public virtual E lower ( E e ) { return backingMap . lowerKey ( e ) ; }
public FinnishLightStemFilterFactory ( Map < String , String > args ) { super ( args ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } }
public FinnishLightStemFilterFactory ( IDictionary < string , string > args ) : base ( args ) { if ( args . Count > 0 ) { throw new System . ArgumentException ( "Unknown parameters: " + args ) ; } }
public String toString ( ) { StringBuilder retval = new StringBuilder ( ) ; retval . append ( "[MERGEDCELLS]" ) . append ( "\n" ) ; retval . append ( " .numregions =" ) . append ( getNumAreas ( ) ) . append ( "\n" ) ; for ( int k = 0 ; k < _numberOfRegions ; k ++ ) { CellRangeAddress r = _regions [ _startIndex + k ] ; retval . append ( " .rowfrom =" ) . append ( r . getFirstRow ( ) ) . append ( "\n" ) ; retval . append ( " .rowto =" ) . append ( r . getLastRow ( ) ) . append ( "\n" ) ; retval . append ( " .colfrom =" ) . append ( r . getFirstColumn ( ) ) . append ( "\n" ) ; retval . append ( " .colto =" ) . append ( r . getLastColumn ( ) ) . append ( "\n" ) ; } retval . append ( "[MERGEDCELLS]" ) . append ( "\n" ) ; return retval . toString ( ) ; }
public override String ToString ( ) { StringBuilder retval = new StringBuilder ( ) ; retval . Append ( "[MERGEDCELLS]" ) . Append ( "\n" ) ; retval . Append ( " .numregions =" ) . Append ( NumAreas ) . Append ( "\n" ) ; for ( int k = 0 ; k < _numberOfRegions ; k ++ ) { CellRangeAddress region = _regions [ _startIndex + k ] ; retval . Append ( " .rowfrom =" ) . Append ( region . FirstRow ) . Append ( "\n" ) ; retval . Append ( " .rowto =" ) . Append ( region . LastRow ) . Append ( "\n" ) ; retval . Append ( " .colfrom =" ) . Append ( region . FirstColumn ) . Append ( "\n" ) ; retval . Append ( " .colto =" ) . Append ( region . LastColumn ) . Append ( "\n" ) ; } retval . Append ( "[MERGEDCELLS]" ) . Append ( "\n" ) ; return retval . ToString ( ) ; }
public String getString ( int begin , int end , boolean dropLF ) { if ( begin == end ) return "" ; int s = getStart ( begin ) ; int e = getEnd ( end - 1 ) ; if ( dropLF && content [ e - 1 ] == '\n' ) e -- ; return decode ( s , e ) ; }
public virtual string GetString ( int begin , int end , bool dropLF ) { if ( begin == end ) { return string . Empty ; } int s = GetStart ( begin ) ; int e = GetEnd ( end - 1 ) ; if ( dropLF && content [ e - 1 ] == '\n' ) { e -- ; } return Decode ( s , e ) ; }
public RevokeDomainAccessResult revokeDomainAccess ( RevokeDomainAccessRequest request ) { request = beforeClientExecution ( request ) ; return executeRevokeDomainAccess ( request ) ; }
public virtual RevokeDomainAccessResponse RevokeDomainAccess ( RevokeDomainAccessRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = RevokeDomainAccessRequestMarshaller . Instance ; options . ResponseUnmarshaller = RevokeDomainAccessResponseUnmarshaller . Instance ; return Invoke < RevokeDomainAccessResponse > ( request , options ) ; }
public GetPhotoStoreRequest ( ) { super ( "CloudPhoto" , "2017-07-11" , "GetPhotoStore" , "cloudphoto" ) ; setProtocol ( ProtocolType . HTTPS ) ; }
public GetPhotoStoreRequest ( ) : base ( "CloudPhoto" , "2017-07-11" , "GetPhotoStore" , "cloudphoto" , "openAPI" ) { Protocol = ProtocolType . HTTPS ; }
public DescribeVirtualInterfacesResult describeVirtualInterfaces ( DescribeVirtualInterfacesRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeVirtualInterfaces ( request ) ; }
public virtual DescribeVirtualInterfacesResponse DescribeVirtualInterfaces ( DescribeVirtualInterfacesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeVirtualInterfacesRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeVirtualInterfacesResponseUnmarshaller . Instance ; return Invoke < DescribeVirtualInterfacesResponse > ( request , options ) ; }
public EmptyTreeIterator createEmptyTreeIterator ( ) { return new EmptyTreeIterator ( this ) ; }
public virtual EmptyTreeIterator CreateEmptyTreeIterator ( ) { return new EmptyTreeIterator ( this ) ; }
public File [ ] listFiles ( FileFilter filter ) { File [ ] files = listFiles ( ) ; if ( filter == null || files == null ) { return files ; } List < File > result = new ArrayList < File > ( files . length ) ; for ( File file : files ) { if ( filter . accept ( file ) ) { result . add ( file ) ; } } return result . toArray ( new File [ result . size ( ) ] ) ; }
public java . io . File [ ] listFiles ( java . io . FileFilter filter ) { java . io . File [ ] files = listFiles ( ) ; if ( filter == null || files == null ) { return files ; } java . util . List < java . io . File > result = new java . util . ArrayList < java . io . File > ( files . Length ) ; foreach ( java . io . File file in files ) { if ( filter . accept ( file ) ) { result . add ( file ) ; } } return result . toArray ( new java . io . File [ result . size ( ) ] ) ; }
public CharSequence toQueryString ( EscapeQuerySyntax escaper ) { if ( isDefaultField ( this . field ) ) { return this . text ; } else { return this . field + ":" + this . text ; } }
public override string ToQueryString ( IEscapeQuerySyntax escaper ) { if ( IsDefaultField ( this . m_field ) ) { return this . m_text . ToString ( ) ; } else { return this . m_field + ":" + this . m_text ; } }
public WithdrawByoipCidrResult withdrawByoipCidr ( WithdrawByoipCidrRequest request ) { request = beforeClientExecution ( request ) ; return executeWithdrawByoipCidr ( request ) ; }
public virtual WithdrawByoipCidrResponse WithdrawByoipCidr ( WithdrawByoipCidrRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = WithdrawByoipCidrRequestMarshaller . Instance ; options . ResponseUnmarshaller = WithdrawByoipCidrResponseUnmarshaller . Instance ; return Invoke < WithdrawByoipCidrResponse > ( request , options ) ; }
public void serialize ( LittleEndianOutput out ) { out . writeShort ( field_1_formatFlags ) ; }
public override void Serialize ( ILittleEndianOutput out1 ) { out1 . WriteShort ( field_1_formatFlags ) ; }
public CharBuffer put ( int index , char c ) { checkIndex ( index ) ; byteBuffer . putChar ( index * SizeOf . CHAR , c ) ; return this ; }
public override java . nio . CharBuffer put ( int index , char c ) { checkIndex ( index ) ; byteBuffer . putChar ( index * libcore . io . SizeOf . CHAR , c ) ; return this ; }
public ICUTransformFilterFactory ( Map < String , String > args ) { super ( args ) ; String id = require ( args , "id" ) ; String direction = get ( args , "direction" , Arrays . asList ( "forward" , "reverse" ) , "forward" , false ) ; int dir = "forward" . equals ( direction ) ? Transliterator . FORWARD : Transliterator . REVERSE ; transliterator = Transliterator . getInstance ( id , dir ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } }
public ICUTransformFilterFactory ( IDictionary < string , string > args ) : base ( args ) { string id = Require ( args , "id" ) ; string direction = Get ( args , "direction" , new string [ ] { "forward" , "reverse" } , "forward" , false ) ; TransliterationDirection dir = "forward" . Equals ( direction , StringComparison . Ordinal ) ? Transliterator . Forward : Transliterator . Reverse ; transliterator = Transliterator . GetInstance ( id , dir ) ; if ( args . Count != 0 ) { throw new ArgumentException ( "Unknown parameters: " + args ) ; } }
public UpdateFilterResult updateFilter ( UpdateFilterRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateFilter ( request ) ; }
public virtual UpdateFilterResponse UpdateFilter ( UpdateFilterRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateFilterRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateFilterResponseUnmarshaller . Instance ; return Invoke < UpdateFilterResponse > ( request , options ) ; }
public StoredField ( String name , float value ) { super ( name , TYPE ) ; fieldsData = value ; }
public StoredField ( string name , int value ) : base ( name , TYPE ) { FieldsData = new Int32 ( value ) ; }
public final int compareTo ( Term other ) { if ( field . equals ( other . field ) ) { return bytes . compareTo ( other . bytes ) ; } else { return field . compareTo ( other . field ) ; } }
public int CompareTo ( Term other ) { int compare = Field . CompareToOrdinal ( other . Field ) ; if ( compare == 0 ) { return Bytes . CompareTo ( other . Bytes ) ; } else { return compare ; } }
public ErrorHandler getErrorHandler ( ) { return ( theErrorHandler == this ) ? null : theErrorHandler ; }
public void close ( ) { lock ( this . mBlock ) { if ( this . mParseState != null ) { this . mParseState . Dispose ( ) ; this . mParseState = null ; this . mBlock . decOpenCountLocked ( ) ; } } }
public float getSaturation ( ) { int numBitsSet = filter . cardinality ( ) ; return ( float ) numBitsSet / ( float ) bloomSize ; }
public virtual float GetSaturation ( ) { var numBitsSet = _filter . Cardinality ( ) ; return numBitsSet / ( float ) _bloomSize ; }
public DeleteResolverEndpointResult deleteResolverEndpoint ( DeleteResolverEndpointRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteResolverEndpoint ( request ) ; }
public virtual DeleteResolverEndpointResponse DeleteResolverEndpoint ( DeleteResolverEndpointRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteResolverEndpointRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteResolverEndpointResponseUnmarshaller . Instance ; return Invoke < DeleteResolverEndpointResponse > ( request , options ) ; }
public AssociateHostedConnectionResult associateHostedConnection ( AssociateHostedConnectionRequest request ) { request = beforeClientExecution ( request ) ; return executeAssociateHostedConnection ( request ) ; }
public virtual AssociateHostedConnectionResponse AssociateHostedConnection ( AssociateHostedConnectionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AssociateHostedConnectionRequestMarshaller . Instance ; options . ResponseUnmarshaller = AssociateHostedConnectionResponseUnmarshaller . Instance ; return Invoke < AssociateHostedConnectionResponse > ( request , options ) ; }
public final String name ( ) { return this . canonicalName ; }
public string name ( ) { return this . canonicalName ; }
public static void registerFunction ( String name , Function func ) { FunctionEval . registerFunction ( name , func ) ; }
public static void RegisterFunction ( String name , FreeRefFunction func ) { AnalysisToolPak . RegisterFunction ( name , func ) ; }
public GetRepoBuildStatusRequest ( ) { super ( "cr" , "2016-06-07" , "GetRepoBuildStatus" , "cr" ) ; setUriPattern ( "/repos/[RepoNamespace]/[RepoName]/build/[BuildId]/status" ) ; setMethod ( MethodType . GET ) ; }
public GetRepoBuildStatusRequest ( ) : base ( "cr" , "2016-06-07" , "GetRepoBuildStatus" , "cr" , "openAPI" ) { UriPattern = "/repos/[RepoNamespace]/[RepoName]/build/[BuildId]/status" ; Method = MethodType . GET ; }
public GetFramedPhotoUrlsRequest ( ) { super ( "CloudPhoto" , "2017-07-11" , "GetFramedPhotoUrls" , "cloudphoto" ) ; setProtocol ( ProtocolType . HTTPS ) ; }
public GetFramedPhotoUrlsRequest ( ) : base ( "CloudPhoto" , "2017-07-11" , "GetFramedPhotoUrls" , "cloudphoto" , "openAPI" ) { Protocol = ProtocolType . HTTPS ; }
public SimpleHTMLFormatter ( String preTag , String postTag ) { this . preTag = preTag ; this . postTag = postTag ; }
public SimpleHTMLFormatter ( string preTag , string postTag ) { this . preTag = preTag ; this . postTag = postTag ; }
public void setData ( byte [ ] b , int start , int length ) { thedata = IOUtils . safelyAllocate ( length , MAX_RECORD_LENGTH ) ; System . arraycopy ( b , start , thedata , 0 , length ) ; }
public void SetData ( byte [ ] b , int start , int length ) { _thedata = new byte [ length ] ; Array . Copy ( b , start , _thedata , 0 , length ) ; }
public String getKey ( ) { return key ; }
public virtual string getKey ( ) { return key ; }
public AttachVolumeRequest ( String volumeId , String instanceId , String device ) { setVolumeId ( volumeId ) ; setInstanceId ( instanceId ) ; setDevice ( device ) ; }
public AttachVolumeRequest ( string volumeId , string instanceId , string device ) { _volumeId = volumeId ; _instanceId = instanceId ; _device = device ; }
public long ramBytesUsed ( ) { long size = BASE_RAM_BYTES_USED + RamUsageEstimator . shallowSizeOf ( blocks ) ; if ( blocks . length > 0 ) { size += ( blocks . length - 1 ) * bytesUsedPerBlock ; size += RamUsageEstimator . sizeOf ( blocks [ blocks . length - 1 ] ) ; } return size ; }
public long RamBytesUsed ( ) { return ( blocks . Count + ( currentBlock != null ? 1 : 0 ) ) * bytesUsedPerBlock ; }
@ Override public Object [ ] toArray ( ) { return Lists . newArrayList ( iterator ( ) ) . toArray ( ) ; }
public override object [ ] toArray ( ) { lock ( this . _enclosing ) { return base . toArray ( ) ; } }
public RevWalk ( Repository repo , int depth ) { super ( repo ) ; this . depth = depth ; this . deepenNots = Collections . emptyList ( ) ; this . UNSHALLOW = newFlag ( "UNSHALLOW" ) ; this . REINTERESTING = newFlag ( "REINTERESTING" ) ; this . DEEPEN_NOT = newFlag ( "DEEPEN_NOT" ) ; }
public RevWalk ( Repository repo , int depth ) : base ( repo ) { this . depth = depth ; this . UNSHALLOW = NewFlag ( "UNSHALLOW" ) ; this . REINTERESTING = NewFlag ( "REINTERESTING" ) ; }
public boolean equals ( Object o ) { return this == o ; }
public override bool Equals ( object o ) { return this == o ; }
public ChangeResourceRecordSetsResult changeResourceRecordSets ( ChangeResourceRecordSetsRequest request ) { request = beforeClientExecution ( request ) ; return executeChangeResourceRecordSets ( request ) ; }
public virtual ChangeResourceRecordSetsResponse ChangeResourceRecordSets ( ChangeResourceRecordSetsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ChangeResourceRecordSetsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ChangeResourceRecordSetsResponseUnmarshaller . Instance ; return Invoke < ChangeResourceRecordSetsResponse > ( request , options ) ; }
public Iterator < K > iterator ( ) { return newKeyIterator ( ) ; }
public override java . util . Iterator < K > iterator ( ) { return new java . util . Hashtable < K , V > . KeyIterator ( this . _enclosing ) ; }
@ Override public boolean equals ( Object o ) { return o instanceof ReverseComparator2 && ( ( ReverseComparator2 ) o ) . cmp . equals ( cmp ) ; }
public override bool Equals ( object o ) { return o is java . util . Collections . ReverseComparator2 < T > && ( ( java . util . Collections . ReverseComparator2 < T > ) o ) . cmp . Equals ( cmp ) ; }
public boolean isCheckEofAfterPackFooter ( ) { return checkEofAfterPackFooter ; }
public virtual bool IsCheckEofAfterPackFooter ( ) { return checkEofAfterPackFooter ; }
public DescribeDirectConnectGatewayAssociationProposalsResult describeDirectConnectGatewayAssociationProposals ( DescribeDirectConnectGatewayAssociationProposalsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeDirectConnectGatewayAssociationProposals ( request ) ; }
public virtual DescribeDirectConnectGatewayAssociationProposalsResponse DescribeDirectConnectGatewayAssociationProposals ( DescribeDirectConnectGatewayAssociationProposalsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeDirectConnectGatewayAssociationProposalsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeDirectConnectGatewayAssociationProposalsResponseUnmarshaller . Instance ; return Invoke < DescribeDirectConnectGatewayAssociationProposalsResponse > ( request , options ) ; }
public void reset ( byte [ ] bytes , int offset , int len ) { this . bytes = bytes ; pos = offset ; limit = offset + len ; }
public void Reset ( byte [ ] bytes , int offset , int len ) { this . bytes = bytes ; pos = offset ; limit = offset + len ; }
public ByteBuffer putFloat ( int index , float value ) { throw new ReadOnlyBufferException ( ) ; }
public override java . nio . ByteBuffer putFloat ( int index , float value ) { throw new System . NotImplementedException ( ) ; }
public boolean equals ( Object obj ) { if ( obj == null ) return false ; if ( ! getClass ( ) . equals ( obj . getClass ( ) ) ) return false ; return toString ( ) . equals ( obj . toString ( ) ) ; }
public override bool Equals ( object obj ) { if ( obj == null ) return false ; if ( ! GetType ( ) . Equals ( obj . GetType ( ) ) ) return false ; return ToString ( ) . Equals ( obj . ToString ( ) , StringComparison . Ordinal ) ; }
public PutSchemaFromJsonResult putSchemaFromJson ( PutSchemaFromJsonRequest request ) { request = beforeClientExecution ( request ) ; return executePutSchemaFromJson ( request ) ; }
public virtual PutSchemaFromJsonResponse PutSchemaFromJson ( PutSchemaFromJsonRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PutSchemaFromJsonRequestMarshaller . Instance ; options . ResponseUnmarshaller = PutSchemaFromJsonResponseUnmarshaller . Instance ; return Invoke < PutSchemaFromJsonResponse > ( request , options ) ; }
public UnassignPrivateIpAddressesResult unassignPrivateIpAddresses ( UnassignPrivateIpAddressesRequest request ) { request = beforeClientExecution ( request ) ; return executeUnassignPrivateIpAddresses ( request ) ; }
public virtual UnassignPrivateIpAddressesResponse UnassignPrivateIpAddresses ( UnassignPrivateIpAddressesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UnassignPrivateIpAddressesRequestMarshaller . Instance ; options . ResponseUnmarshaller = UnassignPrivateIpAddressesResponseUnmarshaller . Instance ; return Invoke < UnassignPrivateIpAddressesResponse > ( request , options ) ; }
public ArrayPtg finishReading ( LittleEndianInput in ) { int nColumns = in . readUByte ( ) ; short nRows = in . readShort ( ) ; nColumns ++ ; nRows ++ ; int totalCount = nRows * nColumns ; Object [ ] arrayValues = ConstantValueParser . parse ( in , totalCount ) ; ArrayPtg result = new ArrayPtg ( _reserved0 , _reserved1 , _reserved2 , nColumns , nRows , arrayValues ) ; result . setClass ( getPtgClass ( ) ) ; return result ; }
public ArrayPtg FinishReading ( ILittleEndianInput in1 ) { int nColumns = in1 . ReadUByte ( ) ; short nRows = in1 . ReadShort ( ) ; nColumns ++ ; nRows ++ ; int totalCount = nRows * nColumns ; Object [ ] arrayValues = ConstantValueParser . Parse ( in1 , totalCount ) ; ArrayPtg result = new ArrayPtg ( _reserved0 , _reserved1 , _reserved2 , nColumns , nRows , arrayValues ) ; result . PtgClass = this . PtgClass ; return result ; }
public NativeUnixDirectory ( Path path , Directory delegate ) throws IOException { this ( path , DEFAULT_MERGE_BUFFER_SIZE , DEFAULT_MIN_BYTES_DIRECT , FSLockFactory . getDefault ( ) , delegate ) ; }
public NativeUnixDirectory ( File path , Directory @ delegate ) throws IOException { this ( path , DEFAULT_MERGE_BUFFER_SIZE , DEFAULT_MIN_BYTES_DIRECT , @ delegate ) ; }
public CreateRestApiResult createRestApi ( CreateRestApiRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateRestApi ( request ) ; }
public virtual CreateRestApiResponse CreateRestApi ( CreateRestApiRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateRestApiRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateRestApiResponseUnmarshaller . Instance ; return Invoke < CreateRestApiResponse > ( request , options ) ; }
public ValueEval getRef3DEval ( Ref3DPtg rptg ) { SheetRangeEvaluator sre = createExternSheetRefEvaluator ( rptg . getExternSheetIndex ( ) ) ; return new LazyRefEval ( rptg . getRow ( ) , rptg . getColumn ( ) , sre ) ; }
public ValueEval GetRef3DEval ( Ref3DPtg rptg ) { SheetRangeEvaluator sre = CreateExternSheetRefEvaluator ( rptg . ExternSheetIndex ) ; return new LazyRefEval ( rptg . Row , rptg . Column , sre ) ; }
public void add ( FieldInfos other ) { assert assertNotFinished ( ) ; for ( FieldInfo fieldInfo : other ) { add ( fieldInfo ) ; } }
public void Add ( FieldInfos other ) { foreach ( FieldInfo fieldInfo in other ) { Add ( fieldInfo ) ; } }
public static CloseGuard get ( ) { if ( ! ENABLED ) { return NOOP ; } return new CloseGuard ( ) ; }
public static dalvik . system . CloseGuard get ( ) { if ( ! ENABLED ) { return NOOP ; } return new dalvik . system . CloseGuard ( ) ; }
public void print ( long lnum ) { print ( String . valueOf ( lnum ) ) ; }
public virtual void print ( long lnum ) { print ( lnum . ToString ( ) ) ; }
public static String fileNameFromGeneration ( String base , String ext , long gen ) { if ( gen == - 1 ) { return null ; } else if ( gen == 0 ) { return segmentFileName ( base , "" , ext ) ; } else { assert gen > 0 ; StringBuilder res = new StringBuilder ( base . length ( ) + 6 + ext . length ( ) ) . append ( base ) . append ( '_' ) . append ( Long . toString ( gen , Character . MAX_RADIX ) ) ; if ( ext . length ( ) > 0 ) { res . append ( '.' ) . append ( ext ) ; } return res . toString ( ) ; } }
public static string FileNameFromGeneration ( string @ base , string ext , long gen ) { if ( gen == - 1 ) { return null ; } else if ( gen == 0 ) { return SegmentFileName ( @ base , "" , ext ) ; } else { Debug . Assert ( gen > 0 ) ; StringBuilder res = ( new StringBuilder ( @ base . Length + 6 + ext . Length ) ) . Append ( @ base ) . Append ( '_' ) . Append ( gen . ToString ( Character . MaxRadix ) ) ; if ( ext . Length > 0 ) { res . Append ( '.' ) . Append ( ext ) ; } return res . ToString ( ) ; } }
public String getText ( ) { return symbol . getText ( ) ; }
public virtual string GetText ( ) { if ( Symbol != null ) { return Symbol . Text ; } return null ; }
public long getSize ( ) { return delegate ( ) . getSize ( ) ; }
public override long GetSize ( ) { return size ; }
public FileMode getNewMode ( ) { return newMode ; }
public virtual FileMode GetNewMode ( ) { return newMode ; }
public boolean isOpaque ( ) { return opaque ; }
public bool isOpaque ( ) { return opaque ; }
public boolean requireEnd ( ) { return requireEndImpl ( address ) ; }
public bool requireEnd ( ) { return requireEndImpl ( address ) ; }
public static InternalWorkbook createStubWorkbook ( ExternSheetRecord [ ] externs , BoundSheetRecord [ ] bounds , SSTRecord sst ) { List < org . apache . poi . hssf . record . Record > wbRecords = new ArrayList < > ( ) ; if ( bounds != null ) { Collections . addAll ( wbRecords , bounds ) ; } if ( sst != null ) { wbRecords . add ( sst ) ; } if ( externs != null ) { wbRecords . add ( SupBookRecord . createInternalReferences ( ( short ) externs . length ) ) ; Collections . addAll ( wbRecords , externs ) ; } wbRecords . add ( EOFRecord . instance ) ; return InternalWorkbook . createWorkbook ( wbRecords ) ; }
public static InternalWorkbook CreateStubWorkbook ( ExternSheetRecord [ ] externs , BoundSheetRecord [ ] bounds , SSTRecord sst ) { List < Record > wbRecords = new List < Record > ( ) ; if ( bounds != null ) { for ( int i = 0 ; i < bounds . Length ; i ++ ) { wbRecords . Add ( bounds [ i ] ) ; } } if ( sst != null ) { wbRecords . Add ( sst ) ; } if ( externs != null ) { wbRecords . Add ( SupBookRecord . CreateInternalReferences ( ( short ) externs . Length ) ) ; for ( int i = 0 ; i < externs . Length ; i ++ ) { wbRecords . Add ( externs [ i ] ) ; } } wbRecords . Add ( EOFRecord . instance ) ; return InternalWorkbook . CreateWorkbook ( wbRecords ) ; }
public String getName ( ) { return null ; }
public virtual string GetName ( ) { return null ; }
public UpdateNotebookInstanceLifecycleConfigResult updateNotebookInstanceLifecycleConfig ( UpdateNotebookInstanceLifecycleConfigRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateNotebookInstanceLifecycleConfig ( request ) ; }
public virtual UpdateNotebookInstanceLifecycleConfigResponse UpdateNotebookInstanceLifecycleConfig ( UpdateNotebookInstanceLifecycleConfigRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateNotebookInstanceLifecycleConfigRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateNotebookInstanceLifecycleConfigResponseUnmarshaller . Instance ; return Invoke < UpdateNotebookInstanceLifecycleConfigResponse > ( request , options ) ; }
public void visitContainedRecords ( RecordVisitor rv ) { rv . visitRecord ( _pls ) ; for ( ContinueRecord _plsContinue : _plsContinues ) { rv . visitRecord ( _plsContinue ) ; } }
public override void VisitContainedRecords ( RecordVisitor rv ) { rv . VisitRecord ( _pls ) ; for ( int i = 0 ; i < _plsContinues . Length ; i ++ ) { rv . VisitRecord ( _plsContinues [ i ] ) ; } }
public static BoolEval valueOf ( boolean b ) { return b ? TRUE : FALSE ; }
public static BoolEval ValueOf ( bool b ) { return b ? TRUE : FALSE ; }
public EvaluationName getName ( String name , int sheetIndex ) { for ( int i = 0 ; i < _iBook . getNumNames ( ) ; i ++ ) { NameRecord nr = _iBook . getNameRecord ( i ) ; if ( nr . getSheetNumber ( ) == sheetIndex + 1 && name . equalsIgnoreCase ( nr . getNameText ( ) ) ) { return new Name ( nr , i ) ; } } return sheetIndex == - 1 ? null : getName ( name , - 1 ) ; }
public IEvaluationName GetName ( String name , int sheetIndex ) { for ( int i = 0 ; i < _iBook . NumNames ; i ++ ) { NameRecord nr = _iBook . GetNameRecord ( i ) ; if ( nr . SheetNumber == sheetIndex + 1 && name . Equals ( nr . NameText , StringComparison . OrdinalIgnoreCase ) ) { return new Name ( nr , i ) ; } } return sheetIndex == - 1 ? null : GetName ( name , - 1 ) ; }
public String getPIDString ( final long pid ) { Map < Long , String > dic = getDictionary ( ) ; if ( dic == null || ! dic . containsKey ( pid ) ) { ClassID fmt = getFormatID ( ) ; if ( SummaryInformation . FORMAT_ID . equals ( fmt ) ) { dic = PropertyIDMap . getSummaryInformationProperties ( ) ; } else if ( DocumentSummaryInformation . FORMAT_ID [ 0 ] . equals ( fmt ) ) { dic = PropertyIDMap . getDocumentSummaryInformationProperties ( ) ; } } return ( dic != null && dic . containsKey ( pid ) ) ? dic . get ( pid ) : PropertyIDMap . UNDEFINED ; }
public String GetPIDString ( long pid ) { String s = null ; if ( dictionary != null ) s = ( String ) dictionary [ pid ] ; if ( s == null ) s = SectionIDMap . GetPIDString ( FormatID . Bytes , pid ) ; if ( s == null ) s = SectionIDMap . UNDEFINED ; return s ; }
public BatchCreateRoomMembershipResult batchCreateRoomMembership ( BatchCreateRoomMembershipRequest request ) { request = beforeClientExecution ( request ) ; return executeBatchCreateRoomMembership ( request ) ; }
public virtual BatchCreateRoomMembershipResponse BatchCreateRoomMembership ( BatchCreateRoomMembershipRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = BatchCreateRoomMembershipRequestMarshaller . Instance ; options . ResponseUnmarshaller = BatchCreateRoomMembershipResponseUnmarshaller . Instance ; return Invoke < BatchCreateRoomMembershipResponse > ( request , options ) ; }
public V getValue ( ) { return value ; }
public V getValue ( ) { return value ; }
public DeleteQueueResult deleteQueue ( DeleteQueueRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteQueue ( request ) ; }
public virtual DeleteQueueResponse DeleteQueue ( DeleteQueueRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteQueueRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteQueueResponseUnmarshaller . Instance ; return Invoke < DeleteQueueResponse > ( request , options ) ; }
public Builder ( ) { this . field = null ; this . termArrays = new ArrayList < > ( ) ; this . positions = new ArrayList < > ( ) ; this . slop = 0 ; }
public Builder ( ) : base ( ) { lastDocID = - 1 ; wordNum = - 1 ; word = 0 ; }
public BatchRefUpdate addCommand ( ReceiveCommand cmd ) { commands . add ( cmd ) ; return this ; }
public virtual NGit . BatchRefUpdate AddCommand ( ReceiveCommand cmd ) { commands . AddItem ( cmd ) ; return this ; }
public DetachLoadBalancerTargetGroupsResult detachLoadBalancerTargetGroups ( DetachLoadBalancerTargetGroupsRequest request ) { request = beforeClientExecution ( request ) ; return executeDetachLoadBalancerTargetGroups ( request ) ; }
public virtual DetachLoadBalancerTargetGroupsResponse DetachLoadBalancerTargetGroups ( DetachLoadBalancerTargetGroupsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DetachLoadBalancerTargetGroupsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DetachLoadBalancerTargetGroupsResponseUnmarshaller . Instance ; return Invoke < DetachLoadBalancerTargetGroupsResponse > ( request , options ) ; }
public FrameRecord ( RecordInputStream in ) { field_1_borderType = in . readShort ( ) ; field_2_options = in . readShort ( ) ; }
public FrameRecord ( RecordInputStream in1 ) { field_1_borderType = in1 . ReadShort ( ) ; field_2_options = in1 . ReadShort ( ) ; }
public final Explanation explain ( BasicStats stats ) { return Explanation . match ( lambda ( stats ) , getClass ( ) . getSimpleName ( ) + ", computed as (F + 1) / (N + 1) from:" , Explanation . match ( stats . getTotalTermFreq ( ) , "F, total number of occurrences of term across all documents" ) , Explanation . match ( stats . getNumberOfDocuments ( ) , "N, total number of documents with field" ) ) ; }
public override sealed Explanation Explain ( BasicStats stats ) { Explanation result = new Explanation ( ) ; result . Description = this . GetType ( ) . Name + ", computed from: " ; result . Value = CalculateLambda ( stats ) ; result . AddDetail ( new Explanation ( stats . TotalTermFreq , "totalTermFreq" ) ) ; result . AddDetail ( new Explanation ( stats . NumberOfDocuments , "numberOfDocuments" ) ) ; return result ; }
public boolean matches ( ValueEval x ) { if ( x instanceof ErrorEval ) { int testValue = ( ( ErrorEval ) x ) . getErrorCode ( ) ; return evaluate ( testValue - _value ) ; } return false ; }
public override bool Matches ( ValueEval x ) { if ( x is ErrorEval ) { int testValue = ( ( ErrorEval ) x ) . ErrorCode ; return Evaluate ( testValue - _value ) ; } return false ; }
public S3Signer ( ) { this . httpVerb = null ; this . resourcePath = null ; this . additionalQueryParamsToSign = null ; }
public S3Signer ( ) { _s3Signer = new Amazon . Runtime . Internal . Auth . S3Signer ( AWSConfigsS3 . UseSignatureVersion4 , RegionDetectionUpdater ) ; }
public RejectDomainTransferFromAnotherAwsAccountResult rejectDomainTransferFromAnotherAwsAccount ( RejectDomainTransferFromAnotherAwsAccountRequest request ) { request = beforeClientExecution ( request ) ; return executeRejectDomainTransferFromAnotherAwsAccount ( request ) ; }
public virtual RejectDomainTransferFromAnotherAwsAccountResponse RejectDomainTransferFromAnotherAwsAccount ( RejectDomainTransferFromAnotherAwsAccountRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = RejectDomainTransferFromAnotherAwsAccountRequestMarshaller . Instance ; options . ResponseUnmarshaller = RejectDomainTransferFromAnotherAwsAccountResponseUnmarshaller . Instance ; return Invoke < RejectDomainTransferFromAnotherAwsAccountResponse > ( request , options ) ; }
public String toString ( ) { return "[STRING]\n" + " .string = " + _text + "\n" + "[/STRING]\n" ; }
public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[STRING]\n" ) ; buffer . Append ( " .string = " ) . Append ( _text ) . Append ( "\n" ) ; buffer . Append ( "[/STRING]\n" ) ; return buffer . ToString ( ) ; }
public GetIdentityNotificationAttributesResult getIdentityNotificationAttributes ( GetIdentityNotificationAttributesRequest request ) { request = beforeClientExecution ( request ) ; return executeGetIdentityNotificationAttributes ( request ) ; }
public virtual GetIdentityNotificationAttributesResponse GetIdentityNotificationAttributes ( GetIdentityNotificationAttributesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetIdentityNotificationAttributesRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetIdentityNotificationAttributesResponseUnmarshaller . Instance ; return Invoke < GetIdentityNotificationAttributesResponse > ( request , options ) ; }
public DoubleBuffer slice ( ) { return new ReadOnlyDoubleArrayBuffer ( remaining ( ) , backingArray , offset + position ) ; }
public override java . nio . DoubleBuffer slice ( ) { return new java . nio . ReadOnlyDoubleArrayBuffer ( remaining ( ) , backingArray , offset + _position ) ; }
public void append ( int key , E value ) { if ( mSize != 0 && key <= mKeys [ mSize - 1 ] ) { put ( key , value ) ; return ; } if ( mGarbage && mSize >= mKeys . length ) { gc ( ) ; } int pos = mSize ; if ( pos >= mKeys . length ) { int n = ArrayUtils . idealIntArraySize ( pos + 1 ) ; int [ ] nkeys = new int [ n ] ; Object [ ] nvalues = new Object [ n ] ; System . arraycopy ( mKeys , 0 , nkeys , 0 , mKeys . length ) ; System . arraycopy ( mValues , 0 , nvalues , 0 , mValues . length ) ; mKeys = nkeys ; mValues = nvalues ; } mKeys [ pos ] = key ; mValues [ pos ] = value ; mSize = pos + 1 ; }
public virtual void append ( int key , E value ) { if ( mSize != 0 && key <= mKeys [ mSize - 1 ] ) { put ( key , value ) ; return ; } if ( mGarbage && mSize >= mKeys . Length ) { gc ( ) ; } int pos = mSize ; if ( pos >= mKeys . Length ) { int n = android . util . @ internal . ArrayUtils . idealIntArraySize ( pos + 1 ) ; int [ ] nkeys = new int [ n ] ; object [ ] nvalues = new object [ n ] ; System . Array . Copy ( mKeys , 0 , nkeys , 0 , mKeys . Length ) ; System . Array . Copy ( mValues , 0 , nvalues , 0 , mValues . Length ) ; mKeys = nkeys ; mValues = nvalues ; } mKeys [ pos ] = key ; mValues [ pos ] = value ; mSize = pos + 1 ; }
public String toString ( ) { return "INDEX_DIFF_FILTER" ; }
public override string ToString ( ) { return "INDEX_DIFF_FILTER" ; }
public long ramBytesUsed ( ) { return docs . ramBytesUsed ( ) + RamUsageEstimator . NUM_BYTES_OBJECT_HEADER + 2 * Integer . BYTES + 2 + Long . BYTES + RamUsageEstimator . NUM_BYTES_OBJECT_REF ; }
public long RamBytesUsed ( ) { return RamUsageEstimator . AlignObjectSize ( 3 * RamUsageEstimator . NUM_BYTES_OBJECT_REF ) + docIDs . RamBytesUsed ( ) + offsets . RamBytesUsed ( ) ; }
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[LeftMargin]\n" ) ; buffer . append ( " .margin = " ) . append ( " (" ) . append ( getMargin ( ) ) . append ( " )\n" ) ; buffer . append ( "[/LeftMargin]\n" ) ; return buffer . toString ( ) ; }
public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[LeftMargin]\n" ) ; buffer . Append ( " .margin = " ) . Append ( " (" ) . Append ( Margin ) . Append ( " )\n" ) ; buffer . Append ( "[/LeftMargin]\n" ) ; return buffer . ToString ( ) ; }
public FreeTextSuggester ( Analyzer indexAnalyzer , Analyzer queryAnalyzer , int grams , byte separator ) { this . grams = grams ; this . indexAnalyzer = addShingles ( indexAnalyzer ) ; this . queryAnalyzer = addShingles ( queryAnalyzer ) ; if ( grams < 1 ) { throw new IllegalArgumentException ( "grams must be >= 1" ) ; } if ( ( separator & 0x80 ) != 0 ) { throw new IllegalArgumentException ( "separator must be simple ascii character" ) ; } this . separator = separator ; }
public FreeTextSuggester ( Analyzer indexAnalyzer , Analyzer queryAnalyzer , int grams , byte separator ) { this . grams = grams ; this . indexAnalyzer = AddShingles ( indexAnalyzer ) ; this . queryAnalyzer = AddShingles ( queryAnalyzer ) ; if ( grams < 1 ) { throw new System . ArgumentException ( "grams must be >= 1" ) ; } if ( ( separator & 0x80 ) != 0 ) { throw new System . ArgumentException ( "separator must be simple ascii character" ) ; } this . separator = separator ; }
public CJKWidthFilter ( TokenStream input ) { super ( input ) ; }
public CJKWidthFilter ( TokenStream input ) : base ( input ) { termAtt = AddAttribute < ICharTermAttribute > ( ) ; }
public ModifyVpnTunnelOptionsResult modifyVpnTunnelOptions ( ModifyVpnTunnelOptionsRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyVpnTunnelOptions ( request ) ; }
public virtual ModifyVpnTunnelOptionsResponse ModifyVpnTunnelOptions ( ModifyVpnTunnelOptionsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyVpnTunnelOptionsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifyVpnTunnelOptionsResponseUnmarshaller . Instance ; return Invoke < ModifyVpnTunnelOptionsResponse > ( request , options ) ; }
public int nextDoc ( ) { while ( true ) { if ( queue . size ( ) == 0 ) { doc = NO_MORE_DOCS ; break ; } int newDoc = queue . top ( ) . docID ( ) ; if ( newDoc != doc ) { assert newDoc > doc : "doc=" + doc + " newDoc=" + newDoc ; doc = newDoc ; break ; } if ( queue . top ( ) . nextDoc ( ) == NO_MORE_DOCS ) { queue . pop ( ) ; } else { queue . updateTop ( ) ; } } return doc ; }
public override int NextDoc ( ) { if ( bitList != 0 ) { docID = ( wordNum << 3 ) | ( ( bitList & 0x0F ) - 1 ) ; bitList = ( int ) ( ( uint ) bitList > > 4 ) ; return docID ; } NextWord ( ) ; if ( wordNum == int . MaxValue ) { return docID = NO_MORE_DOCS ; } bitList = BitUtil . BitList ( word ) ; Debug . Assert ( bitList != 0 ) ; docID = ( wordNum << 3 ) | ( ( bitList & 0x0F ) - 1 ) ; bitList = ( int ) ( ( uint ) bitList > > 4 ) ; return docID ; }
public GetTransitGatewayRouteTableAssociationsResult getTransitGatewayRouteTableAssociations ( GetTransitGatewayRouteTableAssociationsRequest request ) { request = beforeClientExecution ( request ) ; return executeGetTransitGatewayRouteTableAssociations ( request ) ; }
public virtual GetTransitGatewayRouteTableAssociationsResponse GetTransitGatewayRouteTableAssociations ( GetTransitGatewayRouteTableAssociationsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetTransitGatewayRouteTableAssociationsRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetTransitGatewayRouteTableAssociationsResponseUnmarshaller . Instance ; return Invoke < GetTransitGatewayRouteTableAssociationsResponse > ( request , options ) ; }
public DescribeLoggingStatusResult describeLoggingStatus ( DescribeLoggingStatusRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeLoggingStatus ( request ) ; }
public virtual DescribeLoggingStatusResponse DescribeLoggingStatus ( DescribeLoggingStatusRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeLoggingStatusRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeLoggingStatusResponseUnmarshaller . Instance ; return Invoke < DescribeLoggingStatusResponse > ( request , options ) ; }
public PorterStemFilterFactory ( Map < String , String > args ) { super ( args ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } }
public PorterStemFilterFactory ( IDictionary < string , string > args ) : base ( args ) { if ( args . Count > 0 ) { throw new System . ArgumentException ( "Unknown parameters: " + args ) ; } }
public Storage getStorage ( ) { return storage ; }
public virtual RefStorage GetStorage ( ) { return storage ; }
public static CharBuffer wrap ( char [ ] array ) { return wrap ( array , 0 , array . length ) ; }
public static java . nio . CharBuffer wrap ( char [ ] array_1 ) { return wrap ( array_1 , 0 , array_1 . Length ) ; }
public CreateVoiceConnectorResult createVoiceConnector ( CreateVoiceConnectorRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateVoiceConnector ( request ) ; }
public virtual CreateVoiceConnectorResponse CreateVoiceConnector ( CreateVoiceConnectorRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateVoiceConnectorRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateVoiceConnectorResponseUnmarshaller . Instance ; return Invoke < CreateVoiceConnectorResponse > ( request , options ) ; }
public ParseException generateParseException ( ) { jj_expentries . clear ( ) ; boolean [ ] la1tokens = new boolean [ 24 ] ; if ( jj_kind >= 0 ) { la1tokens [ jj_kind ] = true ; jj_kind = - 1 ; } for ( int i = 0 ; i < 10 ; i ++ ) { if ( jj_la1 [ i ] == jj_gen ) { for ( int j = 0 ; j < 32 ; j ++ ) { if ( ( jj_la1_0 [ i ] & ( 1 << j ) ) != 0 ) { la1tokens [ j ] = true ; } } } } for ( int i = 0 ; i < 24 ; i ++ ) { if ( la1tokens [ i ] ) { jj_expentry = new int [ 1 ] ; jj_expentry [ 0 ] = i ; jj_expentries . add ( jj_expentry ) ; } } jj_endpos = 0 ; jj_rescan_token ( ) ; jj_add_error_token ( 0 , 0 ) ; int [ ] [ ] exptokseq = new int [ jj_expentries . size ( ) ] [ ] ; for ( int i = 0 ; i < jj_expentries . size ( ) ; i ++ ) { exptokseq [ i ] = jj_expentries . get ( i ) ; } return new ParseException ( token , exptokseq , tokenImage ) ; }
public virtual ParseException GenerateParseException ( ) { jj_expentries . Clear ( ) ; bool [ ] la1tokens = new bool [ 24 ] ; if ( jj_kind >= 0 ) { la1tokens [ jj_kind ] = true ; jj_kind = - 1 ; } for ( int i = 0 ; i < 10 ; i ++ ) { if ( jj_la1 [ i ] == jj_gen ) { for ( int j = 0 ; j < 32 ; j ++ ) { if ( ( jj_la1_0 [ i ] & ( 1 << j ) ) != 0 ) { la1tokens [ j ] = true ; } } } } for ( int i = 0 ; i < 24 ; i ++ ) { if ( la1tokens [ i ] ) { jj_expentry = new int [ 1 ] ; jj_expentry [ 0 ] = i ; jj_expentries . Add ( jj_expentry ) ; } } jj_endpos = 0 ; Jj_rescan_token ( ) ; Jj_add_error_token ( 0 , 0 ) ; int [ ] [ ] exptokseq = new int [ jj_expentries . Count ] [ ] ; for ( int i = 0 ; i < jj_expentries . Count ; i ++ ) { exptokseq [ i ] = jj_expentries [ i ] ; } return new ParseException ( Token , exptokseq , QueryParserConstants . TokenImage ) ; }
public void setSheetOrder ( String sheetname , int pos ) { int sheetNumber = getSheetIndex ( sheetname ) ; boundsheets . add ( pos , boundsheets . remove ( sheetNumber ) ) ; int initialBspos = records . getBspos ( ) ; int pos0 = initialBspos - ( boundsheets . size ( ) - 1 ) ; org . apache . poi . hssf . record . Record removed = records . get ( pos0 + sheetNumber ) ; records . remove ( pos0 + sheetNumber ) ; records . add ( pos0 + pos , removed ) ; records . setBspos ( initialBspos ) ; }
public void SetSheetOrder ( String sheetname , int pos ) { int sheetNumber = GetSheetIndex ( sheetname ) ; BoundSheetRecord sheet = boundsheets [ sheetNumber ] ; boundsheets . RemoveAt ( sheetNumber ) ; boundsheets . Insert ( pos , sheet ) ; int pos0 = records . Bspos - ( boundsheets . Count - 1 ) ; Record removed = records [ ( pos0 + sheetNumber ) ] ; records . Remove ( pos0 + sheetNumber ) ; records . Add ( pos0 + pos , removed ) ; }
public UpdateRepoBuildRuleRequest ( ) { super ( "cr" , "2016-06-07" , "UpdateRepoBuildRule" , "cr" ) ; setUriPattern ( "/repos/[RepoNamespace]/[RepoName]/rules/[BuildRuleId]" ) ; setMethod ( MethodType . POST ) ; }
public UpdateRepoBuildRuleRequest ( ) : base ( "cr" , "2016-06-07" , "UpdateRepoBuildRule" , "cr" , "openAPI" ) { UriPattern = "/repos/[RepoNamespace]/[RepoName]/rules/[BuildRuleId]" ; Method = MethodType . POST ; }
public boolean contains ( Object o ) { return map . containsKey ( o ) ; }
public virtual bool Contains ( string cs ) { return map . ContainsKey ( cs ) ; }
public DescribeAutoScalingInstancesResult describeAutoScalingInstances ( ) { return describeAutoScalingInstances ( new DescribeAutoScalingInstancesRequest ( ) ) ; }
public virtual DescribeAutoScalingInstancesResponse DescribeAutoScalingInstances ( ) { return DescribeAutoScalingInstances ( new DescribeAutoScalingInstancesRequest ( ) ) ; }
public NLPTokenizerOp ( ) { tokenizer = null ; }
public NLPTokenizerOp ( ) { tokenizer = null ; }