question
stringlengths
33
1.59k
target
stringlengths
33
1.58k
public boolean evaluate ( boolean cmpResult ) { switch ( _code ) { case NONE : case EQ : return cmpResult ; case NE : return ! cmpResult ; } throw new RuntimeException ( "Cannot call boolean evaluate on non-equality operator '" + _representation + "'" ) ; }
public bool Evaluate ( bool cmpResult ) { switch ( _code ) { case NONE : case EQ : return cmpResult ; case NE : return ! cmpResult ; } throw new Exception ( "Cannot call bool Evaluate on non-equality operator '" + _representation + "'" ) ; }
public int getEnd ( ) { return end ; }
public virtual int GetEnd ( ) { return end ; }
@ Override public String toString ( ) { if ( string != null ) { return string ; } StringBuilder result = new StringBuilder ( ) ; if ( scheme != null ) { result . append ( scheme ) ; result . append ( ':' ) ; } if ( opaque ) { result . append ( schemeSpecificPart ) ; } else { if ( authority != null ) { result . append (...
public override string ToString ( ) { if ( @ string != null ) { return @ string ; } java . lang . StringBuilder result = new java . lang . StringBuilder ( ) ; if ( scheme != null ) { result . append ( scheme ) ; result . append ( ':' ) ; } if ( opaque ) { result . append ( schemeSpecificPart ) ; } else { if ( authority...
public static final ObjectId fromRaw ( byte [ ] bs , int p ) { final int a = NB . decodeInt32 ( bs , p ) ; final int b = NB . decodeInt32 ( bs , p + 4 ) ; final int c = NB . decodeInt32 ( bs , p + 8 ) ; final int d = NB . decodeInt32 ( bs , p + 12 ) ; final int e = NB . decodeInt32 ( bs , p + 16 ) ; return new ObjectId...
public static NGit . ObjectId FromRaw ( byte [ ] bs , int p ) { int a = NB . DecodeInt32 ( bs , p ) ; int b = NB . DecodeInt32 ( bs , p + 4 ) ; int c = NB . DecodeInt32 ( bs , p + 8 ) ; int d = NB . DecodeInt32 ( bs , p + 12 ) ; int e = NB . DecodeInt32 ( bs , p + 16 ) ; return new NGit . ObjectId ( a , b , c , d , e )...
public int maxRecall ( QualityQuery query ) { QRelJudgement qrj = judgements . get ( query . getQueryID ( ) ) ; if ( qrj != null ) { return qrj . maxRecall ( ) ; } return 0 ; }
public virtual int MaxRecall ( QualityQuery query ) { QRelJudgement qrj ; if ( judgements . TryGetValue ( query . QueryID , out qrj ) && qrj != null ) { return qrj . MaxRecall ; } return 0 ; }
public static HashFunction hashFunctionForVersion ( int version ) { if ( version < VERSION_START ) { throw new IllegalArgumentException ( "Version " + version + " is too old, expected at least " + VERSION_START ) ; } else if ( version > VERSION_CURRENT ) { throw new IllegalArgumentException ( "Version " + version + " i...
public static HashFunction HashFunctionForVersion ( int version ) { if ( version < VERSION_START ) throw new ArgumentException ( "Version " + version + " is too old, expected at least " + VERSION_START ) ; if ( version > VERSION_CURRENT ) throw new ArgumentException ( "Version " + version + " is too new, expected at mo...
public void removeCell ( Cell cell ) { if ( cell == null ) { throw new IllegalArgumentException ( "cell must not be null" ) ; } removeCell ( ( HSSFCell ) cell , true ) ; }
public void RemoveCell ( ICell cell ) { if ( cell == null ) { throw new ArgumentException ( "cell must not be null" ) ; } RemoveCell ( ( HSSFCell ) cell , true ) ; }
public CreatePlacementGroupRequest ( String groupName , PlacementStrategy strategy ) { setGroupName ( groupName ) ; setStrategy ( strategy . toString ( ) ) ; }
public CreatePlacementGroupRequest ( string groupName , PlacementStrategy strategy ) { _groupName = groupName ; _strategy = strategy ; }
public PutManagedScalingPolicyResult putManagedScalingPolicy ( PutManagedScalingPolicyRequest request ) { request = beforeClientExecution ( request ) ; return executePutManagedScalingPolicy ( request ) ; }
public virtual PutManagedScalingPolicyResponse PutManagedScalingPolicy ( PutManagedScalingPolicyRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PutManagedScalingPolicyRequestMarshaller . Instance ; options . ResponseUnmarshaller = PutManagedScalingPolicyResponseUnmarshaller . Ins...
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[SXVS]\n" ) ; buffer . append ( " .vs =" ) . append ( HexDump . shortToHex ( vs ) ) . append ( '\n' ) ; buffer . append ( "[/SXVS]\n" ) ; return buffer . toString ( ) ; }
public override string ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[SXVS]\n" ) ; buffer . Append ( " .vs =" ) . Append ( HexDump . ShortToHex ( vs ) ) . Append ( '\n' ) ; buffer . Append ( "[/SXVS]\n" ) ; return buffer . ToString ( ) ; }
public Trie reduce ( Reduce by ) { return by . optimize ( this ) ; }
public virtual Trie Reduce ( Reduce by ) { return by . Optimize ( this ) ; }
public AbstractEscherHolderRecord clone ( ) { return copy ( ) ; }
public override object Clone ( ) { return CloneViaReserialise ( ) ; }
public void setParams ( String params ) { super . setParams ( params ) ; commitUserData = new HashMap < > ( ) ; commitUserData . put ( OpenReaderTask . USER_DATA , params ) ; }
public override void SetParams ( string @ params ) { base . SetParams ( @ params ) ; commitUserData = new Dictionary < string , string > ( ) ; commitUserData [ OpenReaderTask . USER_DATA ] = @ params ; }
public String getSrcRef ( ) { return srcRef ; }
public virtual string GetSrcRef ( ) { return srcRef ; }
public final String getShortMessage ( ) { byte [ ] raw = buffer ; int msgB = RawParseUtils . commitMessage ( raw , 0 ) ; if ( msgB < 0 ) { return "" ; } int msgE = RawParseUtils . endOfParagraph ( raw , msgB ) ; String str = RawParseUtils . decode ( guessEncoding ( ) , raw , msgB , msgE ) ; if ( hasLF ( raw , msgB , ms...
public string GetShortMessage ( ) { byte [ ] raw = buffer ; int msgB = RawParseUtils . CommitMessage ( raw , 0 ) ; if ( msgB < 0 ) { return string . Empty ; } System . Text . Encoding enc = RawParseUtils . ParseEncoding ( raw ) ; int msgE = RawParseUtils . EndOfParagraph ( raw , msgB ) ; string str = RawParseUtils . De...
public static Boolean coerceValueToBoolean ( ValueEval ve , boolean stringsAreBlanks ) throws EvaluationException { if ( ve == null || ve == BlankEval . instance ) { return null ; } if ( ve instanceof BoolEval ) { return Boolean . valueOf ( ( ( BoolEval ) ve ) . getBooleanValue ( ) ) ; } if ( ve instanceof StringEval )...
public static Boolean ? CoerceValueToBoolean ( ValueEval ve , bool stringsAreBlanks ) { if ( ve == null || ve == BlankEval . instance ) { return null ; } if ( ve is BoolEval ) { return ( ( BoolEval ) ve ) . BooleanValue ; } if ( ve is StringEval ) { if ( stringsAreBlanks ) { return null ; } String str = ( ( StringEval ...
public synchronized List < IndexCommit > getSnapshots ( ) { return new ArrayList < > ( indexCommits . values ( ) ) ; }
public virtual IList < IndexCommit > GetSnapshots ( ) { lock ( this ) { return new List < IndexCommit > ( m_indexCommits . Values ) ; } }
public static int subIndex ( int n , int [ ] docStarts ) { int size = docStarts . length ; int lo = 0 ; int hi = size - 1 ; while ( hi >= lo ) { int mid = ( lo + hi ) > > > 1 ; int midValue = docStarts [ mid ] ; if ( n < midValue ) hi = mid - 1 ; else if ( n > midValue ) lo = mid + 1 ; else { while ( mid + 1 < size && ...
public static int SubIndex ( int n , int [ ] docStarts ) { int size = docStarts . Length ; int lo = 0 ; int hi = size - 1 ; while ( hi >= lo ) { int mid = ( int ) ( ( uint ) ( lo + hi ) > > 1 ) ; int midValue = docStarts [ mid ] ; if ( n < midValue ) { hi = mid - 1 ; } else if ( n > midValue ) { lo = mid + 1 ; } else {...
public static Date getJavaDate ( double date , boolean use1904windowing ) { return getJavaDate ( date , use1904windowing , null , false ) ; }
public static DateTime GetJavaDate ( double date , bool use1904windowing ) { return GetJavaCalendar ( date , use1904windowing , false ) ; }
public CharSequence getLastOnPath ( CharSequence key ) { Row now = getRow ( root ) ; int w ; CharSequence last = null ; StrEnum e = new StrEnum ( key , forward ) ; for ( int i = 0 ; i < key . length ( ) - 1 ; i ++ ) { Character ch = e . next ( ) ; w = now . getCmd ( ch ) ; if ( w >= 0 ) { last = cmds . get ( w ) ; } w ...
public virtual string GetLastOnPath ( string key ) { Row now = GetRow ( root ) ; int w ; string last = null ; StrEnum e = new StrEnum ( key , forward ) ; for ( int i = 0 ; i < key . Length - 1 ; i ++ ) { char ch = e . Next ( ) ; w = now . GetCmd ( ch ) ; if ( w >= 0 ) { last = cmds [ w ] ; } w = now . GetRef ( ch ) ; i...
public Hashtable ( int capacity ) { if ( capacity < 0 ) { throw new IllegalArgumentException ( "Capacity: " + capacity ) ; } if ( capacity == 0 ) { @ SuppressWarnings ( "unchecked" ) HashtableEntry < K , V > [ ] tab = ( HashtableEntry < K , V > [ ] ) EMPTY_TABLE ; table = tab ; threshold = - 1 ; return ; } if ( capacit...
public Hashtable ( int capacity ) { if ( capacity < 0 ) { throw new System . ArgumentException ( "Capacity: " + capacity ) ; } if ( capacity == 0 ) { java . util . Hashtable . HashtableEntry < K , V > [ ] tab = ( java . util . Hashtable . HashtableEntry < K , V > [ ] ) EMPTY_TABLE ; table = tab ; threshold = - 1 ; retu...
public void reset ( ) { heads . clear ( ) ; heads . addAll ( headsStartValue ) ; }
public virtual void Reset ( ) { heads . Clear ( ) ; Sharpen . Collections . AddAll ( heads , headsStartValue ) ; }
public CreatePlacementGroupResult createPlacementGroup ( CreatePlacementGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeCreatePlacementGroup ( request ) ; }
public virtual CreatePlacementGroupResponse CreatePlacementGroup ( CreatePlacementGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreatePlacementGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreatePlacementGroupResponseUnmarshaller . Instance ; return ...
public final float maxCharsPerByte ( ) { return maxCharsPerByte ; }
public float maxCharsPerByte ( ) { return _maxCharsPerByte ; }
public static String getRFC2616Date ( Date date ) { SimpleDateFormat df = new SimpleDateFormat ( FORMAT_RFC2616 , Locale . ENGLISH ) ; df . setTimeZone ( new SimpleTimeZone ( 0 , TIME_ZONE ) ) ; return df . format ( date ) ; }
public static string GetRFC2616Date ( DateTime datetime ) { if ( null == datetime ) { datetime = DateTime . UtcNow ; } return datetime . ToUniversalTime ( ) . GetDateTimeFormats ( 'r' ) [ 0 ] ; }
public ListContributorInsightsResult listContributorInsights ( ListContributorInsightsRequest request ) { request = beforeClientExecution ( request ) ; return executeListContributorInsights ( request ) ; }
public virtual ListContributorInsightsResponse ListContributorInsights ( ListContributorInsightsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListContributorInsightsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListContributorInsightsResponseUnmarshaller . Ins...
public void setPackedGitOpenFiles ( int fdLimit ) { packedGitOpenFiles = fdLimit ; }
public virtual void SetPackedGitOpenFiles ( int fdLimit ) { packedGitOpenFiles = fdLimit ; }
public DBCluster failoverDBCluster ( FailoverDBClusterRequest request ) { request = beforeClientExecution ( request ) ; return executeFailoverDBCluster ( request ) ; }
public virtual FailoverDBClusterResponse FailoverDBCluster ( FailoverDBClusterRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = FailoverDBClusterRequestMarshaller . Instance ; options . ResponseUnmarshaller = FailoverDBClusterResponseUnmarshaller . Instance ; return Invoke < Failov...
public StringBuilder insert ( int offset , double d ) { insert0 ( offset , Double . toString ( d ) ) ; return this ; }
public java . lang . StringBuilder insert ( int offset , double d ) { insert0 ( offset , System . Convert . ToString ( d ) ) ; return this ; }
public void serialize ( LittleEndianOutput out ) { futureHeader . serialize ( out ) ; out . writeShort ( isf_sharedFeatureType ) ; out . writeByte ( reserved1 ) ; out . writeInt ( ( int ) reserved2 ) ; out . writeShort ( cellRefs . length ) ; out . writeInt ( ( int ) cbFeatData ) ; out . writeShort ( reserved3 ) ; for ...
public override void Serialize ( ILittleEndianOutput out1 ) { futureHeader . Serialize ( out1 ) ; out1 . WriteShort ( isf_sharedFeatureType ) ; out1 . WriteByte ( reserved1 ) ; out1 . WriteInt ( ( int ) reserved2 ) ; out1 . WriteShort ( cellRefs . Length ) ; out1 . WriteInt ( ( int ) cbFeatData ) ; out1 . WriteShort ( ...
public void writeDouble ( double value ) throws IOException { checkWritePrimitiveTypes ( ) ; primitiveTypes . writeDouble ( value ) ; }
public virtual void writeDouble ( double value ) { throw new System . NotImplementedException ( ) ; }
public DisassociateWebsiteAuthorizationProviderResult disassociateWebsiteAuthorizationProvider ( DisassociateWebsiteAuthorizationProviderRequest request ) { request = beforeClientExecution ( request ) ; return executeDisassociateWebsiteAuthorizationProvider ( request ) ; }
public virtual DisassociateWebsiteAuthorizationProviderResponse DisassociateWebsiteAuthorizationProvider ( DisassociateWebsiteAuthorizationProviderRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DisassociateWebsiteAuthorizationProviderRequestMarshaller . Instance ; options . Resp...
public final byte [ ] serialize ( ) { byte [ ] retval = new byte [ getRecordSize ( ) ] ; serialize ( 0 , retval ) ; return retval ; }
public byte [ ] Serialize ( ) { byte [ ] retval = new byte [ RecordSize ] ; Serialize ( 0 , retval ) ; return retval ; }
public Cell next ( ) { if ( ! hasNext ( ) ) { throw new NoSuchElementException ( "At last element" ) ; } HSSFCell cell = cells [ nextId ] ; thisId = nextId ; findNext ( ) ; return cell ; }
public ICell next ( ) { if ( hasNext ( ) ) return _cells [ pos ++ ] ; else throw new NullReferenceException ( ) ; }
public static double [ ] grow ( double [ ] array ) { return grow ( array , 1 + array . length ) ; }
public static short [ ] Grow ( short [ ] array ) { return Grow ( array , 1 + array . Length ) ; }
public synchronized StringBuffer insert ( int index , String string ) { insert0 ( index , string ) ; return this ; }
public java . lang . StringBuffer insert ( int index , string @ string ) { lock ( this ) { insert0 ( index , @ string ) ; return this ; } }
public DomainDetail describeDomain ( DescribeDomainRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeDomain ( request ) ; }
public virtual DescribeDomainResponse DescribeDomain ( DescribeDomainRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeDomainRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeDomainResponseUnmarshaller . Instance ; return Invoke < DescribeDomainRespons...
public void reset ( ) { this . reset ( true , true ) ; }
public void Reset ( ) { this . Reset ( true , true ) ; }
public void serialize ( LittleEndianOutput out ) { out . writeShort ( _reserved ) ; }
public override void Serialize ( ILittleEndianOutput out1 ) { out1 . WriteShort ( _reserved ) ; }
public int getStartOffset ( ) { return startOffset ; }
public virtual int GetStartOffset ( ) { return startOffset ; }
public synchronized String [ ] listAll ( ) throws IOException { final Set < String > files = new HashSet < > ( ) ; for ( String f : cacheDirectory . listAll ( ) ) { files . add ( f ) ; } for ( String f : in . listAll ( ) ) { files . add ( f ) ; } String [ ] result = files . toArray ( new String [ files . size ( ) ] ) ;...
public override string [ ] ListAll ( ) { lock ( this ) { ISet < string > files = new JCG . HashSet < string > ( ) ; foreach ( string f in cache . ListAll ( ) ) { files . Add ( f ) ; } try { foreach ( string f in @ delegate . ListAll ( ) ) { files . Add ( f ) ; } } catch ( DirectoryNotFoundException ) { if ( files . Cou...
public byte clearByte ( final byte holder ) { return ( byte ) clear ( holder ) ; }
public byte ClearByte ( byte holder ) { return ( byte ) this . Clear ( holder ) ; }
public ScenarioProtectRecord getHCenter ( ) { return _scenarioProtectRecord ; }
public ScenarioProtectRecord GetHCenter ( ) { return _scenarioProtectRecord ; }
public HSSFRow createRow ( int rownum ) { HSSFRow row = new HSSFRow ( _workbook , this , rownum ) ; row . setHeight ( getDefaultRowHeight ( ) ) ; row . getRowRecord ( ) . setBadFontHeight ( false ) ; addRow ( row , true ) ; return row ; }
public NPOI . SS . UserModel . IRow CreateRow ( int rownum ) { HSSFRow row = new HSSFRow ( _workbook , this , rownum ) ; row . Height = ( DefaultRowHeight ) ; row . RowRecord . BadFontHeight = ( false ) ; AddRow ( row , true ) ; return row ; }
public ListQueryExecutionsResult listQueryExecutions ( ListQueryExecutionsRequest request ) { request = beforeClientExecution ( request ) ; return executeListQueryExecutions ( request ) ; }
public virtual ListQueryExecutionsResponse ListQueryExecutions ( ListQueryExecutionsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListQueryExecutionsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListQueryExecutionsResponseUnmarshaller . Instance ; return Invok...
public DeleteSuppressedDestinationResult deleteSuppressedDestination ( DeleteSuppressedDestinationRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteSuppressedDestination ( request ) ; }
public virtual DeleteSuppressedDestinationResponse DeleteSuppressedDestination ( DeleteSuppressedDestinationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteSuppressedDestinationRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteSuppressedDestinationRespon...
public CharsRef subtract ( CharsRef output , CharsRef inc ) { assert output != null ; assert inc != null ; if ( inc == NO_OUTPUT ) { return output ; } else if ( inc . length == output . length ) { return NO_OUTPUT ; } else { assert inc . length < output . length : "inc.length=" + inc . length + " vs output.length=" + o...
public override CharsRef Subtract ( CharsRef output , CharsRef inc ) { Debug . Assert ( output != null ) ; Debug . Assert ( inc != null ) ; if ( inc == NO_OUTPUT ) { return output ; } else if ( inc . Length == output . Length ) { return NO_OUTPUT ; } else { Debug . Assert ( inc . Length < output . Length , "inc.Length=...
public void requestCancelWorkflowExecution ( RequestCancelWorkflowExecutionRequest request ) { request = beforeClientExecution ( request ) ; executeRequestCancelWorkflowExecution ( request ) ; }
public virtual RequestCancelWorkflowExecutionResponse RequestCancelWorkflowExecution ( RequestCancelWorkflowExecutionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = RequestCancelWorkflowExecutionRequestMarshaller . Instance ; options . ResponseUnmarshaller = RequestCancelWorkflow...
public boolean equals ( Object o ) { if ( this == o ) { return true ; } if ( o == null || getClass ( ) != o . getClass ( ) ) { return false ; } Arn arn = ( Arn ) o ; if ( ! partition . equals ( arn . partition ) ) { return false ; } if ( ! service . equals ( arn . service ) ) { return false ; } if ( region != null ? ! ...
public override bool Equals ( object o ) { if ( this == o ) { return true ; } var arn = o as Arn ; if ( arn == null ) { return false ; } if ( ! Partition . Equals ( arn . Partition ) ) { return false ; } if ( ! Service . Equals ( arn . Service ) ) { return false ; } if ( Region != arn . Region ) { return false ; } if (...
public UpdateDataSetPermissionsResult updateDataSetPermissions ( UpdateDataSetPermissionsRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateDataSetPermissions ( request ) ; }
public virtual UpdateDataSetPermissionsResponse UpdateDataSetPermissions ( UpdateDataSetPermissionsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateDataSetPermissionsRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateDataSetPermissionsResponseUnmarshaller ...
public DeleteCloudFrontOriginAccessIdentityResult deleteCloudFrontOriginAccessIdentity ( DeleteCloudFrontOriginAccessIdentityRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteCloudFrontOriginAccessIdentity ( request ) ; }
public virtual DeleteCloudFrontOriginAccessIdentityResponse DeleteCloudFrontOriginAccessIdentity ( DeleteCloudFrontOriginAccessIdentityRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteCloudFrontOriginAccessIdentityRequestMarshaller . Instance ; options . ResponseUnmarshaller...
public TokenStream create ( TokenStream input ) { return new PortugueseMinimalStemFilter ( input ) ; }
public override TokenStream Create ( TokenStream input ) { return new PortugueseMinimalStemFilter ( input ) ; }
public PutDashboardResult putDashboard ( PutDashboardRequest request ) { request = beforeClientExecution ( request ) ; return executePutDashboard ( request ) ; }
public virtual PutDashboardResponse PutDashboard ( PutDashboardRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PutDashboardRequestMarshaller . Instance ; options . ResponseUnmarshaller = PutDashboardResponseUnmarshaller . Instance ; return Invoke < PutDashboardResponse > ( reques...
public void addChar ( char c , int width ) { charWidths . put ( Character . valueOf ( c ) , Integer . valueOf ( width ) ) ; }
public void AddChar ( char c , int width ) { charWidths [ c ] = width ; }
public DeleteRoomSkillParameterResult deleteRoomSkillParameter ( DeleteRoomSkillParameterRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteRoomSkillParameter ( request ) ; }
public virtual DeleteRoomSkillParameterResponse DeleteRoomSkillParameter ( DeleteRoomSkillParameterRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteRoomSkillParameterRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteRoomSkillParameterResponseUnmarshaller ...
public String get ( String name , String dflt ) { String vals [ ] = ( String [ ] ) valByRound . get ( name ) ; if ( vals != null ) { return vals [ roundNumber % vals . length ] ; } String sval = props . getProperty ( name , dflt ) ; if ( sval == null ) { return null ; } if ( sval . indexOf ( ":" ) < 0 ) { return sval ;...
public virtual string Get ( string name , string dflt ) { string [ ] vals ; object temp ; if ( valByRound . TryGetValue ( name , out temp ) && temp != null ) { vals = ( string [ ] ) temp ; return vals [ roundNumber % vals . Length ] ; } string sval ; if ( ! props . TryGetValue ( name , out sval ) ) { sval = dflt ; } if...
public DBClusterSnapshotAttributesResult describeDBClusterSnapshotAttributes ( DescribeDBClusterSnapshotAttributesRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeDBClusterSnapshotAttributes ( request ) ; }
public virtual DescribeDBClusterSnapshotAttributesResponse DescribeDBClusterSnapshotAttributes ( DescribeDBClusterSnapshotAttributesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeDBClusterSnapshotAttributesRequestMarshaller . Instance ; options . ResponseUnmarshaller = D...
public void addFile ( FileHeader fh ) { files . add ( fh ) ; }
public virtual void AddFile ( FileHeader fh ) { files . AddItem ( fh ) ; }
public TokenStream create ( TokenStream input ) { return new ItalianLightStemFilter ( input ) ; }
public override TokenStream Create ( TokenStream input ) { return new ItalianLightStemFilter ( input ) ; }
public LinkedHashMap ( ) { init ( ) ; accessOrder = false ; }
public LinkedHashMap ( ) { init ( ) ; accessOrder = false ; }
public DeleteStackInstancesResult deleteStackInstances ( DeleteStackInstancesRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteStackInstances ( request ) ; }
public virtual DeleteStackInstancesResponse DeleteStackInstances ( DeleteStackInstancesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteStackInstancesRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteStackInstancesResponseUnmarshaller . Instance ; return ...
public String toString ( ) { return "(" + a . toString ( ) + " AND " + b . toString ( ) + ")" ; }
public override string ToString ( ) { return "(" + a . ToString ( ) + " OR " + b . ToString ( ) + ")" ; }
public StringWriter ( ) { buf = new StringBuffer ( 16 ) ; lock = buf ; }
public StringWriter ( ) { buf = new java . lang . StringBuffer ( 16 ) ; @ lock = buf ; }
public List < MatchingDocs > getOriginalMatchingDocs ( ) { return super . getMatchingDocs ( ) ; }
public virtual IList < MatchingDocs > GetOriginalMatchingDocs ( ) { return base . GetMatchingDocs ( ) ; }
public ValueEval evaluate ( int srcRowIndex , int srcColumnIndex , ValueEval arg0 , ValueEval arg1 ) { double result ; try { double d0 = singleOperandEvaluate ( arg0 , srcRowIndex , srcColumnIndex ) ; double d1 = singleOperandEvaluate ( arg1 , srcRowIndex , srcColumnIndex ) ; result = evaluate ( d0 , d1 ) ; checkValue ...
public override ValueEval Evaluate ( int srcRowIndex , int srcColumnIndex , ValueEval arg0 , ValueEval arg1 ) { double result ; try { double d0 = NumericFunction . SingleOperandEvaluate ( arg0 , srcRowIndex , srcColumnIndex ) ; double d1 = NumericFunction . SingleOperandEvaluate ( arg1 , srcRowIndex , srcColumnIndex ) ...
public String toString ( ) { return "[HCENTER]\n" + " .hcenter = " + getHCenter ( ) + "\n" + "[/HCENTER]\n" ; }
public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[HCENTER]\n" ) ; buffer . Append ( " .hcenter = " ) . Append ( HCenter ) . Append ( "\n" ) ; buffer . Append ( "[/HCENTER]\n" ) ; return buffer . ToString ( ) ; }
public GetEbsEncryptionByDefaultResult getEbsEncryptionByDefault ( GetEbsEncryptionByDefaultRequest request ) { request = beforeClientExecution ( request ) ; return executeGetEbsEncryptionByDefault ( request ) ; }
public virtual GetEbsEncryptionByDefaultResponse GetEbsEncryptionByDefault ( GetEbsEncryptionByDefaultRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetEbsEncryptionByDefaultRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetEbsEncryptionByDefaultResponseUnmarsha...
public ParseException generateParseException ( ) { jj_expentries . clear ( ) ; boolean [ ] la1tokens = new boolean [ 34 ] ; if ( jj_kind >= 0 ) { la1tokens [ jj_kind ] = true ; jj_kind = - 1 ; } for ( int i = 0 ; i < 25 ; i ++ ) { if ( jj_la1 [ i ] == jj_gen ) { for ( int j = 0 ; j < 32 ; j ++ ) { if ( ( jj_la1_0 [ i ]...
public virtual ParseException GenerateParseException ( ) { jj_expentries . Clear ( ) ; bool [ ] la1tokens = new bool [ 33 ] ; if ( jj_kind >= 0 ) { la1tokens [ jj_kind ] = true ; jj_kind = - 1 ; } for ( int i = 0 ; i < 21 ; i ++ ) { if ( jj_la1 [ i ] == jj_gen ) { for ( int j = 0 ; j < 32 ; j ++ ) { if ( ( jj_la1_0 [ i...
public int getCharWidth ( char c ) { Integer widthInteger = charWidths . get ( Character . valueOf ( c ) ) ; if ( widthInteger == null ) { return 'W' == c ? 0 : getCharWidth ( 'W' ) ; } return widthInteger ; }
public int GetCharWidth ( char c ) { object widthInteger = charWidths [ c ] ; if ( widthInteger == null ) return 'W' == c ? 0 : GetCharWidth ( 'W' ) ; else return ( int ) widthInteger ; }
public DescribeSecurityGroupReferencesResult describeSecurityGroupReferences ( DescribeSecurityGroupReferencesRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeSecurityGroupReferences ( request ) ; }
public virtual DescribeSecurityGroupReferencesResponse DescribeSecurityGroupReferences ( DescribeSecurityGroupReferencesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeSecurityGroupReferencesRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeSecurityG...
public final V getValue ( ) { return value ; }
public virtual V getValue ( ) { return value ; }
public EscherContainerRecord getEscherContainer ( ) { for ( EscherRecord er : escherRecords ) { if ( er instanceof EscherContainerRecord ) { return ( EscherContainerRecord ) er ; } } return null ; }
public EscherContainerRecord GetEscherContainer ( ) { for ( IEnumerator it = escherRecords . GetEnumerator ( ) ; it . MoveNext ( ) ; ) { Object er = it . Current ; if ( er is EscherContainerRecord ) { return ( EscherContainerRecord ) er ; } } return null ; }
public boolean removeShape ( HSSFShape shape ) { boolean isRemoved = getEscherContainer ( ) . removeChildRecord ( shape . getEscherContainer ( ) ) ; if ( isRemoved ) { shape . afterRemove ( this . getPatriarch ( ) ) ; shapes . remove ( shape ) ; } return isRemoved ; }
public bool RemoveShape ( HSSFShape shape ) { bool isRemoved = GetEscherContainer ( ) . RemoveChildRecord ( shape . GetEscherContainer ( ) ) ; if ( isRemoved ) { shape . AfterRemove ( this . Patriarch ) ; shapes . Remove ( shape ) ; } return isRemoved ; }
public boolean changeExternalReference ( String oldUrl , String newUrl ) { return linkTable . changeExternalReference ( oldUrl , newUrl ) ; }
public bool ChangeExternalReference ( String oldUrl , String newUrl ) { return linkTable . ChangeExternalReference ( oldUrl , newUrl ) ; }
public String toString ( ) { return "BLOCK: " + brToString ( prefix ) ; }
public override string ToString ( ) { return "BLOCK: " + Prefix . Utf8ToString ( ) ; }
public static String pathToString ( String [ ] path ) { return pathToString ( path , path . length ) ; }
public static string PathToString ( string [ ] path ) { return PathToString ( path , path . Length ) ; }
public final boolean isInRange ( int rowIx , int colIx ) { CellRangeAddress8Bit r = _range ; return r . getFirstRow ( ) <= rowIx && r . getLastRow ( ) >= rowIx && r . getFirstColumn ( ) <= colIx && r . getLastColumn ( ) >= colIx ; }
public bool IsInRange ( int rowIx , int colIx ) { CellRangeAddress8Bit r = _range ; return r . FirstRow <= rowIx && r . LastRow >= rowIx && r . FirstColumn <= colIx && r . LastColumn >= colIx ; }
public RmCommand rm ( ) { return new RmCommand ( repo ) ; }
public virtual RmCommand Rm ( ) { return new RmCommand ( repo ) ; }
public static String [ ] parse ( String line ) { boolean insideQuote = false ; ArrayList < String > result = new ArrayList < > ( ) ; int quoteCount = 0 ; StringBuilder sb = new StringBuilder ( ) ; for ( int i = 0 ; i < line . length ( ) ; i ++ ) { char c = line . charAt ( i ) ; if ( c == QUOTE ) { insideQuote = ! insid...
public static string [ ] Parse ( string line ) { bool insideQuote = false ; List < string > result = new List < string > ( ) ; int quoteCount = 0 ; StringBuilder sb = new StringBuilder ( ) ; for ( int i = 0 ; i < line . Length ; i ++ ) { char c = line [ i ] ; if ( c == QUOTE ) { insideQuote = ! insideQuote ; quoteCount...
public long get ( int index ) { final int o = index / 3 ; final int b = index % 3 ; final int shift = b * 21 ; return ( blocks [ o ] > > > shift ) & 2097151L ; }
public override long Get ( int index ) { int o = index / 3 ; int b = index % 3 ; int shift = b * 21 ; return ( ( long ) ( ( ulong ) blocks [ o ] > > shift ) ) & 2097151L ; }
public void connect ( PipedOutputStream src ) throws IOException { src . connect ( this ) ; }
public virtual void connect ( java . io . PipedOutputStream src ) { throw new System . NotImplementedException ( ) ; }
public WeightedPhraseInfo ( Collection < WeightedPhraseInfo > toMerge ) { Iterator < WeightedPhraseInfo > toMergeItr = toMerge . iterator ( ) ; if ( ! toMergeItr . hasNext ( ) ) { throw new IllegalArgumentException ( "toMerge must contain at least one WeightedPhraseInfo." ) ; } WeightedPhraseInfo first = toMergeItr . n...
public WeightedPhraseInfo ( ICollection < WeightedPhraseInfo > toMerge ) { IEnumerator < Toffs > [ ] allToffs = new IEnumerator < Toffs > [ toMerge . Count ] ; try { using ( IEnumerator < WeightedPhraseInfo > toMergeItr = toMerge . GetEnumerator ( ) ) { if ( ! toMergeItr . MoveNext ( ) ) { throw new ArgumentException (...
public DescribeLoadBalancerPolicyTypesResult describeLoadBalancerPolicyTypes ( DescribeLoadBalancerPolicyTypesRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeLoadBalancerPolicyTypes ( request ) ; }
public virtual DescribeLoadBalancerPolicyTypesResponse DescribeLoadBalancerPolicyTypes ( DescribeLoadBalancerPolicyTypesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeLoadBalancerPolicyTypesRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeLoadBalan...
public Entry < K , V > next ( ) { return nextEntry ( ) ; }
public override java . util . MapClass . Entry < K , V > next ( ) { return this . nextEntry ( ) ; }
public int getCmd ( Character way ) { Cell c = at ( way ) ; return ( c == null ) ? - 1 : c . cmd ; }
public int GetCmd ( char way ) { Cell c = At ( way ) ; return ( c == null ) ? - 1 : c . cmd ; }
public int readInt ( ) { int ch1 = _in . readUByte ( ) ; int ch2 = _in . readUByte ( ) ; int ch3 = _in . readUByte ( ) ; int ch4 = _in . readUByte ( ) ; return ( ch4 << 24 ) + ( ch3 << 16 ) + ( ch2 << 8 ) + ( ch1 << 0 ) ; }
public int ReadInt ( ) { int ch1 = _in . ReadUByte ( ) ; int ch2 = _in . ReadUByte ( ) ; int ch3 = _in . ReadUByte ( ) ; int ch4 = _in . ReadUByte ( ) ; return ( ch4 << 24 ) + ( ch3 << 16 ) + ( ch2 << 8 ) + ( ch1 << 0 ) ; }
public String toString ( ) { return "Reverse" + super . toString ( ) ; }
public override string ToString ( ) { return "Reverse" + base . ToString ( ) ; }
public Explanation explain ( Explanation freq , long norm ) { return SimilarityBase . this . explain ( stats , freq , getLengthValue ( norm ) ) ; }
public override Explanation Explain ( int doc , Explanation freq ) { return outerInstance . Explain ( stats , doc , freq , norms == null ? 1F : outerInstance . DecodeNormValue ( ( byte ) norms . Get ( doc ) ) ) ; }
public static ListenerList getGlobalListenerList ( ) { return globalListeners ; }
public static ListenerList GetGlobalListenerList ( ) { return globalListeners ; }
public GetInvitationsCountResult getInvitationsCount ( GetInvitationsCountRequest request ) { request = beforeClientExecution ( request ) ; return executeGetInvitationsCount ( request ) ; }
public virtual GetInvitationsCountResponse GetInvitationsCount ( GetInvitationsCountRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetInvitationsCountRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetInvitationsCountResponseUnmarshaller . Instance ; return Invok...
public static boolean equals ( float [ ] array1 , float [ ] 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 ( Float . floatToIntBits ( array1 [ i ] ) != Float . float...
public static bool equals ( float [ ] array1 , float [ ] 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 ( Sharpen . Util . FloatToIntBits ( array1 [ i ] ) != Sharp...
public final V setValue ( V value ) { if ( value == null ) { throw new NullPointerException ( ) ; } V oldValue = this . value ; this . value = value ; return oldValue ; }
public virtual V setValue ( V value ) { if ( ( object ) value == null ) { throw new System . ArgumentNullException ( ) ; } V oldValue = this . value ; this . value = value ; return oldValue ; }
@ Override public boolean isEmpty ( ) { return Impl . this . isEmpty ( ) ; }
public override bool isEmpty ( ) { return this . _enclosing . _size == 0 ; }
public void setCategoryLabelsCellRange ( CellRangeAddressBase range ) { Integer count = setVerticalCellRange ( dataCategoryLabels , range ) ; if ( count == null ) { return ; } series . setNumCategories ( ( short ) ( int ) count ) ; }
public void SetCategoryLabelsCellRange ( CellRangeAddressBase range ) { int count = SetVerticalCellRange ( dataCategoryLabels , range ) ; series . NumCategories = ( short ) count ; }
final public SrndQuery OrQuery ( ) throws ParseException { SrndQuery q ; ArrayList < SrndQuery > queries = null ; Token oprt = null ; q = AndQuery ( ) ; label_2 : while ( true ) { switch ( ( jj_ntk == - 1 ) ? jj_ntk ( ) : jj_ntk ) { case OR : ; break ; default : jj_la1 [ 0 ] = jj_gen ; break label_2 ; } oprt = jj_consu...
public SrndQuery OrQuery ( ) { SrndQuery q ; IList < SrndQuery > queries = null ; Token oprt = null ; q = AndQuery ( ) ; while ( true ) { switch ( ( jj_ntk == - 1 ) ? Jj_ntk ( ) : jj_ntk ) { case RegexpToken . OR : ; break ; default : jj_la1 [ 0 ] = jj_gen ; goto label_2 ; } oprt = Jj_consume_token ( RegexpToken . OR )...
public DeleteScheduledActionResult deleteScheduledAction ( DeleteScheduledActionRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteScheduledAction ( request ) ; }
public virtual DeleteScheduledActionResponse DeleteScheduledAction ( DeleteScheduledActionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteScheduledActionRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteScheduledActionResponseUnmarshaller . Instance ; re...
public CharBuffer put ( String str , int start , int end ) { if ( start < 0 || end < start || end > str . length ( ) ) { throw new IndexOutOfBoundsException ( "str.length()=" + str . length ( ) + ", start=" + start + ", end=" + end ) ; } if ( end - start > remaining ( ) ) { throw new BufferOverflowException ( ) ; } for...
public virtual java . nio . CharBuffer put ( string str , int start , int end ) { if ( start < 0 || end < start || end > str . Length ) { throw new System . IndexOutOfRangeException ( "str.length()=" + str . Length + ", start=" + start + ", end=" + end ) ; } if ( end - start > remaining ( ) ) { throw new java . nio . B...
public void serialize ( LittleEndianOutput out ) { out . writeShort ( rt ) ; out . writeShort ( grbitFrt ) ; out . writeShort ( iObjectKind ) ; out . write ( unused ) ; }
public override void Serialize ( ILittleEndianOutput out1 ) { out1 . WriteShort ( rt ) ; out1 . WriteShort ( grbitFrt ) ; out1 . WriteShort ( iObjectKind ) ; out1 . Write ( unused ) ; }
public ChangeInfo ( String id , ChangeStatus status , java . util . Date submittedAt ) { setId ( id ) ; setStatus ( status . toString ( ) ) ; setSubmittedAt ( submittedAt ) ; }
public ChangeInfo ( string id , ChangeStatus status , DateTime submittedAt ) { _id = id ; _status = status ; _submittedAt = submittedAt ; }
public SwedishLightStemFilterFactory ( Map < String , String > args ) { super ( args ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } }
public SwedishLightStemFilterFactory ( IDictionary < string , string > args ) : base ( args ) { if ( args . Count > 0 ) { throw new System . ArgumentException ( "Unknown parameters: " + args ) ; } }