id
stringlengths
11
16
language
stringclasses
2 values
question
stringlengths
13
844
answer
stringlengths
1
900
code
stringlengths
162
27.4k
code_original
stringlengths
162
26k
code_word_count
int64
51
5.96k
java-test-7590
java
When are explicit expressions compared ?
after normalizing
boolean sentence Match Expression ( final Expression other ) { final String match String = other . get Normalized ( ) ; if ( match String . contains ( JOKER ) ) { if ( match String . equals ( JOKER ) ) { if ( ! matches Joker String ( get Type String ( ) , other . get Type String ( ) ) ) { return BOOL ; } } else { if ( ...
boolean sentenceMatchExpression ( final Expression other ) { final String matchString = other . getNormalized ( ) ; if ( matchString . contains ( JOKER ) ) { if ( matchString . equals ( JOKER ) ) { if ( ! matchesJokerString ( getTypeString ( ) , other . getTypeString ( ) ) ) { return _BOOL ; } } else { if ( ! matchesJo...
140
java-test-7591
java
What matches the expression ?
the given matching expression
boolean sentence Match Expression ( final Expression other ) { final String match String = other . get Normalized ( ) ; if ( match String . contains ( JOKER ) ) { if ( match String . equals ( JOKER ) ) { if ( ! matches Joker String ( get Type String ( ) , other . get Type String ( ) ) ) { return BOOL ; } } else { if ( ...
boolean sentenceMatchExpression ( final Expression other ) { final String matchString = other . getNormalized ( ) ; if ( matchString . contains ( JOKER ) ) { if ( matchString . equals ( JOKER ) ) { if ( ! matchesJokerString ( getTypeString ( ) , other . getTypeString ( ) ) ) { return _BOOL ; } } else { if ( ! matchesJo...
140
java-test-7592
java
What chooses between word and type matching ?
the joker matching algorithm for sentence matching
boolean sentence Match Expression ( final Expression other ) { final String match String = other . get Normalized ( ) ; if ( match String . contains ( JOKER ) ) { if ( match String . equals ( JOKER ) ) { if ( ! matches Joker String ( get Type String ( ) , other . get Type String ( ) ) ) { return BOOL ; } } else { if ( ...
boolean sentenceMatchExpression ( final Expression other ) { final String matchString = other . getNormalized ( ) ; if ( matchString . contains ( JOKER ) ) { if ( matchString . equals ( JOKER ) ) { if ( ! matchesJokerString ( getTypeString ( ) , other . getTypeString ( ) ) ) { return _BOOL ; } } else { if ( ! matchesJo...
140
java-test-7593
java
What can the matching object contain ?
explicit expressions , which are compared after normalizing , or expressiontype specifiers like " ver " or " sub * " in upper case
boolean sentence Match Expression ( final Expression other ) { final String match String = other . get Normalized ( ) ; if ( match String . contains ( JOKER ) ) { if ( match String . equals ( JOKER ) ) { if ( ! matches Joker String ( get Type String ( ) , other . get Type String ( ) ) ) { return BOOL ; } } else { if ( ...
boolean sentenceMatchExpression ( final Expression other ) { final String matchString = other . getNormalized ( ) ; if ( matchString . contains ( JOKER ) ) { if ( matchString . equals ( JOKER ) ) { if ( ! matchesJokerString ( getTypeString ( ) , other . getTypeString ( ) ) ) { return _BOOL ; } } else { if ( ! matchesJo...
140
java-test-7594
java
What can contain explicit expressions , which are compared after normalizing , or expressiontype specifiers like " ver " or " sub * " in upper case ?
the matching object
boolean sentence Match Expression ( final Expression other ) { final String match String = other . get Normalized ( ) ; if ( match String . contains ( JOKER ) ) { if ( match String . equals ( JOKER ) ) { if ( ! matches Joker String ( get Type String ( ) , other . get Type String ( ) ) ) { return BOOL ; } } else { if ( ...
boolean sentenceMatchExpression ( final Expression other ) { final String matchString = other . getNormalized ( ) ; if ( matchString . contains ( JOKER ) ) { if ( matchString . equals ( JOKER ) ) { if ( ! matchesJokerString ( getTypeString ( ) , other . getTypeString ( ) ) ) { return _BOOL ; } } else { if ( ! matchesJo...
140
java-test-7595
java
What are volumes set ?
emcsvisbound
private String is Volume Ingestable ( CIM Instance volume Instance , String is Bound , String usage Prop , String un Managed Volume Native Guid , Map < String , Set < String > > duplicate Sync Aspect Element Name Map ) { String usage = get CIM Property Value ( volume Instance , usage Prop ) ; if ( ! Boolean . value Of ...
private String isVolumeIngestable ( CIMInstance volumeInstance , String isBound , String usageProp , String unManagedVolumeNativeGuid , Map < String , Set < String > > duplicateSyncAspectElementNameMap ) { String usage = getCIMPropertyValue ( volumeInstance , usageProp ) ; if ( ! Boolean . valueOf ( isBound ) ) { retur...
281
java-test-7596
java
What have usage other than 2 . volumes which are set emcsvisbound as false ?
other volumes apart from replicas
private String is Volume Ingestable ( CIM Instance volume Instance , String is Bound , String usage Prop , String un Managed Volume Native Guid , Map < String , Set < String > > duplicate Sync Aspect Element Name Map ) { String usage = get CIM Property Value ( volume Instance , usage Prop ) ; if ( ! Boolean . value Of ...
private String isVolumeIngestable ( CIMInstance volumeInstance , String isBound , String usageProp , String unManagedVolumeNativeGuid , Map < String , Set < String > > duplicateSyncAspectElementNameMap ) { String usage = getCIMPropertyValue ( volumeInstance , usageProp ) ; if ( ! Boolean . valueOf ( isBound ) ) { retur...
281
java-test-7597
java
What did other volumes apart from replicas have ?
usage other than 2 . volumes which are set emcsvisbound as false
private String is Volume Ingestable ( CIM Instance volume Instance , String is Bound , String usage Prop , String un Managed Volume Native Guid , Map < String , Set < String > > duplicate Sync Aspect Element Name Map ) { String usage = get CIM Property Value ( volume Instance , usage Prop ) ; if ( ! Boolean . value Of ...
private String isVolumeIngestable ( CIMInstance volumeInstance , String isBound , String usageProp , String unManagedVolumeNativeGuid , Map < String , Set < String > > duplicateSyncAspectElementNameMap ) { String usage = getCIMPropertyValue ( volumeInstance , usageProp ) ; if ( ! Boolean . valueOf ( isBound ) ) { retur...
281
java-test-7598
java
What did one be ?
to ignore an event until a screen comes up that can handle it
public static void alert ( final GTG Event event , final boolean is On , final Object obj ) { int i ; synchronized ( event Listeners ) { if ( event . is On == is On && obj == null ) return ; event . is On = is On ; event . obj = obj ; local Event Listeners . clear ( ) ; local Event Listeners . add All ( event Listeners...
public static void alert ( final GTGEvent event , final boolean isOn , final Object obj ) { int i ; synchronized ( eventListeners ) { if ( event . isOn == isOn && obj == null ) return ; event . isOn = isOn ; event . obj = obj ; localEventListeners . clear ( ) ; localEventListeners . addAll ( eventListeners . keySet ( )...
174
java-test-7599
java
What can handle it ?
a screen
public static void alert ( final GTG Event event , final boolean is On , final Object obj ) { int i ; synchronized ( event Listeners ) { if ( event . is On == is On && obj == null ) return ; event . is On = is On ; event . obj = obj ; local Event Listeners . clear ( ) ; local Event Listeners . add All ( event Listeners...
public static void alert ( final GTGEvent event , final boolean isOn , final Object obj ) { int i ; synchronized ( eventListeners ) { if ( event . isOn == isOn && obj == null ) return ; event . isOn = isOn ; event . obj = obj ; localEventListeners . clear ( ) ; localEventListeners . addAll ( eventListeners . keySet ( )...
174
java-test-7600
java
What does the other be ?
to display a constant message to the user and not remove it until the condition is lifted ( such as for low free space )
public static void alert ( final GTG Event event , final boolean is On , final Object obj ) { int i ; synchronized ( event Listeners ) { if ( event . is On == is On && obj == null ) return ; event . is On = is On ; event . obj = obj ; local Event Listeners . clear ( ) ; local Event Listeners . add All ( event Listeners...
public static void alert ( final GTGEvent event , final boolean isOn , final Object obj ) { int i ; synchronized ( eventListeners ) { if ( event . isOn == isOn && obj == null ) return ; event . isOn = isOn ; event . obj = obj ; localEventListeners . clear ( ) ; localEventListeners . addAll ( eventListeners . keySet ( )...
174
java-test-7601
java
What is this used ?
to notify the application of a specific condition with the environment
public static void alert ( final GTG Event event , final boolean is On , final Object obj ) { int i ; synchronized ( event Listeners ) { if ( event . is On == is On && obj == null ) return ; event . is On = is On ; event . obj = obj ; local Event Listeners . clear ( ) ; local Event Listeners . add All ( event Listeners...
public static void alert ( final GTGEvent event , final boolean isOn , final Object obj ) { int i ; synchronized ( eventListeners ) { if ( event . isOn == isOn && obj == null ) return ; event . isOn = isOn ; event . obj = obj ; localEventListeners . clear ( ) ; localEventListeners . addAll ( eventListeners . keySet ( )...
174
java-test-7602
java
What does this test stress ?
these methods
public void test RW Bits ( ) { final int b Size = NUM << NUM ; final int [ ] bits = new int [ b Size ] ; final int nbits = b Size * NUM ; for ( int i = NUM ; i < nbits ; i ++ ) { final int b = RW Store . fnd Bit ( bits , b Size ) ; assert True ( b != - NUM ) ; assert False ( RW Store . tst Bit ( bits , b ) ) ; RW Store...
public void testRWBits ( ) { final int bSize = _NUM << _NUM ; final int [ ] bits = new int [ bSize ] ; final int nbits = bSize * _NUM ; for ( int i = _NUM ; i < nbits ; i ++ ) { final int b = RWStore . fndBit ( bits , bSize ) ; assertTrue ( b != - _NUM ) ; assertFalse ( RWStore . tstBit ( bits , b ) ) ; RWStore . setBi...
277
java-test-7603
java
What does the code add ?
new data entry
public boolean add Entry ( File file ) { if ( file == null ) { log . warning ( STRING ) ; return BOOL ; } if ( ! file . exists ( ) || file . is Directory ( ) || ! file . can Read ( ) ) { log . warning ( STRING + file + STRING + file . exists ( ) + STRING + file . is Directory ( ) ) ; return BOOL ; } log . fine ( STRING...
public boolean addEntry ( File file ) { if ( file == null ) { log . warning ( STRING ) ; return _BOOL ; } if ( ! file . exists ( ) || file . isDirectory ( ) || ! file . canRead ( ) ) { log . warning ( STRING + file + STRING + file . exists ( ) + STRING + file . isDirectory ( ) ) ; return _BOOL ; } log . fine ( STRING +...
314
java-test-7605
java
What does the code indicate ?
whether the given path belongs to a valid android ndk
@ Not Null public static Validation Result validate Android Ndk ( @ Nullable File ndk Path , boolean include Path In Message ) { if ( ndk Path != null ) { Wizard Utils . Validation Result wizard Validation Result = Wizard Utils . validate Location ( ndk Path . get Absolute Path ( ) , STRING , BOOL , Writable Check Mode...
@ NotNull public static ValidationResult validateAndroidNdk ( @ Nullable File ndkPath , boolean includePathInMessage ) { if ( ndkPath != null ) { WizardUtils . ValidationResult wizardValidationResult = WizardUtils . validateLocation ( ndkPath . getAbsolutePath ( ) , STRING , _BOOL , WritableCheckMode . DO_NOT_CHECK ) ;...
215
java-test-7606
java
For what purpose does the code create a new dagger objectgraph ?
to add new dependencies using a plus operation and inject the declared one in the activity
private void initialize Dependency Injector For Activity Scope Graph ( ) { Tuenti Tv Application app = ( Tuenti Tv Application ) get Application ( ) ; List modules = get Modules ( ) ; modules . add ( new Activity Module ( this ) ) ; activity Object Graph = app . plus ( modules ) ; activity Object Graph . inject ( this ...
private void initializeDependencyInjectorForActivityScopeGraph ( ) { TuentiTvApplication app = ( TuentiTvApplication ) getApplication ( ) ; List modules = getModules ( ) ; modules . add ( new ActivityModule ( this ) ) ; activityObjectGraph = app . plus ( modules ) ; activityObjectGraph . inject ( this ) ; }
68
java-test-7607
java
How do new dependencies add ?
using a plus operation
private void initialize Dependency Injector For Activity Scope Graph ( ) { Tuenti Tv Application app = ( Tuenti Tv Application ) get Application ( ) ; List modules = get Modules ( ) ; modules . add ( new Activity Module ( this ) ) ; activity Object Graph = app . plus ( modules ) ; activity Object Graph . inject ( this ...
private void initializeDependencyInjectorForActivityScopeGraph ( ) { TuentiTvApplication app = ( TuentiTvApplication ) getApplication ( ) ; List modules = getModules ( ) ; modules . add ( new ActivityModule ( this ) ) ; activityObjectGraph = app . plus ( modules ) ; activityObjectGraph . inject ( this ) ; }
68
java-test-7608
java
What does the code create to add new dependencies using a plus operation and inject the declared one in the activity ?
a new dagger objectgraph
private void initialize Dependency Injector For Activity Scope Graph ( ) { Tuenti Tv Application app = ( Tuenti Tv Application ) get Application ( ) ; List modules = get Modules ( ) ; modules . add ( new Activity Module ( this ) ) ; activity Object Graph = app . plus ( modules ) ; activity Object Graph . inject ( this ...
private void initializeDependencyInjectorForActivityScopeGraph ( ) { TuentiTvApplication app = ( TuentiTvApplication ) getApplication ( ) ; List modules = getModules ( ) ; modules . add ( new ActivityModule ( this ) ) ; activityObjectGraph = app . plus ( modules ) ; activityObjectGraph . inject ( this ) ; }
68
java-test-7609
java
When will this new graph be destroyed ?
once the activity lifecycle finish
private void initialize Dependency Injector For Activity Scope Graph ( ) { Tuenti Tv Application app = ( Tuenti Tv Application ) get Application ( ) ; List modules = get Modules ( ) ; modules . add ( new Activity Module ( this ) ) ; activity Object Graph = app . plus ( modules ) ; activity Object Graph . inject ( this ...
private void initializeDependencyInjectorForActivityScopeGraph ( ) { TuentiTvApplication app = ( TuentiTvApplication ) getApplication ( ) ; List modules = getModules ( ) ; modules . add ( new ActivityModule ( this ) ) ; activityObjectGraph = app . plus ( modules ) ; activityObjectGraph . inject ( this ) ; }
68
java-test-7610
java
Where does the code inject the declared one ?
in the activity
private void initialize Dependency Injector For Activity Scope Graph ( ) { Tuenti Tv Application app = ( Tuenti Tv Application ) get Application ( ) ; List modules = get Modules ( ) ; modules . add ( new Activity Module ( this ) ) ; activity Object Graph = app . plus ( modules ) ; activity Object Graph . inject ( this ...
private void initializeDependencyInjectorForActivityScopeGraph ( ) { TuentiTvApplication app = ( TuentiTvApplication ) getApplication ( ) ; List modules = getModules ( ) ; modules . add ( new ActivityModule ( this ) ) ; activityObjectGraph = app . plus ( modules ) ; activityObjectGraph . inject ( this ) ; }
68
java-test-7611
java
What does the code inject in the activity ?
the declared one
private void initialize Dependency Injector For Activity Scope Graph ( ) { Tuenti Tv Application app = ( Tuenti Tv Application ) get Application ( ) ; List modules = get Modules ( ) ; modules . add ( new Activity Module ( this ) ) ; activity Object Graph = app . plus ( modules ) ; activity Object Graph . inject ( this ...
private void initializeDependencyInjectorForActivityScopeGraph ( ) { TuentiTvApplication app = ( TuentiTvApplication ) getApplication ( ) ; List modules = getModules ( ) ; modules . add ( new ActivityModule ( this ) ) ; activityObjectGraph = app . plus ( modules ) ; activityObjectGraph . inject ( this ) ; }
68
java-test-7613
java
What does the code run ?
the server handling loop
public void run ( ) { Server Socket the Server = server ; if ( the Server == null ) return ; try { while ( BOOL ) { Socket socket = the Server . accept ( ) ; socket Pool . add Socket ( socket ) ; run Incoming Command Handler ( socket ) ; } } catch ( IO Exception e ) { if ( thread != null || server != null ) { Remote Co...
public void run ( ) { ServerSocket theServer = server ; if ( theServer == null ) return ; try { while ( _BOOL ) { Socket socket = theServer . accept ( ) ; socketPool . addSocket ( socket ) ; runIncomingCommandHandler ( socket ) ; } } catch ( IOException e ) { if ( thread != null || server != null ) { RemoteCommandPlugi...
111
java-test-7614
java
What does the code accept ?
all socket connections
public void run ( ) { Server Socket the Server = server ; if ( the Server == null ) return ; try { while ( BOOL ) { Socket socket = the Server . accept ( ) ; socket Pool . add Socket ( socket ) ; run Incoming Command Handler ( socket ) ; } } catch ( IO Exception e ) { if ( thread != null || server != null ) { Remote Co...
public void run ( ) { ServerSocket theServer = server ; if ( theServer == null ) return ; try { while ( _BOOL ) { Socket socket = theServer . accept ( ) ; socketPool . addSocket ( socket ) ; runIncomingCommandHandler ( socket ) ; } } catch ( IOException e ) { if ( thread != null || server != null ) { RemoteCommandPlugi...
111
java-test-7615
java
What d the code calculate for the given i d as the length is encoded in the i d ?
the number of data bytes
public long length ( byte [ ] id ) { Byte Buffer id Buffer = Byte Buffer . wrap ( id ) ; long length = NUM ; while ( id Buffer . has Remaining ( ) ) { switch ( id Buffer . get ( ) ) { case NUM : int len = Data Utils . read Var Int ( id Buffer ) ; id Buffer . position ( id Buffer . position ( ) + len ) ; length += len ;...
public long length ( byte [ ] id ) { ByteBuffer idBuffer = ByteBuffer . wrap ( id ) ; long length = _NUM ; while ( idBuffer . hasRemaining ( ) ) { switch ( idBuffer . get ( ) ) { case _NUM : int len = DataUtils . readVarInt ( idBuffer ) ; idBuffer . position ( idBuffer . position ( ) + len ) ; length += len ; break ; c...
173
java-test-7616
java
What does not all ipl - capable devices implement ?
a slave firmware revision number
public static final String extract Ipl Identity Slave Frimware Rev ( Loco Net Message m ) { String Builder s = new String Builder ( ) ; s . append ( Integer . to String ( ( m . get Element ( NUM ) & NUM ) > > NUM ) + ( ( m . get Element ( NUM ) & NUM ) << NUM ) ) ; s . append ( STRING ) ; s . append ( Integer . to Stri...
public static final String extractIplIdentitySlaveFrimwareRev ( LocoNetMessage m ) { StringBuilder s = new StringBuilder ( ) ; s . append ( Integer . toString ( ( m . getElement ( _NUM ) & _NUM ) > > _NUM ) + ( ( m . getElement ( _NUM ) & _NUM ) << _NUM ) ) ; s . append ( STRING ) ; s . append ( Integer . toString ( ( ...
108
java-test-7617
java
For what purpose does a double convert to a long ?
for bucketing purposes
protected static Long convert Double To Long ( Double in Double Value ) { if ( in Double Value == null ) { return null ; } if ( in Double Value > Long . MAX VALUE ) { return Long . MAX VALUE ; } if ( in Double Value < Long . MIN VALUE ) { return Long . MIN VALUE ; } Long out Long Value = Math . round ( in Double Value ...
protected static Long convertDoubleToLong ( Double inDoubleValue ) { if ( inDoubleValue == null ) { return null ; } if ( inDoubleValue > Long . MAX_VALUE ) { return Long . MAX_VALUE ; } if ( inDoubleValue < Long . MIN_VALUE ) { return Long . MIN_VALUE ; } Long outLongValue = Math . round ( inDoubleValue ) ; return outL...
85
java-test-7619
java
What describes a list ?
each map
@ Suppress Warnings ( STRING ) public List < Object > split By Lists ( String text , boolean recurse ) { List < Object > text List = new Array List < > ( ) ; String remain Text = text ; msg Handler . log Debug ( STRING + STRING + STRING ) ; while ( BOOL ) { Map < String , Object > list Info = find Parse Bullet List ( r...
@ SuppressWarnings ( STRING ) public List < Object > splitByLists ( String text , boolean recurse ) { List < Object > textList = new ArrayList < > ( ) ; String remainText = text ; msgHandler . logDebug ( STRING + STRING + STRING ) ; while ( _BOOL ) { Map < String , Object > listInfo = findParseBulletList ( remainText ,...
332
java-test-7620
java
How are the list elems passed if recurse while each map describes a list ?
through splitbymarkupelems
@ Suppress Warnings ( STRING ) public List < Object > split By Lists ( String text , boolean recurse ) { List < Object > text List = new Array List < > ( ) ; String remain Text = text ; msg Handler . log Debug ( STRING + STRING + STRING ) ; while ( BOOL ) { Map < String , Object > list Info = find Parse Bullet List ( r...
@ SuppressWarnings ( STRING ) public List < Object > splitByLists ( String text , boolean recurse ) { List < Object > textList = new ArrayList < > ( ) ; String remainText = text ; msgHandler . logDebug ( STRING + STRING + STRING ) ; while ( _BOOL ) { Map < String , Object > listInfo = findParseBulletList ( remainText ,...
332
java-test-7621
java
When are the list elems passed if recurse through splitbymarkupelems ?
while each map describes a list
@ Suppress Warnings ( STRING ) public List < Object > split By Lists ( String text , boolean recurse ) { List < Object > text List = new Array List < > ( ) ; String remain Text = text ; msg Handler . log Debug ( STRING + STRING + STRING ) ; while ( BOOL ) { Map < String , Object > list Info = find Parse Bullet List ( r...
@ SuppressWarnings ( STRING ) public List < Object > splitByLists ( String text , boolean recurse ) { List < Object > textList = new ArrayList < > ( ) ; String remainText = text ; msgHandler . logDebug ( STRING + STRING + STRING ) ; while ( _BOOL ) { Map < String , Object > listInfo = findParseBulletList ( remainText ,...
332
java-test-7623
java
What does the code check ?
the given string value for the specified condition
private final boolean check String ( String s , Condition condition ) { String value = condition . get Value ( ) ; assert ( value != null ) ; Filter Op op = condition . get Condition Type ( ) ; switch ( op ) { case NULL : { return ( s == null ) ; } case NOT NULL : { return ( s != null ) ; } } if ( s == null ) { return ...
private final boolean checkString ( String s , Condition condition ) { String value = condition . getValue ( ) ; assert ( value != null ) ; FilterOp op = condition . getConditionType ( ) ; switch ( op ) { case NULL : { return ( s == null ) ; } case NOT_NULL : { return ( s != null ) ; } } if ( s == null ) { return _BOOL...
185
java-test-7624
java
Where do an insert do ?
on every item
private void insert Batch ( ) { if ( index == NUM ) { return ; } Arrays . sort ( batch , NUM , index ) ; int start = NUM ; if ( samples . is Empty ( ) ) { samples . add ( new Sample Item ( batch [ NUM ] , NUM , NUM ) ) ; start ++ ; } final List Iterator < Sample Item > it = samples . list Iterator ( ) ; Sample Item pre...
private void insertBatch ( ) { if ( index == _NUM ) { return ; } Arrays . sort ( batch , _NUM , index ) ; int start = _NUM ; if ( samples . isEmpty ( ) ) { samples . add ( new SampleItem ( batch [ _NUM ] , _NUM , _NUM ) ) ; start ++ ; } final ListIterator < SampleItem > it = samples . listIterator ( ) ; SampleItem prev...
218
java-test-7625
java
What is doing on every item ?
an insert
private void insert Batch ( ) { if ( index == NUM ) { return ; } Arrays . sort ( batch , NUM , index ) ; int start = NUM ; if ( samples . is Empty ( ) ) { samples . add ( new Sample Item ( batch [ NUM ] , NUM , NUM ) ) ; start ++ ; } final List Iterator < Sample Item > it = samples . list Iterator ( ) ; Sample Item pre...
private void insertBatch ( ) { if ( index == _NUM ) { return ; } Arrays . sort ( batch , _NUM , index ) ; int start = _NUM ; if ( samples . isEmpty ( ) ) { samples . add ( new SampleItem ( batch [ _NUM ] , _NUM , _NUM ) ) ; start ++ ; } final ListIterator < SampleItem > it = samples . listIterator ( ) ; SampleItem prev...
218
java-test-7628
java
What does the code convert to a list of positions at zero elevation ?
a list of latlon
protected List < Position > as Position List ( Lat Lon ... locations ) { List < Position > positions = new Array List < Position > ( locations . length ) ; for ( Lat Lon loc : locations ) { positions . add ( new Position ( loc , NUM ) ) ; } return positions ; }
protected List < Position > asPositionList ( LatLon ... locations ) { List < Position > positions = new ArrayList < Position > ( locations . length ) ; for ( LatLon loc : locations ) { positions . add ( new Position ( loc , _NUM ) ) ; } return positions ; }
60
java-test-7629
java
What does the code find ?
the < jsp : body > subelement of the given parent node . if not found , null is returned
private Node . Jsp Body find Jsp Body ( Node parent ) throws Jasper Exception { Node . Jsp Body result = null ; Node . Nodes subelements = parent . get Body ( ) ; for ( int i = NUM ; ( subelements != null ) && ( i < subelements . size ( ) ) ; i ++ ) { Node n = subelements . get Node ( i ) ; if ( n instanceof Node . Jsp...
private Node . JspBody findJspBody ( Node parent ) throws JasperException { Node . JspBody result = null ; Node . Nodes subelements = parent . getBody ( ) ; for ( int i = _NUM ; ( subelements != null ) && ( i < subelements . size ( ) ) ; i ++ ) { Node n = subelements . getNode ( i ) ; if ( n instanceof Node . JspBody )...
102
java-test-7632
java
What does the code add to cache ?
thumbnail
private Bitmap add Thumbnail To Cache ( String image Key , Bitmap bitmap , String path , int px ) { Bitmap thumbnail = Thumbnail Utils . extract Thumbnail ( bitmap , px , px ) ; thumbnail = Bitmap Utils . rotate Image ( thumbnail , path ) ; add Bitmap To Cache ( image Key , thumbnail ) ; return thumbnail ; }
private Bitmap addThumbnailToCache ( String imageKey , Bitmap bitmap , String path , int px ) { Bitmap thumbnail = ThumbnailUtils . extractThumbnail ( bitmap , px , px ) ; thumbnail = BitmapUtils . rotateImage ( thumbnail , path ) ; addBitmapToCache ( imageKey , thumbnail ) ; return thumbnail ; }
65
java-test-7633
java
Where do the same behavior insure ?
in jdk 6
protected void pad Selected Tab ( int tab Placement , int selected Index ) { if ( selected Index >= NUM ) { Rectangle sel Rect = rects [ selected Index ] ; Insets pad Insets = get Selected Tab Pad Insets ( tab Placement ) ; sel Rect . x -= pad Insets . left ; sel Rect . width += ( pad Insets . left + pad Insets . right...
protected void padSelectedTab ( int tabPlacement , int selectedIndex ) { if ( selectedIndex >= _NUM ) { Rectangle selRect = rects [ selectedIndex ] ; Insets padInsets = getSelectedTabPadInsets ( tabPlacement ) ; selRect . x -= padInsets . left ; selRect . width += ( padInsets . left + padInsets . right ) ; selRect . y ...
103
java-test-7634
java
What insures in jdk 6 ?
the same behavior
protected void pad Selected Tab ( int tab Placement , int selected Index ) { if ( selected Index >= NUM ) { Rectangle sel Rect = rects [ selected Index ] ; Insets pad Insets = get Selected Tab Pad Insets ( tab Placement ) ; sel Rect . x -= pad Insets . left ; sel Rect . width += ( pad Insets . left + pad Insets . right...
protected void padSelectedTab ( int tabPlacement , int selectedIndex ) { if ( selectedIndex >= _NUM ) { Rectangle selRect = rects [ selectedIndex ] ; Insets padInsets = getSelectedTabPadInsets ( tabPlacement ) ; selRect . x -= padInsets . left ; selRect . width += ( padInsets . left + padInsets . right ) ; selRect . y ...
103
java-test-7635
java
For what purpose did maphandlerchild methods modify ?
to look for the dtedframecache and omdrawingtool
public void find And Init ( Object obj ) { if ( obj instanceof DTED Frame Cache ) { logger . fine ( STRING ) ; set DTED Frame Cache ( ( DTED Frame Cache ) obj ) ; } if ( obj instanceof OM Drawing Tool ) { logger . fine ( STRING ) ; set Drawing Tool ( ( OM Drawing Tool ) obj ) ; } }
public void findAndInit ( Object obj ) { if ( obj instanceof DTEDFrameCache ) { logger . fine ( STRING ) ; setDTEDFrameCache ( ( DTEDFrameCache ) obj ) ; } if ( obj instanceof OMDrawingTool ) { logger . fine ( STRING ) ; setDrawingTool ( ( OMDrawingTool ) obj ) ; } }
70
java-test-7636
java
What does this reset basically ?
the attrvals array
CSS Element ( String name ) { set Tag Id ( TAG CSS SELECTOR ) ; int index = name . index Of ( STRING ) ; String tag Name = name ; if ( index != - NUM ) { tag Name = name . substring ( NUM , index ) ; if ( HTML Component . PROCESS HTML MP 1 ONLY ) { set Tag Id ( TAG CSS ILLEGAL SELECTOR ) ; } else { while ( index != - N...
CSSElement ( String name ) { setTagId ( TAG_CSS_SELECTOR ) ; int index = name . indexOf ( STRING ) ; String tagName = name ; if ( index != - _NUM ) { tagName = name . substring ( _NUM , index ) ; if ( HTMLComponent . PROCESS_HTML_MP1_ONLY ) { setTagId ( TAG_CSS_ILLEGAL_SELECTOR ) ; } else { while ( index != - _NUM ) { ...
218
java-test-7642
java
How does the code handle a recently halted query ?
by throwing an appropriate exception
private void handle Done Query ( final UUID query Id , final Future < Void > done Query Future ) { try { done Query Future . get ( ) ; throw new Interrupted Exception ( ) ; } catch ( Interrupted Exception e ) { throw new Runtime Exception ( e ) ; } catch ( Execution Exception e ) { throw new Runtime Exception ( e ) ; }...
private void handleDoneQuery ( final UUID queryId , final Future < Void > doneQueryFuture ) { try { doneQueryFuture . get ( ) ; throw new InterruptedException ( ) ; } catch ( InterruptedException e ) { throw new RuntimeException ( e ) ; } catch ( ExecutionException e ) { throw new RuntimeException ( e ) ; } }
72
java-test-7643
java
What does the code handle by throwing an appropriate exception ?
a recently halted query
private void handle Done Query ( final UUID query Id , final Future < Void > done Query Future ) { try { done Query Future . get ( ) ; throw new Interrupted Exception ( ) ; } catch ( Interrupted Exception e ) { throw new Runtime Exception ( e ) ; } catch ( Execution Exception e ) { throw new Runtime Exception ( e ) ; }...
private void handleDoneQuery ( final UUID queryId , final Future < Void > doneQueryFuture ) { try { doneQueryFuture . get ( ) ; throw new InterruptedException ( ) ; } catch ( InterruptedException e ) { throw new RuntimeException ( e ) ; } catch ( ExecutionException e ) { throw new RuntimeException ( e ) ; } }
72
java-test-7644
java
What does the code draw into the graph ?
a horizontal span
public void hspan ( double start , double end , Paint color , String legend ) { Legend Text legend Text = new Legend Text ( color , legend ) ; comments . add ( legend Text ) ; plot Elements . add ( new H Span ( start , end , color , legend Text ) ) ; }
public void hspan ( double start , double end , Paint color , String legend ) { LegendText legendText = new LegendText ( color , legend ) ; comments . add ( legendText ) ; plotElements . add ( new HSpan ( start , end , color , legendText ) ) ; }
60
java-test-7645
java
What does a new instance support optionally ?
unicode sort keys
public static I Key Builder new Instance ( int capacity , Collator Enum collator Choice , Locale locale , Object strength , Decomposition Enum mode ) { if ( collator Choice == Collator Enum . ASCII ) { return new Key Builder ( capacity ) ; } if ( locale == null ) { locale = Locale . get Default ( ) ; if ( log . is Info...
public static IKeyBuilder newInstance ( int capacity , CollatorEnum collatorChoice , Locale locale , Object strength , DecompositionEnum mode ) { if ( collatorChoice == CollatorEnum . ASCII ) { return new KeyBuilder ( capacity ) ; } if ( locale == null ) { locale = Locale . getDefault ( ) ; if ( log . isInfoEnabled ( )...
227
java-test-7646
java
What does the code create ?
a new instance that optionally supports unicode sort keys
public static I Key Builder new Instance ( int capacity , Collator Enum collator Choice , Locale locale , Object strength , Decomposition Enum mode ) { if ( collator Choice == Collator Enum . ASCII ) { return new Key Builder ( capacity ) ; } if ( locale == null ) { locale = Locale . get Default ( ) ; if ( log . is Info...
public static IKeyBuilder newInstance ( int capacity , CollatorEnum collatorChoice , Locale locale , Object strength , DecompositionEnum mode ) { if ( collatorChoice == CollatorEnum . ASCII ) { return new KeyBuilder ( capacity ) ; } if ( locale == null ) { locale = Locale . getDefault ( ) ; if ( log . isInfoEnabled ( )...
227
java-test-7648
java
What does the code create ?
a hierarchy of directories ( a path ) in the designated temp dir
public static File create Temp Path ( String path ) throws IO Exception { String sep = File . separator ; File temp Dir = new File ( System . get Property ( STRING ) + sep + path ) ; if ( ! temp Dir . exists ( ) ) if ( ! temp Dir . mkdirs ( ) ) { boolean status = temp Dir . delete ( ) ; throw new IO Exception ( STRING ...
public static File createTempPath ( String path ) throws IOException { String sep = File . separator ; File tempDir = new File ( System . getProperty ( STRING ) + sep + path ) ; if ( ! tempDir . exists ( ) ) if ( ! tempDir . mkdirs ( ) ) { boolean status = tempDir . delete ( ) ; throw new IOException ( STRING + tempDir...
102
java-test-7649
java
What can contain information about the following attributes : * the font family - i . e . arial , times new roman etc . * the font size - in pixels ( i . e . 12 , 14 etc . ) * the font style - bold , italic or both ( no need to specify plain ) * the font tag assignments ?
the font key
public static void add Font ( String font Key , Font font ) { if ( font Key != null ) { font Key = font Key . to Lower Case ( ) ; } else { if ( font . get Charset ( ) != null ) { throw new Illegal Argument Exception ( STRING ) ; } } fonts . put ( font Key , new HTML Font ( font Key , font ) ) ; }
public static void addFont ( String fontKey , Font font ) { if ( fontKey != null ) { fontKey = fontKey . toLowerCase ( ) ; } else { if ( font . getCharset ( ) != null ) { throw new IllegalArgumentException ( STRING ) ; } } fonts . put ( fontKey , new HTMLFont ( fontKey , font ) ) ; }
79
java-test-7650
java
What reuses fonts when suitable ?
the rendering engine
public static void add Font ( String font Key , Font font ) { if ( font Key != null ) { font Key = font Key . to Lower Case ( ) ; } else { if ( font . get Charset ( ) != null ) { throw new Illegal Argument Exception ( STRING ) ; } } fonts . put ( font Key , new HTML Font ( font Key , font ) ) ; }
public static void addFont ( String fontKey , Font font ) { if ( fontKey != null ) { fontKey = fontKey . toLowerCase ( ) ; } else { if ( font . getCharset ( ) != null ) { throw new IllegalArgumentException ( STRING ) ; } } fonts . put ( fontKey , new HTMLFont ( fontKey , font ) ) ; }
79
java-test-7651
java
What do this mean ?
that arial . 12 . bold . italic . h3 is equivalent to italic . h3 . arial . bold .
public static void add Font ( String font Key , Font font ) { if ( font Key != null ) { font Key = font Key . to Lower Case ( ) ; } else { if ( font . get Charset ( ) != null ) { throw new Illegal Argument Exception ( STRING ) ; } } fonts . put ( font Key , new HTML Font ( font Key , font ) ) ; }
public static void addFont ( String fontKey , Font font ) { if ( fontKey != null ) { fontKey = fontKey . toLowerCase ( ) ; } else { if ( font . getCharset ( ) != null ) { throw new IllegalArgumentException ( STRING ) ; } } fonts . put ( fontKey , new HTMLFont ( fontKey , font ) ) ; }
79
java-test-7652
java
What does the code set ?
the given codename one font for use with htmlcomponents
public static void add Font ( String font Key , Font font ) { if ( font Key != null ) { font Key = font Key . to Lower Case ( ) ; } else { if ( font . get Charset ( ) != null ) { throw new Illegal Argument Exception ( STRING ) ; } } fonts . put ( font Key , new HTML Font ( font Key , font ) ) ; }
public static void addFont ( String fontKey , Font font ) { if ( fontKey != null ) { fontKey = fontKey . toLowerCase ( ) ; } else { if ( font . getCharset ( ) != null ) { throw new IllegalArgumentException ( STRING ) ; } } fonts . put ( fontKey , new HTMLFont ( fontKey , font ) ) ; }
79
java-test-7653
java
What can the font key contain ?
information about the following attributes : * the font family - i . e . arial , times new roman etc . * the font size - in pixels ( i . e . 12 , 14 etc . ) * the font style - bold , italic or both ( no need to specify plain ) * the font tag assignments
public static void add Font ( String font Key , Font font ) { if ( font Key != null ) { font Key = font Key . to Lower Case ( ) ; } else { if ( font . get Charset ( ) != null ) { throw new Illegal Argument Exception ( STRING ) ; } } fonts . put ( font Key , new HTML Font ( font Key , font ) ) ; }
public static void addFont ( String fontKey , Font font ) { if ( fontKey != null ) { fontKey = fontKey . toLowerCase ( ) ; } else { if ( font . getCharset ( ) != null ) { throw new IllegalArgumentException ( STRING ) ; } } fonts . put ( fontKey , new HTMLFont ( fontKey , font ) ) ; }
79
java-test-7654
java
What does you have ?
a 16px arial bold font which you want to use for h2
public static void add Font ( String font Key , Font font ) { if ( font Key != null ) { font Key = font Key . to Lower Case ( ) ; } else { if ( font . get Charset ( ) != null ) { throw new Illegal Argument Exception ( STRING ) ; } } fonts . put ( font Key , new HTML Font ( font Key , font ) ) ; }
public static void addFont ( String fontKey , Font font ) { if ( fontKey != null ) { fontKey = fontKey . toLowerCase ( ) ; } else { if ( font . getCharset ( ) != null ) { throw new IllegalArgumentException ( STRING ) ; } } fonts . put ( fontKey , new HTMLFont ( fontKey , font ) ) ; }
79
java-test-7655
java
What do you want ?
to use for h2
public static void add Font ( String font Key , Font font ) { if ( font Key != null ) { font Key = font Key . to Lower Case ( ) ; } else { if ( font . get Charset ( ) != null ) { throw new Illegal Argument Exception ( STRING ) ; } } fonts . put ( font Key , new HTML Font ( font Key , font ) ) ; }
public static void addFont ( String fontKey , Font font ) { if ( fontKey != null ) { fontKey = fontKey . toLowerCase ( ) ; } else { if ( font . getCharset ( ) != null ) { throw new IllegalArgumentException ( STRING ) ; } } fonts . put ( fontKey , new HTMLFont ( fontKey , font ) ) ; }
79
java-test-7656
java
What does the info help ?
the rendering engine to reuse fonts when suitable
public static void add Font ( String font Key , Font font ) { if ( font Key != null ) { font Key = font Key . to Lower Case ( ) ; } else { if ( font . get Charset ( ) != null ) { throw new Illegal Argument Exception ( STRING ) ; } } fonts . put ( font Key , new HTML Font ( font Key , font ) ) ; }
public static void addFont ( String fontKey , Font font ) { if ( fontKey != null ) { fontKey = fontKey . toLowerCase ( ) ; } else { if ( font . getCharset ( ) != null ) { throw new IllegalArgumentException ( STRING ) ; } } fonts . put ( fontKey , new HTMLFont ( fontKey , font ) ) ; }
79
java-test-7657
java
What did the bddp packets get ?
all the switches in the same openflow domain as the sw ( disabling tunnels )
protected void do Flood BDDP ( long pin Switch , OF Packet In pi , Floodlight Context cntx ) { Topology Instance ti = get Current Instance ( BOOL ) ; Set < Long > switches = ti . get Switches In Openflow Domain ( pin Switch ) ; if ( switches == null ) { switches = new Hash Set < Long > ( ) ; switches . add ( pin Switch...
protected void doFloodBDDP ( long pinSwitch , OFPacketIn pi , FloodlightContext cntx ) { TopologyInstance ti = getCurrentInstance ( _BOOL ) ; Set < Long > switches = ti . getSwitchesInOpenflowDomain ( pinSwitch ) ; if ( switches == null ) { switches = new HashSet < Long > ( ) ; switches . add ( pinSwitch ) ; } for ( lo...
317
java-test-7658
java
In which direction are the bddp packets forwarded ?
out of all the ports
protected void do Flood BDDP ( long pin Switch , OF Packet In pi , Floodlight Context cntx ) { Topology Instance ti = get Current Instance ( BOOL ) ; Set < Long > switches = ti . get Switches In Openflow Domain ( pin Switch ) ; if ( switches == null ) { switches = new Hash Set < Long > ( ) ; switches . add ( pin Switch...
protected void doFloodBDDP ( long pinSwitch , OFPacketIn pi , FloodlightContext cntx ) { TopologyInstance ti = getCurrentInstance ( _BOOL ) ; Set < Long > switches = ti . getSwitchesInOpenflowDomain ( pinSwitch ) ; if ( switches == null ) { switches = new HashSet < Long > ( ) ; switches . add ( pinSwitch ) ; } for ( lo...
317
java-test-7659
java
What do the bddp packets send out ?
these packets
protected void do Flood BDDP ( long pin Switch , OF Packet In pi , Floodlight Context cntx ) { Topology Instance ti = get Current Instance ( BOOL ) ; Set < Long > switches = ti . get Switches In Openflow Domain ( pin Switch ) ; if ( switches == null ) { switches = new Hash Set < Long > ( ) ; switches . add ( pin Switch...
protected void doFloodBDDP ( long pinSwitch , OFPacketIn pi , FloodlightContext cntx ) { TopologyInstance ti = getCurrentInstance ( _BOOL ) ; Set < Long > switches = ti . getSwitchesInOpenflowDomain ( pinSwitch ) ; if ( switches == null ) { switches = new HashSet < Long > ( ) ; switches . add ( pinSwitch ) ; } for ( lo...
317
java-test-7660
java
What do the bddp packets get then ?
all the external switch ports
protected void do Flood BDDP ( long pin Switch , OF Packet In pi , Floodlight Context cntx ) { Topology Instance ti = get Current Instance ( BOOL ) ; Set < Long > switches = ti . get Switches In Openflow Domain ( pin Switch ) ; if ( switches == null ) { switches = new Hash Set < Long > ( ) ; switches . add ( pin Switch...
protected void doFloodBDDP ( long pinSwitch , OFPacketIn pi , FloodlightContext cntx ) { TopologyInstance ti = getCurrentInstance ( _BOOL ) ; Set < Long > switches = ti . getSwitchesInOpenflowDomain ( pinSwitch ) ; if ( switches == null ) { switches = new HashSet < Long > ( ) ; switches . add ( pinSwitch ) ; } for ( lo...
317
java-test-7661
java
What do a ' null ' annnotationmirror and the empty set represent in that case ?
a meaningful value ( namely , no annotation )
public Set < ? extends Annotation Mirror > greatest Lower Bounds Type Variable ( Collection < ? extends Annotation Mirror > annos 1 , Collection < ? extends Annotation Mirror > annos 2 ) { Set < Annotation Mirror > result = Annotation Utils . create Annotation Set ( ) ; for ( Annotation Mirror top : get Top Annotations...
public Set < ? extends AnnotationMirror > greatestLowerBoundsTypeVariable ( Collection < ? extends AnnotationMirror > annos1 , Collection < ? extends AnnotationMirror > annos2 ) { Set < AnnotationMirror > result = AnnotationUtils . createAnnotationSet ( ) ; for ( AnnotationMirror top : getTopAnnotations ( ) ) { Annotat...
193
java-test-7662
java
What represent a meaningful value ( namely , no annotation ) in that case ?
a ' null ' annnotationmirror and the empty set
public Set < ? extends Annotation Mirror > greatest Lower Bounds Type Variable ( Collection < ? extends Annotation Mirror > annos 1 , Collection < ? extends Annotation Mirror > annos 2 ) { Set < Annotation Mirror > result = Annotation Utils . create Annotation Set ( ) ; for ( Annotation Mirror top : get Top Annotations...
public Set < ? extends AnnotationMirror > greatestLowerBoundsTypeVariable ( Collection < ? extends AnnotationMirror > annos1 , Collection < ? extends AnnotationMirror > annos2 ) { Set < AnnotationMirror > result = AnnotationUtils . createAnnotationSet ( ) ; for ( AnnotationMirror top : getTopAnnotations ( ) ) { Annotat...
193
java-test-7663
java
How did the code call for a properties file , used for reading tiles ?
with an input stream
protected void configure From Properties ( Input Stream is , String root Directory ) throws IO Exception { Properties props = new Properties ( ) ; props . load ( is ) ; props . put ( ROOT DIR PATH PROPERTY , root Directory ) ; String old Prefix = get Property Prefix ( ) ; set Properties ( null , props ) ; set Property ...
protected void configureFromProperties ( InputStream is , String rootDirectory ) throws IOException { Properties props = new Properties ( ) ; props . load ( is ) ; props . put ( ROOT_DIR_PATH_PROPERTY , rootDirectory ) ; String oldPrefix = getPropertyPrefix ( ) ; setProperties ( null , props ) ; setPropertyPrefix ( old...
73
java-test-7664
java
How must this connection be closed ?
by calling conn . close
Connection open New Connection ( ) throws SQL Exception { Connection new Conn = Driver Manager . get Connection ( url , user , password ) ; if ( url . starts With ( STRING ) ) { try ( Statement s = new Conn . create Statement ( ) ) { } } else if ( url . starts With ( STRING ) ) { try ( Statement s = new Conn . create S...
Connection openNewConnection ( ) throws SQLException { Connection newConn = DriverManager . getConnection ( url , user , password ) ; if ( url . startsWith ( STRING ) ) { try ( Statement s = newConn . createStatement ( ) ) { } } else if ( url . startsWith ( STRING ) ) { try ( Statement s = newConn . createStatement ( )...
94
java-test-7665
java
What does the code create ?
new form gotolinedialog
public Goto Line Dialog ( J Text Component text ) { super ( Action Utils . get Frame For ( text ) , BOOL ) ; init Components ( ) ; this . text = text ; set Location Relative To ( text . get Root Pane ( ) ) ; }
public GotoLineDialog ( JTextComponent text ) { super ( ActionUtils . getFrameFor ( text ) , _BOOL ) ; initComponents ( ) ; this . text = text ; setLocationRelativeTo ( text . getRootPane ( ) ) ; }
52
java-test-7669
java
What does the code remove from an attacking player ?
an used up missile
private static void use Missile ( Player player ) { Stackable Item projectiles Item = null ; if ( player . get Range Weapon ( ) != null ) { projectiles Item = player . get Ammunition ( ) ; } if ( projectiles Item == null ) { projectiles Item = player . get Missile If Not Holding Other Weapon ( ) ; } if ( projectiles It...
private static void useMissile ( Player player ) { StackableItem projectilesItem = null ; if ( player . getRangeWeapon ( ) != null ) { projectilesItem = player . getAmmunition ( ) ; } if ( projectilesItem == null ) { projectilesItem = player . getMissileIfNotHoldingOtherWeapon ( ) ; } if ( projectilesItem != null ) { p...
83
java-test-7681
java
What is required in a specific instance of this class ?
slightly different functionality
protected void update Annotations ( Annotation existing Annotation , Position new Pos , Map additions , List modifications , List deletions ) { if ( existing Annotation instanceof Folding Annotation ) { Folding Annotation folding Annotation = ( Folding Annotation ) existing Annotation ; if ( new Pos != null && new Pos ...
protected void updateAnnotations ( Annotation existingAnnotation , Position newPos , Map additions , List modifications , List deletions ) { if ( existingAnnotation instanceof FoldingAnnotation ) { FoldingAnnotation foldingAnnotation = ( FoldingAnnotation ) existingAnnotation ; if ( newPos != null && newPos . length > ...
140
java-test-7682
java
Where is slightly different functionality required ?
in a specific instance of this class
protected void update Annotations ( Annotation existing Annotation , Position new Pos , Map additions , List modifications , List deletions ) { if ( existing Annotation instanceof Folding Annotation ) { Folding Annotation folding Annotation = ( Folding Annotation ) existing Annotation ; if ( new Pos != null && new Pos ...
protected void updateAnnotations ( Annotation existingAnnotation , Position newPos , Map additions , List modifications , List deletions ) { if ( existingAnnotation instanceof FoldingAnnotation ) { FoldingAnnotation foldingAnnotation = ( FoldingAnnotation ) existingAnnotation ; if ( newPos != null && newPos . length > ...
140
java-test-7683
java
What does the code add to the list store ?
the property descriptor
private void add Property Descriptor ( Property Descriptor pd ) { String prop Name = pd . get Name ( ) ; List < Property Descriptor > list = pd Store . get ( prop Name ) ; if ( list == null ) { list = new Array List < > ( ) ; pd Store . put ( prop Name , list ) ; } if ( this . bean Class != pd . get Class 0 ( ) ) { Met...
private void addPropertyDescriptor ( PropertyDescriptor pd ) { String propName = pd . getName ( ) ; List < PropertyDescriptor > list = pdStore . get ( propName ) ; if ( list == null ) { list = new ArrayList < > ( ) ; pdStore . put ( propName , list ) ; } if ( this . beanClass != pd . getClass0 ( ) ) { Method read = pd ...
319
java-test-7685
java
What does the code write ?
the basis to an output stream
void encode ( Output Stream os , boolean include h ) throws IO Exception { int q = params . q ; os . write ( get Encoded ( f ) ) ; if ( params . basis Type == NTRU Signing Key Generation Parameters . BASIS TYPE STANDARD ) { Integer Polynomial f Prime Int = f Prime . to Integer Polynomial ( ) ; for ( int i = NUM ; i < f...
void encode ( OutputStream os , boolean include_h ) throws IOException { int q = params . q ; os . write ( getEncoded ( f ) ) ; if ( params . basisType == NTRUSigningKeyGenerationParameters . BASIS_TYPE_STANDARD ) { IntegerPolynomial fPrimeInt = fPrime . toIntegerPolynomial ( ) ; for ( int i = _NUM ; i < fPrimeInt . co...
153
java-test-7686
java
What does the code write on disk ?
one entry to the local i d map
private synchronized void put Map Entry ( String local Id , Map Entry entry ) { if ( ! is Local Id ( local Id ) ) { throw new Illegal State Exception ( STRING + local Id + STRING ) ; } JSON Object json = new JSON Object ( ) ; try { json . put ( STRING , entry . retain Count ) ; if ( entry . object Id != null ) { json ....
private synchronized void putMapEntry ( String localId , MapEntry entry ) { if ( ! isLocalId ( localId ) ) { throw new IllegalStateException ( STRING + localId + STRING ) ; } JSONObject json = new JSONObject ( ) ; try { json . put ( STRING , entry . retainCount ) ; if ( entry . objectId != null ) { json . put ( STRING ...
169
java-test-7687
java
For what purpose do a data point ( encapsulated in a chart event ) accept ?
to plot
@ Override public void accept Data Point ( Chart Event e ) { if ( e . get Reset ( ) ) { m x Count = NUM ; m max = NUM ; m min = NUM ; } if ( m output Frame != null ) { boolean refresh = BOOL ; if ( e . get Legend Text ( ) != null & e . get Legend Text ( ) != m legend Text ) { m legend Text = e . get Legend Text ( ) ; r...
@ Override public void acceptDataPoint ( ChartEvent e ) { if ( e . getReset ( ) ) { m_xCount = _NUM ; m_max = _NUM ; m_min = _NUM ; } if ( m_outputFrame != null ) { boolean refresh = _BOOL ; if ( e . getLegendText ( ) != null & e . getLegendText ( ) != m_legendText ) { m_legendText = e . getLegendText ( ) ; refresh = _...
207
java-test-7689
java
What does the code find discovering the storage volumes if required ?
the storage volumes identified by the passed native volume info
Map < Volume Info , V Plex Storage Volume Info > find Storage Volumes ( List < Volume Info > native Volume Info List , boolean discovery Required , List < V Plex Cluster Info > cluster Info List ) throws V Plex Api Exception { Map < Volume Info , V Plex Storage Volume Info > storage Volume Info Map = null ; V Plex Api ...
Map < VolumeInfo , VPlexStorageVolumeInfo > findStorageVolumes ( List < VolumeInfo > nativeVolumeInfoList , boolean discoveryRequired , List < VPlexClusterInfo > clusterInfoList ) throws VPlexApiException { Map < VolumeInfo , VPlexStorageVolumeInfo > storageVolumeInfoMap = null ; VPlexApiDiscoveryManager discoveryMgr =...
464
java-test-7690
java
What do the missing depends be ?
the reason can take sometime
@ Loop Processor Annotations ( loop Processor Annotations = { @ Loop Processor Annotation ( process Path = { I Modeling Element Definitions . CLASSES PROCESSOR , I Modeling Element Definitions . OPERATIONS PROCESSOR } ) , @ Loop Processor Annotation ( process Path = { I Modeling Element Definitions . INTERFACES PROCESS...
@ LoopProcessorAnnotations ( loopProcessorAnnotations = { @ LoopProcessorAnnotation ( processPath = { IModelingElementDefinitions . CLASSES_PROCESSOR , IModelingElementDefinitions . OPERATIONS_PROCESSOR } ) , @ LoopProcessorAnnotation ( processPath = { IModelingElementDefinitions . INTERFACES_PROCESSOR , IModelingEleme...
305
java-test-7691
java
Where do an important usability feature have ?
in our cpp transformation
@ Loop Processor Annotations ( loop Processor Annotations = { @ Loop Processor Annotation ( process Path = { I Modeling Element Definitions . CLASSES PROCESSOR , I Modeling Element Definitions . OPERATIONS PROCESSOR } ) , @ Loop Processor Annotation ( process Path = { I Modeling Element Definitions . INTERFACES PROCESS...
@ LoopProcessorAnnotations ( loopProcessorAnnotations = { @ LoopProcessorAnnotation ( processPath = { IModelingElementDefinitions . CLASSES_PROCESSOR , IModelingElementDefinitions . OPERATIONS_PROCESSOR } ) , @ LoopProcessorAnnotation ( processPath = { IModelingElementDefinitions . INTERFACES_PROCESSOR , IModelingEleme...
305
java-test-7692
java
What can they is find due to that missing depends in a language when the user forgets about adding the required depend ?
a massive number of errors in the generated code
@ Loop Processor Annotations ( loop Processor Annotations = { @ Loop Processor Annotation ( process Path = { I Modeling Element Definitions . CLASSES PROCESSOR , I Modeling Element Definitions . OPERATIONS PROCESSOR } ) , @ Loop Processor Annotation ( process Path = { I Modeling Element Definitions . INTERFACES PROCESS...
@ LoopProcessorAnnotations ( loopProcessorAnnotations = { @ LoopProcessorAnnotation ( processPath = { IModelingElementDefinitions . CLASSES_PROCESSOR , IModelingElementDefinitions . OPERATIONS_PROCESSOR } ) , @ LoopProcessorAnnotation ( processPath = { IModelingElementDefinitions . INTERFACES_PROCESSOR , IModelingEleme...
305
java-test-7693
java
Where can the reason take sometime ?
in a language such as java
@ Loop Processor Annotations ( loop Processor Annotations = { @ Loop Processor Annotation ( process Path = { I Modeling Element Definitions . CLASSES PROCESSOR , I Modeling Element Definitions . OPERATIONS PROCESSOR } ) , @ Loop Processor Annotation ( process Path = { I Modeling Element Definitions . INTERFACES PROCESS...
@ LoopProcessorAnnotations ( loopProcessorAnnotations = { @ LoopProcessorAnnotation ( processPath = { IModelingElementDefinitions . CLASSES_PROCESSOR , IModelingElementDefinitions . OPERATIONS_PROCESSOR } ) , @ LoopProcessorAnnotation ( processPath = { IModelingElementDefinitions . INTERFACES_PROCESSOR , IModelingEleme...
305
java-test-7694
java
What do the user add for their code for their code ?
depend " statement
@ Loop Processor Annotations ( loop Processor Annotations = { @ Loop Processor Annotation ( process Path = { I Modeling Element Definitions . CLASSES PROCESSOR , I Modeling Element Definitions . OPERATIONS PROCESSOR } ) , @ Loop Processor Annotation ( process Path = { I Modeling Element Definitions . INTERFACES PROCESS...
@ LoopProcessorAnnotations ( loopProcessorAnnotations = { @ LoopProcessorAnnotation ( processPath = { IModelingElementDefinitions . CLASSES_PROCESSOR , IModelingElementDefinitions . OPERATIONS_PROCESSOR } ) , @ LoopProcessorAnnotation ( processPath = { IModelingElementDefinitions . INTERFACES_PROCESSOR , IModelingEleme...
305
java-test-7695
java
Why can they is find a massive number of errors in the generated code in a language when the user forgets about adding the required depend ?
due to that missing depends
@ Loop Processor Annotations ( loop Processor Annotations = { @ Loop Processor Annotation ( process Path = { I Modeling Element Definitions . CLASSES PROCESSOR , I Modeling Element Definitions . OPERATIONS PROCESSOR } ) , @ Loop Processor Annotation ( process Path = { I Modeling Element Definitions . INTERFACES PROCESS...
@ LoopProcessorAnnotations ( loopProcessorAnnotations = { @ LoopProcessorAnnotation ( processPath = { IModelingElementDefinitions . CLASSES_PROCESSOR , IModelingElementDefinitions . OPERATIONS_PROCESSOR } ) , @ LoopProcessorAnnotation ( processPath = { IModelingElementDefinitions . INTERFACES_PROCESSOR , IModelingEleme...
305
java-test-7696
java
What is the reason can take sometime ?
the missing depends
@ Loop Processor Annotations ( loop Processor Annotations = { @ Loop Processor Annotation ( process Path = { I Modeling Element Definitions . CLASSES PROCESSOR , I Modeling Element Definitions . OPERATIONS PROCESSOR } ) , @ Loop Processor Annotation ( process Path = { I Modeling Element Definitions . INTERFACES PROCESS...
@ LoopProcessorAnnotations ( loopProcessorAnnotations = { @ LoopProcessorAnnotation ( processPath = { IModelingElementDefinitions . CLASSES_PROCESSOR , IModelingElementDefinitions . OPERATIONS_PROCESSOR } ) , @ LoopProcessorAnnotation ( processPath = { IModelingElementDefinitions . INTERFACES_PROCESSOR , IModelingEleme...
305
java-test-7697
java
Where can they is find a massive number of errors in the generated code due to that missing depends when the user forgets about adding the required depend ?
in a language
@ Loop Processor Annotations ( loop Processor Annotations = { @ Loop Processor Annotation ( process Path = { I Modeling Element Definitions . CLASSES PROCESSOR , I Modeling Element Definitions . OPERATIONS PROCESSOR } ) , @ Loop Processor Annotation ( process Path = { I Modeling Element Definitions . INTERFACES PROCESS...
@ LoopProcessorAnnotations ( loopProcessorAnnotations = { @ LoopProcessorAnnotation ( processPath = { IModelingElementDefinitions . CLASSES_PROCESSOR , IModelingElementDefinitions . OPERATIONS_PROCESSOR } ) , @ LoopProcessorAnnotation ( processPath = { IModelingElementDefinitions . INTERFACES_PROCESSOR , IModelingEleme...
305
java-test-7698
java
What haves in our cpp transformation ?
an important usability feature
@ Loop Processor Annotations ( loop Processor Annotations = { @ Loop Processor Annotation ( process Path = { I Modeling Element Definitions . CLASSES PROCESSOR , I Modeling Element Definitions . OPERATIONS PROCESSOR } ) , @ Loop Processor Annotation ( process Path = { I Modeling Element Definitions . INTERFACES PROCESS...
@ LoopProcessorAnnotations ( loopProcessorAnnotations = { @ LoopProcessorAnnotation ( processPath = { IModelingElementDefinitions . CLASSES_PROCESSOR , IModelingElementDefinitions . OPERATIONS_PROCESSOR } ) , @ LoopProcessorAnnotation ( processPath = { IModelingElementDefinitions . INTERFACES_PROCESSOR , IModelingEleme...
305
java-test-7699
java
What is asking the user ?
to add " depend " statement for their code in each used parameter
@ Loop Processor Annotations ( loop Processor Annotations = { @ Loop Processor Annotation ( process Path = { I Modeling Element Definitions . CLASSES PROCESSOR , I Modeling Element Definitions . OPERATIONS PROCESSOR } ) , @ Loop Processor Annotation ( process Path = { I Modeling Element Definitions . INTERFACES PROCESS...
@ LoopProcessorAnnotations ( loopProcessorAnnotations = { @ LoopProcessorAnnotation ( processPath = { IModelingElementDefinitions . CLASSES_PROCESSOR , IModelingElementDefinitions . OPERATIONS_PROCESSOR } ) , @ LoopProcessorAnnotation ( processPath = { IModelingElementDefinitions . INTERFACES_PROCESSOR , IModelingEleme...
305
java-test-7700
java
When can they is find a massive number of errors in the generated code due to that missing depends in a language ?
when the user forgets about adding the required depend
@ Loop Processor Annotations ( loop Processor Annotations = { @ Loop Processor Annotation ( process Path = { I Modeling Element Definitions . CLASSES PROCESSOR , I Modeling Element Definitions . OPERATIONS PROCESSOR } ) , @ Loop Processor Annotation ( process Path = { I Modeling Element Definitions . INTERFACES PROCESS...
@ LoopProcessorAnnotations ( loopProcessorAnnotations = { @ LoopProcessorAnnotation ( processPath = { IModelingElementDefinitions . CLASSES_PROCESSOR , IModelingElementDefinitions . OPERATIONS_PROCESSOR } ) , @ LoopProcessorAnnotation ( processPath = { IModelingElementDefinitions . INTERFACES_PROCESSOR , IModelingEleme...
305
java-test-7701
java
Where be it be a nightmare even ?
in many cases
@ Loop Processor Annotations ( loop Processor Annotations = { @ Loop Processor Annotation ( process Path = { I Modeling Element Definitions . CLASSES PROCESSOR , I Modeling Element Definitions . OPERATIONS PROCESSOR } ) , @ Loop Processor Annotation ( process Path = { I Modeling Element Definitions . INTERFACES PROCESS...
@ LoopProcessorAnnotations ( loopProcessorAnnotations = { @ LoopProcessorAnnotation ( processPath = { IModelingElementDefinitions . CLASSES_PROCESSOR , IModelingElementDefinitions . OPERATIONS_PROCESSOR } ) , @ LoopProcessorAnnotation ( processPath = { IModelingElementDefinitions . INTERFACES_PROCESSOR , IModelingEleme...
305
java-test-7702
java
For what purpose does the code get the database specific sql command ?
to find columns which have translations
public String sql AD get Translated Columns ( String vendor Name , String catalog Name , String schema Name ) { String search Table Name = STRING ; Array List < String > column Names = new Array List < String > ( ) ; column Names . add ( STRING ) ; Array List < String > alias Names = null ; Array List < String > join T...
public String sqlAD_getTranslatedColumns ( String vendorName , String catalogName , String schemaName ) { String searchTableName = STRING ; ArrayList < String > columnNames = new ArrayList < String > ( ) ; columnNames . add ( STRING ) ; ArrayList < String > aliasNames = null ; ArrayList < String > joinTypes = new Array...
245
java-test-7704
java
What does the code compute ?
the angular distance of the great circle path between this location and a specified location
public double great Circle Distance ( Location location ) { if ( location == null ) { throw new Illegal Argument Exception ( Logger . log Message ( Logger . ERROR , STRING , STRING , STRING ) ) ; } double lat 1 Radians = Math . to Radians ( this . latitude ) ; double lon 1 Radians = Math . to Radians ( this . longitude...
public double greatCircleDistance ( Location location ) { if ( location == null ) { throw new IllegalArgumentException ( Logger . logMessage ( Logger . ERROR , STRING , STRING , STRING ) ) ; } double lat1Radians = Math . toRadians ( this . latitude ) ; double lon1Radians = Math . toRadians ( this . longitude ) ; double...
228
java-test-7705
java
What constrains to the horizontal regions of the text that will be visible after scrolling to the specified y position ?
the x scrolling position
public static void scroll To ( Text View widget , Layout layout , int x , int y ) { final int horizontal Padding = widget . get Total Padding Left ( ) + widget . get Total Padding Right ( ) ; final int available Width = widget . get Width ( ) - horizontal Padding ; final int top = layout . get Line For Vertical ( y ) ;...
public static void scrollTo ( TextView widget , Layout layout , int x , int y ) { final int horizontalPadding = widget . getTotalPaddingLeft ( ) + widget . getTotalPaddingRight ( ) ; final int availableWidth = widget . getWidth ( ) - horizontalPadding ; final int top = layout . getLineForVertical ( y ) ; Layout . Align...
398
java-test-7706
java
When be the horizontal regions of the text be visible ?
after scrolling to the specified y position
public static void scroll To ( Text View widget , Layout layout , int x , int y ) { final int horizontal Padding = widget . get Total Padding Left ( ) + widget . get Total Padding Right ( ) ; final int available Width = widget . get Width ( ) - horizontal Padding ; final int top = layout . get Line For Vertical ( y ) ;...
public static void scrollTo ( TextView widget , Layout layout , int x , int y ) { final int horizontalPadding = widget . getTotalPaddingLeft ( ) + widget . getTotalPaddingRight ( ) ; final int availableWidth = widget . getWidth ( ) - horizontalPadding ; final int top = layout . getLineForVertical ( y ) ; Layout . Align...
398
java-test-7707
java
What does the x scrolling position constrain ?
to the horizontal regions of the text that will be visible after scrolling to the specified y position
public static void scroll To ( Text View widget , Layout layout , int x , int y ) { final int horizontal Padding = widget . get Total Padding Left ( ) + widget . get Total Padding Right ( ) ; final int available Width = widget . get Width ( ) - horizontal Padding ; final int top = layout . get Line For Vertical ( y ) ;...
public static void scrollTo ( TextView widget , Layout layout , int x , int y ) { final int horizontalPadding = widget . getTotalPaddingLeft ( ) + widget . getTotalPaddingRight ( ) ; final int availableWidth = widget . getWidth ( ) - horizontalPadding ; final int top = layout . getLineForVertical ( y ) ; Layout . Align...
398
java-test-7713
java
What does the code add to the result set ?
a callback method found in an xml file
private void add Callback Method ( String layout File , String callback ) { add To Map Set ( callback Methods , layout File , callback ) ; if ( include Dependencies . contains Key ( layout File ) ) for ( String target : include Dependencies . get ( layout File ) ) add Callback Method ( target , callback ) ; }
private void addCallbackMethod ( String layoutFile , String callback ) { addToMapSet ( callbackMethods , layoutFile , callback ) ; if ( includeDependencies . containsKey ( layoutFile ) ) for ( String target : includeDependencies . get ( layoutFile ) ) addCallbackMethod ( target , callback ) ; }
64
java-test-7714
java
Where did a callback method find ?
in an xml file
private void add Callback Method ( String layout File , String callback ) { add To Map Set ( callback Methods , layout File , callback ) ; if ( include Dependencies . contains Key ( layout File ) ) for ( String target : include Dependencies . get ( layout File ) ) add Callback Method ( target , callback ) ; }
private void addCallbackMethod ( String layoutFile , String callback ) { addToMapSet ( callbackMethods , layoutFile , callback ) ; if ( includeDependencies . containsKey ( layoutFile ) ) for ( String target : includeDependencies . get ( layoutFile ) ) addCallbackMethod ( target , callback ) ; }
64
java-test-7715
java
What switchs to 0 ?
a 0 to 1 or 1
public final double do Operation ( ) { final int dim = parameter . get Dimension ( ) ; double sum = NUM ; if ( uses Prior On Sum ) { for ( int i = NUM ; i < dim ; i ++ ) { sum += Math . abs ( parameter . get Parameter Value ( i ) ) ; } } final int pos = Math Utils . next Int ( dim ) ; final int value = ( int ) paramete...
public final double doOperation ( ) { final int dim = parameter . getDimension ( ) ; double sum = _NUM ; if ( usesPriorOnSum ) { for ( int i = _NUM ; i < dim ; i ++ ) { sum += Math . abs ( parameter . getParameterValue ( i ) ) ; } } final int pos = MathUtils . nextInt ( dim ) ; final int value = ( int ) parameter . get...
204
java-test-7716
java
What makes all subsets of vectors with the same number of 1 bits equiprobable ?
the hastings ratio
public final double do Operation ( ) { final int dim = parameter . get Dimension ( ) ; double sum = NUM ; if ( uses Prior On Sum ) { for ( int i = NUM ; i < dim ; i ++ ) { sum += Math . abs ( parameter . get Parameter Value ( i ) ) ; } } final int pos = Math Utils . next Int ( dim ) ; final int value = ( int ) paramete...
public final double doOperation ( ) { final int dim = parameter . getDimension ( ) ; double sum = _NUM ; if ( usesPriorOnSum ) { for ( int i = _NUM ; i < dim ; i ++ ) { sum += Math . abs ( parameter . getParameterValue ( i ) ) ; } } final int pos = MathUtils . nextInt ( dim ) ; final int value = ( int ) parameter . get...
204
java-test-7717
java
What does the hastings ratio make ?
all subsets of vectors with the same number of 1 bits equiprobable
public final double do Operation ( ) { final int dim = parameter . get Dimension ( ) ; double sum = NUM ; if ( uses Prior On Sum ) { for ( int i = NUM ; i < dim ; i ++ ) { sum += Math . abs ( parameter . get Parameter Value ( i ) ) ; } } final int pos = Math Utils . next Int ( dim ) ; final int value = ( int ) paramete...
public final double doOperation ( ) { final int dim = parameter . getDimension ( ) ; double sum = _NUM ; if ( usesPriorOnSum ) { for ( int i = _NUM ; i < dim ; i ++ ) { sum += Math . abs ( parameter . getParameterValue ( i ) ) ; } } final int pos = MathUtils . nextInt ( dim ) ; final int value = ( int ) parameter . get...
204
java-test-7718
java
What does the code create ?
a script from a new database
private static void create Script ( ) throws Exception { Class . for Name ( STRING ) ; Connection conn = Driver Manager . get Connection ( STRING ) ; Statement stat = conn . create Statement ( ) ; stat . execute ( STRING ) ; stat . execute ( STRING ) ; stat . execute ( STRING ) ; stat . close ( ) ; conn . close ( ) ; }
private static void createScript ( ) throws Exception { Class . forName ( STRING ) ; Connection conn = DriverManager . getConnection ( STRING ) ; Statement stat = conn . createStatement ( ) ; stat . execute ( STRING ) ; stat . execute ( STRING ) ; stat . execute ( STRING ) ; stat . close ( ) ; conn . close ( ) ; }
74
java-test-7719
java
What shows the bit of index 0 at the leftmost position ?
this string representation
public String to String ( ) { final String Buffer s = new String Buffer ( ) ; final int size = size ( ) ; for ( int i = NUM ; i < size ; i ++ ) s . append ( get Int ( i ) ) ; return s . to String ( ) ; }
public String toString ( ) { final StringBuffer s = new StringBuffer ( ) ; final int size = size ( ) ; for ( int i = _NUM ; i < size ; i ++ ) s . append ( getInt ( i ) ) ; return s . toString ( ) ; }
60
java-test-7720
java
Where does this string representation show the bit of index 0 ?
at the leftmost position
public String to String ( ) { final String Buffer s = new String Buffer ( ) ; final int size = size ( ) ; for ( int i = NUM ; i < size ; i ++ ) s . append ( get Int ( i ) ) ; return s . to String ( ) ; }
public String toString ( ) { final StringBuffer s = new StringBuffer ( ) ; final int size = size ( ) ; for ( int i = _NUM ; i < size ; i ++ ) s . append ( getInt ( i ) ) ; return s . toString ( ) ; }
60
java-test-7721
java
What does this string representation show at the leftmost position ?
the bit of index 0
public String to String ( ) { final String Buffer s = new String Buffer ( ) ; final int size = size ( ) ; for ( int i = NUM ; i < size ; i ++ ) s . append ( get Int ( i ) ) ; return s . to String ( ) ; }
public String toString ( ) { final StringBuffer s = new StringBuffer ( ) ; final int size = size ( ) ; for ( int i = _NUM ; i < size ; i ++ ) s . append ( getInt ( i ) ) ; return s . toString ( ) ; }
60
java-test-7722
java
Where does the value exist ?
in an arraylist of certain key
private boolean array Key Value Exists ( String key , String value ) { if ( visited Post . contains Key ( key ) ) { for ( String s : visited Post . get ( key ) ) { if ( s . equals ( value ) ) { return BOOL ; } } } return BOOL ; }
private boolean arrayKeyValueExists ( String key , String value ) { if ( visitedPost . containsKey ( key ) ) { for ( String s : visitedPost . get ( key ) ) { if ( s . equals ( value ) ) { return _BOOL ; } } } return _BOOL ; }
60
java-test-7724
java
What does the code validate within a specific component ?
the uri characters
protected boolean validate ( final char [ ] component , final int soffset , int eoffset , final Bit Set generous ) { if ( eoffset == - NUM ) { eoffset = component . length - NUM ; } for ( int i = soffset ; i <= eoffset ; i ++ ) { if ( ! generous . get ( component [ i ] ) ) { return BOOL ; } } return BOOL ; }
protected boolean validate ( final char [ ] component , final int soffset , int eoffset , final BitSet generous ) { if ( eoffset == - _NUM ) { eoffset = component . length - _NUM ; } for ( int i = soffset ; i <= eoffset ; i ++ ) { if ( ! generous . get ( component [ i ] ) ) { return _BOOL ; } } return _BOOL ; }
78
java-test-7725
java
When might the strict validation be performed ?
before being called this method
protected boolean validate ( final char [ ] component , final int soffset , int eoffset , final Bit Set generous ) { if ( eoffset == - NUM ) { eoffset = component . length - NUM ; } for ( int i = soffset ; i <= eoffset ; i ++ ) { if ( ! generous . get ( component [ i ] ) ) { return BOOL ; } } return BOOL ; }
protected boolean validate ( final char [ ] component , final int soffset , int eoffset , final BitSet generous ) { if ( eoffset == - _NUM ) { eoffset = component . length - _NUM ; } for ( int i = soffset ; i <= eoffset ; i ++ ) { if ( ! generous . get ( component [ i ] ) ) { return _BOOL ; } } return _BOOL ; }
78
java-test-7726
java
When must the component be performed ?
after escape encoding
protected boolean validate ( final char [ ] component , final int soffset , int eoffset , final Bit Set generous ) { if ( eoffset == - NUM ) { eoffset = component . length - NUM ; } for ( int i = soffset ; i <= eoffset ; i ++ ) { if ( ! generous . get ( component [ i ] ) ) { return BOOL ; } } return BOOL ; }
protected boolean validate ( final char [ ] component , final int soffset , int eoffset , final BitSet generous ) { if ( eoffset == - _NUM ) { eoffset = component . length - _NUM ; } for ( int i = soffset ; i <= eoffset ; i ++ ) { if ( ! generous . get ( component [ i ] ) ) { return _BOOL ; } } return _BOOL ; }
78