id
stringlengths
11
15
language
stringclasses
1 value
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-1293
java
What contain it ?
all categories
public void deregister Service Provider ( Object provider ) { if ( provider == null ) { throw new Illegal Argument Exception ( STRING ) ; } Iterator regs = get Sub Registries ( provider ) ; while ( regs . has Next ( ) ) { Sub Registry reg = ( Sub Registry ) regs . next ( ) ; reg . deregister Service Provider ( provider...
public void deregisterServiceProvider ( Object provider ) { if ( provider == null ) { throw new IllegalArgumentException ( STRING ) ; } Iterator regs = getSubRegistries ( provider ) ; while ( regs . hasNext ( ) ) { SubRegistry reg = ( SubRegistry ) regs . next ( ) ; reg . deregisterServiceProvider ( provider ) ; } }
72
java-test-1294
java
What does the code remove from all categories that contain it ?
a service provider object
public void deregister Service Provider ( Object provider ) { if ( provider == null ) { throw new Illegal Argument Exception ( STRING ) ; } Iterator regs = get Sub Registries ( provider ) ; while ( regs . has Next ( ) ) { Sub Registry reg = ( Sub Registry ) regs . next ( ) ; reg . deregister Service Provider ( provider...
public void deregisterServiceProvider ( Object provider ) { if ( provider == null ) { throw new IllegalArgumentException ( STRING ) ; } Iterator regs = getSubRegistries ( provider ) ; while ( regs . hasNext ( ) ) { SubRegistry reg = ( SubRegistry ) regs . next ( ) ; reg . deregisterServiceProvider ( provider ) ; } }
72
java-test-1295
java
When be this be some html containing an " a " element with the " href " attribute linking to the to the pdf ?
br / > < br / >
private static String read Text Date ( final Reader r ) throws IO Exception { final Buffered Reader br = new Buffered Reader ( r ) ; String Builder text Data = new String Builder ( ) ; String line = br . read Line ( ) ; while ( line != null ) { text Data . append ( line ) ; line = br . read Line ( ) ; } br . close ( ) ...
private static String readTextDate ( final Reader r ) throws IOException { final BufferedReader br = new BufferedReader ( r ) ; StringBuilder textData = new StringBuilder ( ) ; String line = br . readLine ( ) ; while ( line != null ) { textData . append ( line ) ; line = br . readLine ( ) ; } br . close ( ) ; return te...
89
java-test-1296
java
What is containing an " a " element with the " href " attribute linking to the to the pdf ?
some html
private static String read Text Date ( final Reader r ) throws IO Exception { final Buffered Reader br = new Buffered Reader ( r ) ; String Builder text Data = new String Builder ( ) ; String line = br . read Line ( ) ; while ( line != null ) { text Data . append ( line ) ; line = br . read Line ( ) ; } br . close ( ) ...
private static String readTextDate ( final Reader r ) throws IOException { final BufferedReader br = new BufferedReader ( r ) ; StringBuilder textData = new StringBuilder ( ) ; String line = br . readLine ( ) ; while ( line != null ) { textData . append ( line ) ; line = br . readLine ( ) ; } br . close ( ) ; return te...
89
java-test-1297
java
What do some html contain ?
an " a " element with the " href " attribute linking to the to the pdf
private static String read Text Date ( final Reader r ) throws IO Exception { final Buffered Reader br = new Buffered Reader ( r ) ; String Builder text Data = new String Builder ( ) ; String line = br . read Line ( ) ; while ( line != null ) { text Data . append ( line ) ; line = br . read Line ( ) ; } br . close ( ) ...
private static String readTextDate ( final Reader r ) throws IOException { final BufferedReader br = new BufferedReader ( r ) ; StringBuilder textData = new StringBuilder ( ) ; String line = br . readLine ( ) ; while ( line != null ) { textData . append ( line ) ; line = br . readLine ( ) ; } br . close ( ) ; return te...
89
java-test-1298
java
Where does a fixed rate cash flow vector , equivalent to the input vector , have the required npv according to the given term structure ?
the fixed rate
public double atm Rate ( final Leg leg , final Handle < Yield Term Structure > discount Curve , final Date settlement Date , final Date npv Date , final int ex Dividend Days , double npv ) { final double bps = bps ( leg , discount Curve , settlement Date , npv Date , ex Dividend Days ) ; if ( npv == NUM ) { npv = npv (...
public double atmRate ( final Leg leg , final Handle < YieldTermStructure > discountCurve , final Date settlementDate , final Date npvDate , final int exDividendDays , double npv ) { final double bps = bps ( leg , discountCurve , settlementDate , npvDate , exDividendDays ) ; if ( npv == _NUM ) { npv = npv ( leg , disco...
98
java-test-1299
java
How does a fixed rate cash flow vector , equivalent to the input vector , have the required npv the fixed rate ?
according to the given term structure
public double atm Rate ( final Leg leg , final Handle < Yield Term Structure > discount Curve , final Date settlement Date , final Date npv Date , final int ex Dividend Days , double npv ) { final double bps = bps ( leg , discount Curve , settlement Date , npv Date , ex Dividend Days ) ; if ( npv == NUM ) { npv = npv (...
public double atmRate ( final Leg leg , final Handle < YieldTermStructure > discountCurve , final Date settlementDate , final Date npvDate , final int exDividendDays , double npv ) { final double bps = bps ( leg , discountCurve , settlementDate , npvDate , exDividendDays ) ; if ( npv == _NUM ) { npv = npv ( leg , disco...
98
java-test-1300
java
What does a fixed rate cash flow vector , equivalent to the input vector , have the fixed rate according to the given term structure ?
the required npv
public double atm Rate ( final Leg leg , final Handle < Yield Term Structure > discount Curve , final Date settlement Date , final Date npv Date , final int ex Dividend Days , double npv ) { final double bps = bps ( leg , discount Curve , settlement Date , npv Date , ex Dividend Days ) ; if ( npv == NUM ) { npv = npv (...
public double atmRate ( final Leg leg , final Handle < YieldTermStructure > discountCurve , final Date settlementDate , final Date npvDate , final int exDividendDays , double npv ) { final double bps = bps ( leg , discountCurve , settlementDate , npvDate , exDividendDays ) ; if ( npv == _NUM ) { npv = npv ( leg , disco...
98
java-test-1301
java
Where does the result be the fixed rate for which a fixed rate cash flow vector , equivalent to the input vector , has the required npv according to the given term structure ?
at -
public double atm Rate ( final Leg leg , final Handle < Yield Term Structure > discount Curve , final Date settlement Date , final Date npv Date , final int ex Dividend Days , double npv ) { final double bps = bps ( leg , discount Curve , settlement Date , npv Date , ex Dividend Days ) ; if ( npv == NUM ) { npv = npv (...
public double atmRate ( final Leg leg , final Handle < YieldTermStructure > discountCurve , final Date settlementDate , final Date npvDate , final int exDividendDays , double npv ) { final double bps = bps ( leg , discountCurve , settlementDate , npvDate , exDividendDays ) ; if ( npv == _NUM ) { npv = npv ( leg , disco...
98
java-test-1302
java
How did which contain a map document ?
as per the prefs dtd
static void import Map ( Input Stream is , Map < String , String > m ) throws IO Exception , Invalid Preferences Format Exception { try { Document doc = load Prefs Doc ( is ) ; Element xml Map = doc . get Document Element ( ) ; String map Version = xml Map . get Attribute ( STRING ) ; if ( map Version . compare To ( MA...
static void importMap ( InputStream is , Map < String , String > m ) throws IOException , InvalidPreferencesFormatException { try { Document doc = loadPrefsDoc ( is ) ; Element xmlMap = doc . getDocumentElement ( ) ; String mapVersion = xmlMap . getAttribute ( STRING ) ; if ( mapVersion . compareTo ( MAP_XML_VERSION ) ...
197
java-test-1303
java
What did which contain as per the prefs dtd ?
a map document
static void import Map ( Input Stream is , Map < String , String > m ) throws IO Exception , Invalid Preferences Format Exception { try { Document doc = load Prefs Doc ( is ) ; Element xml Map = doc . get Document Element ( ) ; String map Version = xml Map . get Attribute ( STRING ) ; if ( map Version . compare To ( MA...
static void importMap ( InputStream is , Map < String , String > m ) throws IOException , InvalidPreferencesFormatException { try { Document doc = loadPrefsDoc ( is ) ; Element xmlMap = doc . getDocumentElement ( ) ; String mapVersion = xmlMap . getAttribute ( STRING ) ; if ( mapVersion . compareTo ( MAP_XML_VERSION ) ...
197
java-test-1304
java
What will it contain if this map is empty when this method returns ?
exactly the key - value pairs int the xml - document
static void import Map ( Input Stream is , Map < String , String > m ) throws IO Exception , Invalid Preferences Format Exception { try { Document doc = load Prefs Doc ( is ) ; Element xml Map = doc . get Document Element ( ) ; String map Version = xml Map . get Attribute ( STRING ) ; if ( map Version . compare To ( MA...
static void importMap ( InputStream is , Map < String , String > m ) throws IOException , InvalidPreferencesFormatException { try { Document doc = loadPrefsDoc ( is ) ; Element xmlMap = doc . getDocumentElement ( ) ; String mapVersion = xmlMap . getAttribute ( STRING ) ; if ( mapVersion . compareTo ( MAP_XML_VERSION ) ...
197
java-test-1308
java
What does the code get ?
a temporarystore . lazily initialized once per test class
private static Temporary Store temporary Store ( ) { if ( temporary Store != null ) { return temporary Store ; } Uncaught Exception Handler uncaught Exception Handler = Thread . get Default Uncaught Exception Handler ( ) ; temporary Store = new Temporary Store ( ) ; Thread . set Default Uncaught Exception Handler ( unc...
private static TemporaryStore temporaryStore ( ) { if ( temporaryStore != null ) { return temporaryStore ; } UncaughtExceptionHandler uncaughtExceptionHandler = Thread . getDefaultUncaughtExceptionHandler ( ) ; temporaryStore = new TemporaryStore ( ) ; Thread . setDefaultUncaughtExceptionHandler ( uncaughtExceptionHand...
66
java-test-1309
java
What does the code decompose ?
a linestring given as array of coordinates at a vertical line
protected static Coordinate [ ] [ ] decompose ( double dateline , Coordinate [ ] coordinates ) { int offset = NUM ; Array List < Coordinate [ ] > parts = new Array List < > ( ) ; double shift = coordinates [ NUM ] . x > DATELINE ? DATELINE : ( coordinates [ NUM ] . x < - DATELINE ? - DATELINE : NUM ) ; for ( int i = NU...
protected static Coordinate [ ] [ ] decompose ( double dateline , Coordinate [ ] coordinates ) { int offset = _NUM ; ArrayList < Coordinate [ ] > parts = new ArrayList < > ( ) ; double shift = coordinates [ _NUM ] . x > DATELINE ? DATELINE : ( coordinates [ _NUM ] . x < - DATELINE ? - DATELINE : _NUM ) ; for ( int i = ...
373
java-test-1310
java
Where did a linestring give as array of coordinates ?
at a vertical line
protected static Coordinate [ ] [ ] decompose ( double dateline , Coordinate [ ] coordinates ) { int offset = NUM ; Array List < Coordinate [ ] > parts = new Array List < > ( ) ; double shift = coordinates [ NUM ] . x > DATELINE ? DATELINE : ( coordinates [ NUM ] . x < - DATELINE ? - DATELINE : NUM ) ; for ( int i = NU...
protected static Coordinate [ ] [ ] decompose ( double dateline , Coordinate [ ] coordinates ) { int offset = _NUM ; ArrayList < Coordinate [ ] > parts = new ArrayList < > ( ) ; double shift = coordinates [ _NUM ] . x > DATELINE ? DATELINE : ( coordinates [ _NUM ] . x < - DATELINE ? - DATELINE : _NUM ) ; for ( int i = ...
373
java-test-1311
java
What returns passwords , decrypts data , etc ?
sensitive methods
public static boolean is Caller Valid ( String class Name ) { if ( ! check Caller ) { return ( BOOL ) ; } String parent Class = get Parent Class ( class Name ) ; for ( int i = NUM ; i < VALID PACKAGES . length ; i ++ ) { if ( parent Class . starts With ( VALID PACKAGES [ i ] ) ) { return ( BOOL ) ; } } for ( int i = NU...
public static boolean isCallerValid ( String className ) { if ( ! checkCaller ) { return ( _BOOL ) ; } String parentClass = getParentClass ( className ) ; for ( int i = _NUM ; i < VALID_PACKAGES . length ; i ++ ) { if ( parentClass . startsWith ( VALID_PACKAGES [ i ] ) ) { return ( _BOOL ) ; } } for ( int i = _NUM ; i ...
124
java-test-1312
java
What does sensitive methods return ?
passwords , decrypts data , etc
public static boolean is Caller Valid ( String class Name ) { if ( ! check Caller ) { return ( BOOL ) ; } String parent Class = get Parent Class ( class Name ) ; for ( int i = NUM ; i < VALID PACKAGES . length ; i ++ ) { if ( parent Class . starts With ( VALID PACKAGES [ i ] ) ) { return ( BOOL ) ; } } for ( int i = NU...
public static boolean isCallerValid ( String className ) { if ( ! checkCaller ) { return ( _BOOL ) ; } String parentClass = getParentClass ( className ) ; for ( int i = _NUM ; i < VALID_PACKAGES . length ; i ++ ) { if ( parentClass . startsWith ( VALID_PACKAGES [ i ] ) ) { return ( _BOOL ) ; } } for ( int i = _NUM ; i ...
124
java-test-1313
java
What do the calling class have ?
the privilege to execute sensitive methods which returns passwords , decrypts data , etc
public static boolean is Caller Valid ( String class Name ) { if ( ! check Caller ) { return ( BOOL ) ; } String parent Class = get Parent Class ( class Name ) ; for ( int i = NUM ; i < VALID PACKAGES . length ; i ++ ) { if ( parent Class . starts With ( VALID PACKAGES [ i ] ) ) { return ( BOOL ) ; } } for ( int i = NU...
public static boolean isCallerValid ( String className ) { if ( ! checkCaller ) { return ( _BOOL ) ; } String parentClass = getParentClass ( className ) ; for ( int i = _NUM ; i < VALID_PACKAGES . length ; i ++ ) { if ( parentClass . startsWith ( VALID_PACKAGES [ i ] ) ) { return ( _BOOL ) ; } } for ( int i = _NUM ; i ...
124
java-test-1314
java
What does this method use the stack trace ?
to determine the calling class
public static boolean is Caller Valid ( String class Name ) { if ( ! check Caller ) { return ( BOOL ) ; } String parent Class = get Parent Class ( class Name ) ; for ( int i = NUM ; i < VALID PACKAGES . length ; i ++ ) { if ( parent Class . starts With ( VALID PACKAGES [ i ] ) ) { return ( BOOL ) ; } } for ( int i = NU...
public static boolean isCallerValid ( String className ) { if ( ! checkCaller ) { return ( _BOOL ) ; } String parentClass = getParentClass ( className ) ; for ( int i = _NUM ; i < VALID_PACKAGES . length ; i ++ ) { if ( parentClass . startsWith ( VALID_PACKAGES [ i ] ) ) { return ( _BOOL ) ; } } for ( int i = _NUM ; i ...
124
java-test-1319
java
Where is a contiguous region based on the eight - cardinal directions ?
in a 3x3 grid
public static int identify Regions ( char [ ] [ ] img , char off Char ) { for ( int i = NUM ; i < img . length ; i ++ ) { for ( int j = NUM ; j < img [ NUM ] . length ; j ++ ) { if ( img [ i ] [ j ] != off Char ) { img [ i ] [ j ] = ON ; } } } char next = First Region ; I Convex Hull alg = new Convex Hull Scan ( ) ; wh...
public static int identifyRegions ( char [ ] [ ] img , char offChar ) { for ( int i = _NUM ; i < img . length ; i ++ ) { for ( int j = _NUM ; j < img [ _NUM ] . length ; j ++ ) { if ( img [ i ] [ j ] != offChar ) { img [ i ] [ j ] = ON ; } } } char next = FirstRegion ; IConvexHull alg = new ConvexHullScan ( ) ; while (...
256
java-test-1320
java
What does the code assign ?
contiguous image regions in the character image map that use ' onchar ' as the onbit
public static int identify Regions ( char [ ] [ ] img , char off Char ) { for ( int i = NUM ; i < img . length ; i ++ ) { for ( int j = NUM ; j < img [ NUM ] . length ; j ++ ) { if ( img [ i ] [ j ] != off Char ) { img [ i ] [ j ] = ON ; } } } char next = First Region ; I Convex Hull alg = new Convex Hull Scan ( ) ; wh...
public static int identifyRegions ( char [ ] [ ] img , char offChar ) { for ( int i = _NUM ; i < img . length ; i ++ ) { for ( int j = _NUM ; j < img [ _NUM ] . length ; j ++ ) { if ( img [ i ] [ j ] != offChar ) { img [ i ] [ j ] = ON ; } } } char next = FirstRegion ; IConvexHull alg = new ConvexHullScan ( ) ; while (...
256
java-test-1321
java
What is based on the eight - cardinal directions in a 3x3 grid ?
a contiguous region
public static int identify Regions ( char [ ] [ ] img , char off Char ) { for ( int i = NUM ; i < img . length ; i ++ ) { for ( int j = NUM ; j < img [ NUM ] . length ; j ++ ) { if ( img [ i ] [ j ] != off Char ) { img [ i ] [ j ] = ON ; } } } char next = First Region ; I Convex Hull alg = new Convex Hull Scan ( ) ; wh...
public static int identifyRegions ( char [ ] [ ] img , char offChar ) { for ( int i = _NUM ; i < img . length ; i ++ ) { for ( int j = _NUM ; j < img [ _NUM ] . length ; j ++ ) { if ( img [ i ] [ j ] != offChar ) { img [ i ] [ j ] = ON ; } } } char next = FirstRegion ; IConvexHull alg = new ConvexHullScan ( ) ; while (...
256
java-test-1322
java
What will the user get otherwise ?
an error code
@ Deprecated public Long register User ( String SID , String Username , String Userpass , String lastname , String firstname , String email , Date age , String street , String additionalname , String fax , String zip , long states id , String town , long language id , String phone ) { return user Management . register ...
@ Deprecated public Long registerUser ( String SID , String Username , String Userpass , String lastname , String firstname , String email , Date age , String street , String additionalname , String fax , String zip , long states_id , String town , long language_id , String phone ) { return userManagement . registerUse...
100
java-test-1323
java
For what purpose do a new user register code ?
to allow the registering the config_key * allow_frontend_register * has to be the value 1
@ Deprecated public Long register User ( String SID , String Username , String Userpass , String lastname , String firstname , String email , Date age , String street , String additionalname , String fax , String zip , long states id , String town , long language id , String phone ) { return user Management . register ...
@ Deprecated public Long registerUser ( String SID , String Username , String Userpass , String lastname , String firstname , String email , Date age , String street , String additionalname , String fax , String zip , long states_id , String town , long language_id , String phone ) { return userManagement . registerUse...
100
java-test-1324
java
When should care take of cleaning up the connection if any exception is raised during the remote invocation if any exception is raised during the remote invocation ?
before raising the " user " or remote exception
public void invoke ( Remote Call call ) throws Exception { try { client Ref Log . log ( Log . VERBOSE , STRING ) ; call . execute Call ( ) ; } catch ( Remote Exception e ) { client Ref Log . log ( Log . BRIEF , STRING , e ) ; free ( call , BOOL ) ; throw e ; } catch ( Error e ) { client Ref Log . log ( Log . BRIEF , ST...
public void invoke ( RemoteCall call ) throws Exception { try { clientRefLog . log ( Log . VERBOSE , STRING ) ; call . executeCall ( ) ; } catch ( RemoteException e ) { clientRefLog . log ( Log . BRIEF , STRING , e ) ; free ( call , _BOOL ) ; throw e ; } catch ( Error e ) { clientRefLog . log ( Log . BRIEF , STRING , e...
165
java-test-1325
java
When is any exception raised ?
during the remote invocation
public void invoke ( Remote Call call ) throws Exception { try { client Ref Log . log ( Log . VERBOSE , STRING ) ; call . execute Call ( ) ; } catch ( Remote Exception e ) { client Ref Log . log ( Log . BRIEF , STRING , e ) ; free ( call , BOOL ) ; throw e ; } catch ( Error e ) { client Ref Log . log ( Log . BRIEF , ST...
public void invoke ( RemoteCall call ) throws Exception { try { clientRefLog . log ( Log . VERBOSE , STRING ) ; call . executeCall ( ) ; } catch ( RemoteException e ) { clientRefLog . log ( Log . BRIEF , STRING , e ) ; free ( call , _BOOL ) ; throw e ; } catch ( Error e ) { clientRefLog . log ( Log . BRIEF , STRING , e...
165
java-test-1326
java
What can you make by either setting basescale or topscale to zero ?
cones
public void add Cylinder ( float x , float y , float z , float radius , float length , int segments , float base Scale , float top Scale , int base Direction ) { add Cylinder ( x , y , z , radius , length , segments , base Scale , top Scale , base Direction , ( int ) Math . floor ( radius * NUM ) , ( int ) Math . floor...
public void addCylinder ( float x , float y , float z , float radius , float length , int segments , float baseScale , float topScale , int baseDirection ) { addCylinder ( x , y , z , radius , length , segments , baseScale , topScale , baseDirection , ( int ) Math . floor ( radius * _NUM ) , ( int ) Math . floor ( radi...
96
java-test-1327
java
What will set the basescale to 1f ?
setting both to zero
public void add Cylinder ( float x , float y , float z , float radius , float length , int segments , float base Scale , float top Scale , int base Direction ) { add Cylinder ( x , y , z , radius , length , segments , base Scale , top Scale , base Direction , ( int ) Math . floor ( radius * NUM ) , ( int ) Math . floor...
public void addCylinder ( float x , float y , float z , float radius , float length , int segments , float baseScale , float topScale , int baseDirection ) { addCylinder ( x , y , z , radius , length , segments , baseScale , topScale , baseDirection , ( int ) Math . floor ( radius * _NUM ) , ( int ) Math . floor ( radi...
96
java-test-1328
java
What will setting both to zero set to 1f ?
the basescale
public void add Cylinder ( float x , float y , float z , float radius , float length , int segments , float base Scale , float top Scale , int base Direction ) { add Cylinder ( x , y , z , radius , length , segments , base Scale , top Scale , base Direction , ( int ) Math . floor ( radius * NUM ) , ( int ) Math . floor...
public void addCylinder ( float x , float y , float z , float radius , float length , int segments , float baseScale , float topScale , int baseDirection ) { addCylinder ( x , y , z , radius , length , segments , baseScale , topScale , baseDirection , ( int ) Math . floor ( radius * _NUM ) , ( int ) Math . floor ( radi...
96
java-test-1329
java
How can you make cones ?
by either setting basescale or topscale to zero
public void add Cylinder ( float x , float y , float z , float radius , float length , int segments , float base Scale , float top Scale , int base Direction ) { add Cylinder ( x , y , z , radius , length , segments , base Scale , top Scale , base Direction , ( int ) Math . floor ( radius * NUM ) , ( int ) Math . floor...
public void addCylinder ( float x , float y , float z , float radius , float length , int segments , float baseScale , float topScale , int baseDirection ) { addCylinder ( x , y , z , radius , length , segments , baseScale , topScale , baseDirection , ( int ) Math . floor ( radius * _NUM ) , ( int ) Math . floor ( radi...
96
java-test-1330
java
What do you set to either mr_left , mr_bottom or mr_back ?
the basedirection
public void add Cylinder ( float x , float y , float z , float radius , float length , int segments , float base Scale , float top Scale , int base Direction ) { add Cylinder ( x , y , z , radius , length , segments , base Scale , top Scale , base Direction , ( int ) Math . floor ( radius * NUM ) , ( int ) Math . floor...
public void addCylinder ( float x , float y , float z , float radius , float length , int segments , float baseScale , float topScale , int baseDirection ) { addCylinder ( x , y , z , radius , length , segments , baseScale , topScale , baseDirection , ( int ) Math . floor ( radius * _NUM ) , ( int ) Math . floor ( radi...
96
java-test-1331
java
What does the code adjust ?
the minimum and maximum fraction digits
private static void adjust For Currency Default Fraction Digits ( Decimal Format format , Decimal Format Symbols symbols ) { Currency currency = symbols . get Currency ( ) ; if ( currency == null ) { try { currency = Currency . get Instance ( symbols . get International Currency Symbol ( ) ) ; } catch ( Illegal Argumen...
private static void adjustForCurrencyDefaultFractionDigits ( DecimalFormat format , DecimalFormatSymbols symbols ) { Currency currency = symbols . getCurrency ( ) ; if ( currency == null ) { try { currency = Currency . getInstance ( symbols . getInternationalCurrencySymbol ( ) ) ; } catch ( IllegalArgumentException e )...
180
java-test-1332
java
What does the code add to the given container ?
the child components of a tree branch
private void build Branch ( Object parent , int depth , Container destination ) { Vector children = model . get Children ( parent ) ; int size = children . size ( ) ; Integer depth Val = new Integer ( depth + NUM ) ; for ( int iter = NUM ; iter < size ; iter ++ ) { final Object current = children . element At ( iter ) ...
private void buildBranch ( Object parent , int depth , Container destination ) { Vector children = model . getChildren ( parent ) ; int size = children . size ( ) ; Integer depthVal = new Integer ( depth + _NUM ) ; for ( int iter = _NUM ; iter < size ; iter ++ ) { final Object current = children . elementAt ( iter ) ; ...
215
java-test-1333
java
What did it set if no default mechanism has been assinged so far if no default mechanism has been assinged so far ?
the default mechanismfactory and oid
private boolean add All Mechs From Provider ( Provider p ) { String prop ; boolean ret Val = BOOL ; Enumeration < Object > props = p . keys ( ) ; while ( props . has More Elements ( ) ) { prop = ( String ) props . next Element ( ) ; if ( is Mech Factory Property ( prop ) ) { try { Oid mech Oid = get Oid From Mech Facto...
private boolean addAllMechsFromProvider ( Provider p ) { String prop ; boolean retVal = _BOOL ; Enumeration < Object > props = p . keys ( ) ; while ( props . hasMoreElements ( ) ) { prop = ( String ) props . nextElement ( ) ; if ( isMechFactoryProperty ( prop ) ) { try { Oid mechOid = getOidFromMechFactoryProperty ( pr...
131
java-test-1334
java
What adds to the list of supported mechanisms ?
its mechanisms
private boolean add All Mechs From Provider ( Provider p ) { String prop ; boolean ret Val = BOOL ; Enumeration < Object > props = p . keys ( ) ; while ( props . has More Elements ( ) ) { prop = ( String ) props . next Element ( ) ; if ( is Mech Factory Property ( prop ) ) { try { Oid mech Oid = get Oid From Mech Facto...
private boolean addAllMechsFromProvider ( Provider p ) { String prop ; boolean retVal = _BOOL ; Enumeration < Object > props = p . keys ( ) ; while ( props . hasMoreElements ( ) ) { prop = ( String ) props . nextElement ( ) ; if ( isMechFactoryProperty ( prop ) ) { try { Oid mechOid = getOidFromMechFactoryProperty ( pr...
131
java-test-1335
java
Where did all properties contin ?
in a provider
private boolean add All Mechs From Provider ( Provider p ) { String prop ; boolean ret Val = BOOL ; Enumeration < Object > props = p . keys ( ) ; while ( props . has More Elements ( ) ) { prop = ( String ) props . next Element ( ) ; if ( is Mech Factory Property ( prop ) ) { try { Oid mech Oid = get Oid From Mech Facto...
private boolean addAllMechsFromProvider ( Provider p ) { String prop ; boolean retVal = _BOOL ; Enumeration < Object > props = p . keys ( ) ; while ( props . hasMoreElements ( ) ) { prop = ( String ) props . nextElement ( ) ; if ( isMechFactoryProperty ( prop ) ) { try { Oid mechOid = getOidFromMechFactoryProperty ( pr...
131
java-test-1336
java
What did its mechanisms add ?
to the list of supported mechanisms
private boolean add All Mechs From Provider ( Provider p ) { String prop ; boolean ret Val = BOOL ; Enumeration < Object > props = p . keys ( ) ; while ( props . has More Elements ( ) ) { prop = ( String ) props . next Element ( ) ; if ( is Mech Factory Property ( prop ) ) { try { Oid mech Oid = get Oid From Mech Facto...
private boolean addAllMechsFromProvider ( Provider p ) { String prop ; boolean retVal = _BOOL ; Enumeration < Object > props = p . keys ( ) ; while ( props . hasMoreElements ( ) ) { prop = ( String ) props . nextElement ( ) ; if ( isMechFactoryProperty ( prop ) ) { try { Oid mechOid = getOidFromMechFactoryProperty ( pr...
131
java-test-1337
java
What does the code assert ?
the null hypothesis for a chisquare test .
public static void assert Chi Square Accept ( String [ ] value Labels , double [ ] expected , long [ ] observed , double alpha ) { if ( chi Square Test ( expected , observed ) <= alpha ) { String Builder msg Buffer = new String Builder ( ) ; Decimal Format df = new Decimal Format ( STRING ) ; msg Buffer . append ( STRI...
public static void assertChiSquareAccept ( String [ ] valueLabels , double [ ] expected , long [ ] observed , double alpha ) { if ( chiSquareTest ( expected , observed ) <= alpha ) { StringBuilder msgBuffer = new StringBuilder ( ) ; DecimalFormat df = new DecimalFormat ( STRING ) ; msgBuffer . append ( STRING ) ; msgBu...
253
java-test-1340
java
What creates at test index ?
with a uuid field
public static final Index create Test Index UUID Field ( ) { Index index = new Index ( STRING ) ; index . set Table ( DB , STRING ) ; Array List < Index Field > fields = new Array List < > ( ) ; fields . add ( new Index Field ( STRING , Field Data Type . UUID ) ) ; index . set Fields ( fields ) ; index . is Unique ( BO...
public static final Index createTestIndexUUIDField ( ) { Index index = new Index ( STRING ) ; index . setTable ( DB , STRING ) ; ArrayList < IndexField > fields = new ArrayList < > ( ) ; fields . add ( new IndexField ( STRING , FieldDataType . UUID ) ) ; index . setFields ( fields ) ; index . isUnique ( _BOOL ) ; retur...
85
java-test-1347
java
What does the code compute ?
the weighted mean of the data set
public static void mean Vector ( Vec mean , Data Set data Set ) { if ( data Set . get Sample Size ( ) == NUM ) throw new Arithmetic Exception ( STRING ) ; double sum Of Weights = NUM ; for ( int i = NUM ; i < data Set . get Sample Size ( ) ; i ++ ) { Data Point dp = data Set . get Data Point ( i ) ; double w = dp . get...
public static void meanVector ( Vec mean , DataSet dataSet ) { if ( dataSet . getSampleSize ( ) == _NUM ) throw new ArithmeticException ( STRING ) ; double sumOfWeights = _NUM ; for ( int i = _NUM ; i < dataSet . getSampleSize ( ) ; i ++ ) { DataPoint dp = dataSet . getDataPoint ( i ) ; double w = dp . getWeight ( ) ; ...
123
java-test-1348
java
What does the code create ?
a new dexportprivatekeypvk dialog
public D Export Private Key Pvk ( J Frame parent , String entry Alias , Private Key private Key , Password Quality Config password Quality Config ) { super ( parent , Dialog . Modality Type . DOCUMENT MODAL ) ; this . entry Alias = entry Alias ; this . private Key = private Key ; this . password Quality Config = passwo...
public DExportPrivateKeyPvk ( JFrame parent , String entryAlias , PrivateKey privateKey , PasswordQualityConfig passwordQualityConfig ) { super ( parent , Dialog . ModalityType . DOCUMENT_MODAL ) ; this . entryAlias = entryAlias ; this . privateKey = privateKey ; this . passwordQualityConfig = passwordQualityConfig ; i...
73
java-test-1350
java
Where is this method invoked ?
in the awt toolkit ( x event loop ) thread context and thus inside the awt lock
void flush Text ( ) { String flush = ( committed Text != null ? committed Text : STRING ) ; if ( composed Text != null ) { flush += composed Text . to String ( ) ; } if ( ! flush . equals ( STRING ) ) { Attributed String attrstr = new Attributed String ( flush ) ; post Input Method Event ( Input Method Event . INPUT ME...
void flushText ( ) { String flush = ( committedText != null ? committedText : STRING ) ; if ( composedText != null ) { flush += composedText . toString ( ) ; } if ( ! flush . equals ( STRING ) ) { AttributedString attrstr = new AttributedString ( flush ) ; postInputMethodEvent ( InputMethodEvent . INPUT_METHOD_TEXT_CHA...
117
java-test-1351
java
What do it construct if necessary ?
concat functions
public static String quote ( String sentence ) { if ( ! sentence . contains ( STRING ) ) { return add Single Quotation ( sentence ) ; } else if ( sentence . contains ( STRING ) && ! sentence . contains ( STRING ) ) { return add Double Quotation ( sentence ) ; } else { return change To Concat ( sentence ) ; } }
public static String quote ( String sentence ) { if ( ! sentence . contains ( STRING ) ) { return addSingleQuotation ( sentence ) ; } else if ( sentence . contains ( STRING ) && ! sentence . contains ( STRING ) ) { return addDoubleQuotation ( sentence ) ; } else { return changeToConcat ( sentence ) ; } }
69
java-test-1352
java
What do method perform ?
intelligent escaping of quotes in xpath expressions
public static String quote ( String sentence ) { if ( ! sentence . contains ( STRING ) ) { return add Single Quotation ( sentence ) ; } else if ( sentence . contains ( STRING ) && ! sentence . contains ( STRING ) ) { return add Double Quotation ( sentence ) ; } else { return change To Concat ( sentence ) ; } }
public static String quote ( String sentence ) { if ( ! sentence . contains ( STRING ) ) { return addSingleQuotation ( sentence ) ; } else if ( sentence . contains ( STRING ) && ! sentence . contains ( STRING ) ) { return addDoubleQuotation ( sentence ) ; } else { return changeToConcat ( sentence ) ; } }
69
java-test-1353
java
What do it add otherwise otherwise ?
single or double quotes
public static String quote ( String sentence ) { if ( ! sentence . contains ( STRING ) ) { return add Single Quotation ( sentence ) ; } else if ( sentence . contains ( STRING ) && ! sentence . contains ( STRING ) ) { return add Double Quotation ( sentence ) ; } else { return change To Concat ( sentence ) ; } }
public static String quote ( String sentence ) { if ( ! sentence . contains ( STRING ) ) { return addSingleQuotation ( sentence ) ; } else if ( sentence . contains ( STRING ) && ! sentence . contains ( STRING ) ) { return addDoubleQuotation ( sentence ) ; } else { return changeToConcat ( sentence ) ; } }
69
java-test-1354
java
Where can the maximum amount of entry data be encoded ?
on any index page
private static int calc Max Page Entry Size ( Jet Format format ) { int page Data Size = ( format . PAGE SIZE - ( format . OFFSET INDEX ENTRY MASK + format . SIZE INDEX ENTRY MASK ) ) ; int entry Mask Size = ( format . SIZE INDEX ENTRY MASK * NUM ) ; return Math . min ( page Data Size , entry Mask Size ) ; }
private static int calcMaxPageEntrySize ( JetFormat format ) { int pageDataSize = ( format . PAGE_SIZE - ( format . OFFSET_INDEX_ENTRY_MASK + format . SIZE_INDEX_ENTRY_MASK ) ) ; int entryMaskSize = ( format . SIZE_INDEX_ENTRY_MASK * _NUM ) ; return Math . min ( pageDataSize , entryMaskSize ) ; }
73
java-test-1355
java
What can be encoded on any index page ?
the maximum amount of entry data
private static int calc Max Page Entry Size ( Jet Format format ) { int page Data Size = ( format . PAGE SIZE - ( format . OFFSET INDEX ENTRY MASK + format . SIZE INDEX ENTRY MASK ) ) ; int entry Mask Size = ( format . SIZE INDEX ENTRY MASK * NUM ) ; return Math . min ( page Data Size , entry Mask Size ) ; }
private static int calcMaxPageEntrySize ( JetFormat format ) { int pageDataSize = ( format . PAGE_SIZE - ( format . OFFSET_INDEX_ENTRY_MASK + format . SIZE_INDEX_ENTRY_MASK ) ) ; int entryMaskSize = ( format . SIZE_INDEX_ENTRY_MASK * _NUM ) ; return Math . min ( pageDataSize , entryMaskSize ) ; }
73
java-test-1357
java
When is the allocatedentityset cleared which results in cycling through the entities again ?
once a port has been selected that represents each of the available entities
private Set < Storage Port > filter Candidates ( Set < Storage Port > candidates , Set < String > allocated Entity Set , Map < String , Set < Storage Port > > context Entity Map ) { if ( BOOL == context Entity Map . is Empty ( ) ) { Map < String , Set < Storage Port > > new Entity Map = remove Storage Port Sets ( alloc...
private Set < StoragePort > filterCandidates ( Set < StoragePort > candidates , Set < String > allocatedEntitySet , Map < String , Set < StoragePort > > contextEntityMap ) { if ( _BOOL == contextEntityMap . isEmpty ( ) ) { Map < String , Set < StoragePort > > newEntityMap = removeStoragePortSets ( allocatedEntitySet , ...
176
java-test-1358
java
What did that represent ?
each of the available entities
private Set < Storage Port > filter Candidates ( Set < Storage Port > candidates , Set < String > allocated Entity Set , Map < String , Set < Storage Port > > context Entity Map ) { if ( BOOL == context Entity Map . is Empty ( ) ) { Map < String , Set < Storage Port > > new Entity Map = remove Storage Port Sets ( alloc...
private Set < StoragePort > filterCandidates ( Set < StoragePort > candidates , Set < String > allocatedEntitySet , Map < String , Set < StoragePort > > contextEntityMap ) { if ( _BOOL == contextEntityMap . isEmpty ( ) ) { Map < String , Set < StoragePort > > newEntityMap = removeStoragePortSets ( allocatedEntitySet , ...
176
java-test-1359
java
When be remaining ports selected ?
after the filter is supplied
private Set < Storage Port > filter Candidates ( Set < Storage Port > candidates , Set < String > allocated Entity Set , Map < String , Set < Storage Port > > context Entity Map ) { if ( BOOL == context Entity Map . is Empty ( ) ) { Map < String , Set < Storage Port > > new Entity Map = remove Storage Port Sets ( alloc...
private Set < StoragePort > filterCandidates ( Set < StoragePort > candidates , Set < String > allocatedEntitySet , Map < String , Set < StoragePort > > contextEntityMap ) { if ( _BOOL == contextEntityMap . isEmpty ( ) ) { Map < String , Set < StoragePort > > newEntityMap = removeStoragePortSets ( allocatedEntitySet , ...
176
java-test-1360
java
Where are the order of cars can change + stuck dealt in different ways ?
at junctions
protected void compare To DEQ Sim Events ( final String deqsim Events File ) { Linked List < Event > copy Event List = new Linked List < Event > ( ) ; for ( int i = NUM ; i < all Events . size ( ) ; i ++ ) { if ( ! ( all Events . get ( i ) instanceof Activity Start Event || all Events . get ( i ) instanceof Activity En...
protected void compareToDEQSimEvents ( final String deqsimEventsFile ) { LinkedList < Event > copyEventList = new LinkedList < Event > ( ) ; for ( int i = _NUM ; i < allEvents . size ( ) ; i ++ ) { if ( ! ( allEvents . get ( i ) instanceof ActivityStartEvent || allEvents . get ( i ) instanceof ActivityEndEvent ) ) { co...
178
java-test-1361
java
What are dealt at junctions ?
the order of cars can change + stuck
protected void compare To DEQ Sim Events ( final String deqsim Events File ) { Linked List < Event > copy Event List = new Linked List < Event > ( ) ; for ( int i = NUM ; i < all Events . size ( ) ; i ++ ) { if ( ! ( all Events . get ( i ) instanceof Activity Start Event || all Events . get ( i ) instanceof Activity En...
protected void compareToDEQSimEvents ( final String deqsimEventsFile ) { LinkedList < Event > copyEventList = new LinkedList < Event > ( ) ; for ( int i = _NUM ; i < allEvents . size ( ) ; i ++ ) { if ( ! ( allEvents . get ( i ) instanceof ActivityStartEvent || allEvents . get ( i ) instanceof ActivityEndEvent ) ) { co...
178
java-test-1362
java
Till when is the return value just valid ?
until the next call of this method
public Ints Ref next ( ) { if ( emit Empty String ) { emit Empty String = BOOL ; return EMPTY ; } for ( int depth = string . length ( ) ; depth > NUM ; ) { Path Node node = nodes [ depth - NUM ] ; int label = node . next Label ( a ) ; if ( label != - NUM ) { string . set Int At ( depth - NUM , label ) ; int to = node ....
public IntsRef next ( ) { if ( emitEmptyString ) { emitEmptyString = _BOOL ; return EMPTY ; } for ( int depth = string . length ( ) ; depth > _NUM ; ) { PathNode node = nodes [ depth - _NUM ] ; int label = node . nextLabel ( a ) ; if ( label != - _NUM ) { string . setIntAt ( depth - _NUM , label ) ; int to = node . to ...
255
java-test-1363
java
What does the code draw with a line and a gradient fill ?
the current fft spectrum
private void draw Spectrum ( Graphics 2 D graphics ) { Dimension size = get Size ( ) ; Rectangle background = new Rectangle ( NUM , NUM , size . width , size . height ) ; graphics . set Color ( m Color Spectrum Background ) ; graphics . draw ( background ) ; graphics . fill ( background ) ; Gradient Paint gradient = ne...
private void drawSpectrum ( Graphics2D graphics ) { Dimension size = getSize ( ) ; Rectangle background = new Rectangle ( _NUM , _NUM , size . width , size . height ) ; graphics . setColor ( mColorSpectrumBackground ) ; graphics . draw ( background ) ; graphics . fill ( background ) ; GradientPaint gradient = new Gradi...
471
java-test-1364
java
How does the code draw the current fft spectrum ?
with a line and a gradient fill
private void draw Spectrum ( Graphics 2 D graphics ) { Dimension size = get Size ( ) ; Rectangle background = new Rectangle ( NUM , NUM , size . width , size . height ) ; graphics . set Color ( m Color Spectrum Background ) ; graphics . draw ( background ) ; graphics . fill ( background ) ; Gradient Paint gradient = ne...
private void drawSpectrum ( Graphics2D graphics ) { Dimension size = getSize ( ) ; Rectangle background = new Rectangle ( _NUM , _NUM , size . width , size . height ) ; graphics . setColor ( mColorSpectrumBackground ) ; graphics . draw ( background ) ; graphics . fill ( background ) ; GradientPaint gradient = new Gradi...
471
java-test-1367
java
What does the code remove from the swarm ?
given timer
static private void remove From Swarm ( System Timer t ) { final boolean is Debug Enabled = logger . is Trace Enabled ( ) ; synchronized ( all Swarms ) { Array List swarm Set = ( Array List ) all Swarms . get ( t . swarm ) ; if ( swarm Set == null ) { if ( is Debug Enabled ) { logger . trace ( STRING , t ) ; } return ;...
static private void removeFromSwarm ( SystemTimer t ) { final boolean isDebugEnabled = logger . isTraceEnabled ( ) ; synchronized ( allSwarms ) { ArrayList swarmSet = ( ArrayList ) allSwarms . get ( t . swarm ) ; if ( swarmSet == null ) { if ( isDebugEnabled ) { logger . trace ( STRING , t ) ; } return ; } if ( isDebug...
250
java-test-1368
java
What does the code add ?
an answer to a riddle
private void add Answer ( String riddle , String answer ) { Collection < String > answers = riddles . get ( riddle ) ; if ( answers == null ) { answers = new Linked List < String > ( ) ; riddles . put ( riddle , answers ) ; } answers . add ( answer ) ; }
private void addAnswer ( String riddle , String answer ) { Collection < String > answers = riddles . get ( riddle ) ; if ( answers == null ) { answers = new LinkedList < String > ( ) ; riddles . put ( riddle , answers ) ; } answers . add ( answer ) ; }
61
java-test-1369
java
What did it get only ?
a single request
public void test Server Retransmission Hiding ( ) throws Exception { String old Retrans Value = System . get Property ( Stack Properties . MAX CTRAN RETRANSMISSIONS ) ; System . set Property ( Stack Properties . MAX CTRAN RETRANSMISSIONS , STRING ) ; stun Stack . add Request Listener ( server Address , request Collecto...
public void testServerRetransmissionHiding ( ) throws Exception { String oldRetransValue = System . getProperty ( StackProperties . MAX_CTRAN_RETRANSMISSIONS ) ; System . setProperty ( StackProperties . MAX_CTRAN_RETRANSMISSIONS , STRING ) ; stunStack . addRequestListener ( serverAddress , requestCollector ) ; stunStac...
166
java-test-1370
java
Do the tree do something ?
No
public boolean is Cell Editable ( Event Object e ) { if ( e instanceof Mouse Event ) { for ( int counter = get Column Count ( ) - NUM ; counter >= NUM ; counter -- ) { if ( get Column Class ( counter ) == Tree Table Model . class ) { Mouse Event me = ( Mouse Event ) e ; Mouse Event new ME = new Mouse Event ( tree , me ...
public boolean isCellEditable ( EventObject e ) { if ( e instanceof MouseEvent ) { for ( int counter = getColumnCount ( ) - _NUM ; counter >= _NUM ; counter -- ) { if ( getColumnClass ( counter ) == TreeTableModel . class ) { MouseEvent me = ( MouseEvent ) e ; MouseEvent newME = new MouseEvent ( tree , me . getID ( ) ,...
160
java-test-1371
java
How does the added benefit that clicking outside of the bounds of the tree node , but still in the tree column will select the row have also also ?
by returning false
public boolean is Cell Editable ( Event Object e ) { if ( e instanceof Mouse Event ) { for ( int counter = get Column Count ( ) - NUM ; counter >= NUM ; counter -- ) { if ( get Column Class ( counter ) == Tree Table Model . class ) { Mouse Event me = ( Mouse Event ) e ; Mouse Event new ME = new Mouse Event ( tree , me ...
public boolean isCellEditable ( EventObject e ) { if ( e instanceof MouseEvent ) { for ( int counter = getColumnCount ( ) - _NUM ; counter >= _NUM ; counter -- ) { if ( getColumnClass ( counter ) == TreeTableModel . class ) { MouseEvent me = ( MouseEvent ) e ; MouseEvent newME = new MouseEvent ( tree , me . getID ( ) ,...
160
java-test-1372
java
What do we enforce if this returned true that wouldn ' t be the case . <p> if this returned true that wouldn ' t be the case . <p> if this returned true that wouldn ' t be the case . <p> by ?
the policy that the tree will never be editable ( at least by a key sequence )
public boolean is Cell Editable ( Event Object e ) { if ( e instanceof Mouse Event ) { for ( int counter = get Column Count ( ) - NUM ; counter >= NUM ; counter -- ) { if ( get Column Class ( counter ) == Tree Table Model . class ) { Mouse Event me = ( Mouse Event ) e ; Mouse Event new ME = new Mouse Event ( tree , me ...
public boolean isCellEditable ( EventObject e ) { if ( e instanceof MouseEvent ) { for ( int counter = getColumnCount ( ) - _NUM ; counter >= _NUM ; counter -- ) { if ( getColumnClass ( counter ) == TreeTableModel . class ) { MouseEvent me = ( MouseEvent ) e ; MouseEvent newME = new MouseEvent ( tree , me . getID ( ) ,...
160
java-test-1373
java
What collapses where as the table focus should really move to a different column ?
the tree
public boolean is Cell Editable ( Event Object e ) { if ( e instanceof Mouse Event ) { for ( int counter = get Column Count ( ) - NUM ; counter >= NUM ; counter -- ) { if ( get Column Class ( counter ) == Tree Table Model . class ) { Mouse Event me = ( Mouse Event ) e ; Mouse Event new ME = new Mouse Event ( tree , me ...
public boolean isCellEditable ( EventObject e ) { if ( e instanceof MouseEvent ) { for ( int counter = getColumnCount ( ) - _NUM ; counter >= _NUM ; counter -- ) { if ( getColumnClass ( counter ) == TreeTableModel . class ) { MouseEvent me = ( MouseEvent ) e ; MouseEvent newME = new MouseEvent ( tree , me . getID ( ) ,...
160
java-test-1374
java
What would the tree will get ?
a chance to do something with the keyboard events
public boolean is Cell Editable ( Event Object e ) { if ( e instanceof Mouse Event ) { for ( int counter = get Column Count ( ) - NUM ; counter >= NUM ; counter -- ) { if ( get Column Class ( counter ) == Tree Table Model . class ) { Mouse Event me = ( Mouse Event ) e ; Mouse Event new ME = new Mouse Event ( tree , me ...
public boolean isCellEditable ( EventObject e ) { if ( e instanceof MouseEvent ) { for ( int counter = getColumnCount ( ) - _NUM ; counter >= _NUM ; counter -- ) { if ( getColumnClass ( counter ) == TreeTableModel . class ) { MouseEvent me = ( MouseEvent ) e ; MouseEvent newME = new MouseEvent ( tree , me . getID ( ) ,...
160
java-test-1375
java
What would will get a chance to do something with the keyboard events ?
the tree
public boolean is Cell Editable ( Event Object e ) { if ( e instanceof Mouse Event ) { for ( int counter = get Column Count ( ) - NUM ; counter >= NUM ; counter -- ) { if ( get Column Class ( counter ) == Tree Table Model . class ) { Mouse Event me = ( Mouse Event ) e ; Mouse Event new ME = new Mouse Event ( tree , me ...
public boolean isCellEditable ( EventObject e ) { if ( e instanceof MouseEvent ) { for ( int counter = getColumnCount ( ) - _NUM ; counter >= _NUM ; counter -- ) { if ( getColumnClass ( counter ) == TreeTableModel . class ) { MouseEvent me = ( MouseEvent ) e ; MouseEvent newME = new MouseEvent ( tree , me . getID ( ) ,...
160
java-test-1376
java
How should page up / down be implemented also ?
in terms of the table
public boolean is Cell Editable ( Event Object e ) { if ( e instanceof Mouse Event ) { for ( int counter = get Column Count ( ) - NUM ; counter >= NUM ; counter -- ) { if ( get Column Class ( counter ) == Tree Table Model . class ) { Mouse Event me = ( Mouse Event ) e ; Mouse Event new ME = new Mouse Event ( tree , me ...
public boolean isCellEditable ( EventObject e ) { if ( e instanceof MouseEvent ) { for ( int counter = getColumnCount ( ) - _NUM ; counter >= _NUM ; counter -- ) { if ( getColumnClass ( counter ) == TreeTableModel . class ) { MouseEvent me = ( MouseEvent ) e ; MouseEvent newME = new MouseEvent ( tree , me . getID ( ) ,...
160
java-test-1377
java
Where do the tree collapse ?
where as the table focus should really move to a different column
public boolean is Cell Editable ( Event Object e ) { if ( e instanceof Mouse Event ) { for ( int counter = get Column Count ( ) - NUM ; counter >= NUM ; counter -- ) { if ( get Column Class ( counter ) == Tree Table Model . class ) { Mouse Event me = ( Mouse Event ) e ; Mouse Event new ME = new Mouse Event ( tree , me ...
public boolean isCellEditable ( EventObject e ) { if ( e instanceof MouseEvent ) { for ( int counter = getColumnCount ( ) - _NUM ; counter >= _NUM ; counter -- ) { if ( getColumnClass ( counter ) == TreeTableModel . class ) { MouseEvent me = ( MouseEvent ) e ; MouseEvent newME = new MouseEvent ( tree , me . getID ( ) ,...
160
java-test-1378
java
How be the tree never be editable ?
at least by a key sequence
public boolean is Cell Editable ( Event Object e ) { if ( e instanceof Mouse Event ) { for ( int counter = get Column Count ( ) - NUM ; counter >= NUM ; counter -- ) { if ( get Column Class ( counter ) == Tree Table Model . class ) { Mouse Event me = ( Mouse Event ) e ; Mouse Event new ME = new Mouse Event ( tree , me ...
public boolean isCellEditable ( EventObject e ) { if ( e instanceof MouseEvent ) { for ( int counter = getColumnCount ( ) - _NUM ; counter >= _NUM ; counter -- ) { if ( getColumnClass ( counter ) == TreeTableModel . class ) { MouseEvent me = ( MouseEvent ) e ; MouseEvent newME = new MouseEvent ( tree , me . getID ( ) ,...
160
java-test-1379
java
How do we enforce the policy that the tree will never be editable ( at least by a key sequence ) if this returned true that wouldn ' t be the case . <p> if this returned true that wouldn ' t be the case . <p> if this returned true that wouldn ' t be the case . <p> ?
by
public boolean is Cell Editable ( Event Object e ) { if ( e instanceof Mouse Event ) { for ( int counter = get Column Count ( ) - NUM ; counter >= NUM ; counter -- ) { if ( get Column Class ( counter ) == Tree Table Model . class ) { Mouse Event me = ( Mouse Event ) e ; Mouse Event new ME = new Mouse Event ( tree , me ...
public boolean isCellEditable ( EventObject e ) { if ( e instanceof MouseEvent ) { for ( int counter = getColumnCount ( ) - _NUM ; counter >= _NUM ; counter -- ) { if ( getColumnClass ( counter ) == TreeTableModel . class ) { MouseEvent me = ( MouseEvent ) e ; MouseEvent newME = new MouseEvent ( tree , me . getID ( ) ,...
160
java-test-1380
java
How are all keyboard actions implemented ?
in terms of the table
public boolean is Cell Editable ( Event Object e ) { if ( e instanceof Mouse Event ) { for ( int counter = get Column Count ( ) - NUM ; counter >= NUM ; counter -- ) { if ( get Column Class ( counter ) == Tree Table Model . class ) { Mouse Event me = ( Mouse Event ) e ; Mouse Event new ME = new Mouse Event ( tree , me ...
public boolean isCellEditable ( EventObject e ) { if ( e instanceof MouseEvent ) { for ( int counter = getColumnCount ( ) - _NUM ; counter >= _NUM ; counter -- ) { if ( getColumnClass ( counter ) == TreeTableModel . class ) { MouseEvent me = ( MouseEvent ) e ; MouseEvent newME = new MouseEvent ( tree , me . getID ( ) ,...
160
java-test-1381
java
Will clicking outside of the bounds of the tree node , but still in the tree column select the row ?
No
public boolean is Cell Editable ( Event Object e ) { if ( e instanceof Mouse Event ) { for ( int counter = get Column Count ( ) - NUM ; counter >= NUM ; counter -- ) { if ( get Column Class ( counter ) == Tree Table Model . class ) { Mouse Event me = ( Mouse Event ) e ; Mouse Event new ME = new Mouse Event ( tree , me ...
public boolean isCellEditable ( EventObject e ) { if ( e instanceof MouseEvent ) { for ( int counter = getColumnCount ( ) - _NUM ; counter >= _NUM ; counter -- ) { if ( getColumnClass ( counter ) == TreeTableModel . class ) { MouseEvent me = ( MouseEvent ) e ; MouseEvent newME = new MouseEvent ( tree , me . getID ( ) ,...
160
java-test-1382
java
What is to follow ?
the base64 - encoded form of the non - stringrefaddr
private static Attributes encode Reference ( char separator , Reference ref , Attributes attrs , Object orig ) throws Naming Exception { if ( ref == null ) return attrs ; String s ; if ( ( s = ref . get Class Name ( ) ) != null ) { attrs . put ( new Basic Attribute ( JAVA ATTRIBUTES [ CLASSNAME ] , s ) ) ; } if ( ( s =...
private static Attributes encodeReference ( char separator , Reference ref , Attributes attrs , Object orig ) throws NamingException { if ( ref == null ) return attrs ; String s ; if ( ( s = ref . getClassName ( ) ) != null ) { attrs . put ( new BasicAttribute ( JAVA_ATTRIBUTES [ CLASSNAME ] , s ) ) ; } if ( ( s = ref ...
386
java-test-1383
java
What does the code convert into several ldap attributes ?
a reference object
private static Attributes encode Reference ( char separator , Reference ref , Attributes attrs , Object orig ) throws Naming Exception { if ( ref == null ) return attrs ; String s ; if ( ( s = ref . get Class Name ( ) ) != null ) { attrs . put ( new Basic Attribute ( JAVA ATTRIBUTES [ CLASSNAME ] , s ) ) ; } if ( ( s =...
private static Attributes encodeReference ( char separator , Reference ref , Attributes attrs , Object orig ) throws NamingException { if ( ref == null ) return attrs ; String s ; if ( ( s = ref . getClassName ( ) ) != null ) { attrs . put ( new BasicAttribute ( JAVA_ATTRIBUTES [ CLASSNAME ] , s ) ) ; } if ( ( s = ref ...
386
java-test-1384
java
What does the number following the first separator denote ?
the position of the refaddr within the reference - " typea "
private static Attributes encode Reference ( char separator , Reference ref , Attributes attrs , Object orig ) throws Naming Exception { if ( ref == null ) return attrs ; String s ; if ( ( s = ref . get Class Name ( ) ) != null ) { attrs . put ( new Basic Attribute ( JAVA ATTRIBUTES [ CLASSNAME ] , s ) ) ; } if ( ( s =...
private static Attributes encodeReference ( char separator , Reference ref , Attributes attrs , Object orig ) throws NamingException { if ( ref == null ) return attrs ; String s ; if ( ( s = ref . getClassName ( ) ) != null ) { attrs . put ( new BasicAttribute ( JAVA_ATTRIBUTES [ CLASSNAME ] , s ) ) ; } if ( ( s = ref ...
386
java-test-1385
java
What denotes the position of the refaddr within the reference - " typea " ?
the number following the first separator
private static Attributes encode Reference ( char separator , Reference ref , Attributes attrs , Object orig ) throws Naming Exception { if ( ref == null ) return attrs ; String s ; if ( ( s = ref . get Class Name ( ) ) != null ) { attrs . put ( new Basic Attribute ( JAVA ATTRIBUTES [ CLASSNAME ] , s ) ) ; } if ( ( s =...
private static Attributes encodeReference ( char separator , Reference ref , Attributes attrs , Object orig ) throws NamingException { if ( ref == null ) return attrs ; String s ; if ( ( s = ref . getClassName ( ) ) != null ) { attrs . put ( new BasicAttribute ( JAVA_ATTRIBUTES [ CLASSNAME ] , s ) ) ; } if ( ( s = ref ...
386
java-test-1386
java
What denotes the separator ?
the first character
private static Attributes encode Reference ( char separator , Reference ref , Attributes attrs , Object orig ) throws Naming Exception { if ( ref == null ) return attrs ; String s ; if ( ( s = ref . get Class Name ( ) ) != null ) { attrs . put ( new Basic Attribute ( JAVA ATTRIBUTES [ CLASSNAME ] , s ) ) ; } if ( ( s =...
private static Attributes encodeReference ( char separator , Reference ref , Attributes attrs , Object orig ) throws NamingException { if ( ref == null ) return attrs ; String s ; if ( ( s = ref . getClassName ( ) ) != null ) { attrs . put ( new BasicAttribute ( JAVA_ATTRIBUTES [ CLASSNAME ] , s ) ) ; } if ( ( s = ref ...
386
java-test-1390
java
For what purpose does only enough chars replace ?
so that the url may be unambiguously pasted back into a browser
public static void partial URL Encode Val ( Appendable dest , String val ) throws IO Exception { for ( int i = NUM ; i < val . length ( ) ; i ++ ) { char ch = val . char At ( i ) ; if ( ch < NUM ) { dest . append ( STRING ) ; if ( ch < NUM ) dest . append ( STRING ) ; dest . append ( Integer . to Hex String ( ch ) ) ; ...
public static void partialURLEncodeVal ( Appendable dest , String val ) throws IOException { for ( int i = _NUM ; i < val . length ( ) ; i ++ ) { char ch = val . charAt ( i ) ; if ( ch < _NUM ) { dest . append ( STRING ) ; if ( ch < _NUM ) dest . append ( STRING ) ; dest . append ( Integer . toHexString ( ch ) ) ; } el...
172
java-test-1391
java
By how much does the code evaluate the given value ?
against the provided threshold
private boolean eval ( final int value , final int threshold ) { LOGGER . debug ( STRING + value + STRING + threshold ) ; if ( threshold < NUM ) { LOGGER . debug ( value < Math . abs ( threshold ) ) ; return value < Math . abs ( threshold ) ; } else { LOGGER . debug ( value >= Math . abs ( threshold ) ) ; return value ...
private boolean eval ( final int value , final int threshold ) { LOGGER . debug ( STRING + value + STRING + threshold ) ; if ( threshold < _NUM ) { LOGGER . debug ( value < Math . abs ( threshold ) ) ; return value < Math . abs ( threshold ) ; } else { LOGGER . debug ( value >= Math . abs ( threshold ) ) ; return value...
81
java-test-1392
java
What does the code remove ?
the specified class loader
public void remove Class Loader ( Class Loader class Loader ) { if ( logger . is Loggable ( Level . FINE ) ) logger . fine ( STRING + Class Loader Helper . get Class Loader Log Name ( class Loader ) + STRING ) ; Long removed Class Loaded Id = class Loader To Id Map . remove ( class Loader ) ; if ( removed Class Loaded ...
public void removeClassLoader ( ClassLoader classLoader ) { if ( _logger . isLoggable ( Level . FINE ) ) _logger . fine ( STRING + ClassLoaderHelper . getClassLoaderLogName ( classLoader ) + STRING ) ; Long removedClassLoadedId = _classLoaderToIdMap . remove ( classLoader ) ; if ( removedClassLoadedId != null ) { Class...
180
java-test-1393
java
What do we map to old data model ?
the new course outline data
public static List < Section Item Interface > mapping All Video Response Model From ( Course Component course Component , Filter < Video Response Model > filter ) { List < Section Item Interface > items = new Array List < > ( ) ; for ( Has Download Entry item : course Component . get Videos ( ) ) { Video Response Model...
public static List < SectionItemInterface > mappingAllVideoResponseModelFrom ( CourseComponent courseComponent , Filter < VideoResponseModel > filter ) { List < SectionItemInterface > items = new ArrayList < > ( ) ; for ( HasDownloadEntry item : courseComponent . getVideos ( ) ) { VideoResponseModel model = mappingVide...
119
java-test-1394
java
What do we match ?
the new data model
public static List < Section Item Interface > mapping All Video Response Model From ( Course Component course Component , Filter < Video Response Model > filter ) { List < Section Item Interface > items = new Array List < > ( ) ; for ( Has Download Entry item : course Component . get Videos ( ) ) { Video Response Model...
public static List < SectionItemInterface > mappingAllVideoResponseModelFrom ( CourseComponent courseComponent , Filter < VideoResponseModel > filter ) { List < SectionItemInterface > items = new ArrayList < > ( ) ; for ( HasDownloadEntry item : courseComponent . getVideos ( ) ) { VideoResponseModel model = mappingVide...
119
java-test-1395
java
For what purpose should we update all the code ideally ?
to match the new data model
public static List < Section Item Interface > mapping All Video Response Model From ( Course Component course Component , Filter < Video Response Model > filter ) { List < Section Item Interface > items = new Array List < > ( ) ; for ( Has Download Entry item : course Component . get Videos ( ) ) { Video Response Model...
public static List < SectionItemInterface > mappingAllVideoResponseModelFrom ( CourseComponent courseComponent , Filter < VideoResponseModel > filter ) { List < SectionItemInterface > items = new ArrayList < > ( ) ; for ( HasDownloadEntry item : courseComponent . getVideos ( ) ) { VideoResponseModel model = mappingVide...
119
java-test-1396
java
What should we update ideally to match the new data model ?
all the code
public static List < Section Item Interface > mapping All Video Response Model From ( Course Component course Component , Filter < Video Response Model > filter ) { List < Section Item Interface > items = new Array List < > ( ) ; for ( Has Download Entry item : course Component . get Videos ( ) ) { Video Response Model...
public static List < SectionItemInterface > mappingAllVideoResponseModelFrom ( CourseComponent courseComponent , Filter < VideoResponseModel > filter ) { List < SectionItemInterface > items = new ArrayList < > ( ) ; for ( HasDownloadEntry item : courseComponent . getVideos ( ) ) { VideoResponseModel model = mappingVide...
119
java-test-1397
java
What has no additional parameter ?
that migrate
public boolean check Arguments ( List arguments ) { boolean valid Args = BOOL ; if ( arguments != null && arguments . size ( ) > NUM ) { String specified Args = format Args ( arguments ) ; Debug . log ( STRING + specified Args ) ; print Console Message ( LOC HR MSG INVALID OPTION , new Object [ ] { specified Args } ) ;...
public boolean checkArguments ( List arguments ) { boolean validArgs = _BOOL ; if ( arguments != null && arguments . size ( ) > _NUM ) { String specifiedArgs = formatArgs ( arguments ) ; Debug . log ( STRING + specifiedArgs ) ; printConsoleMessage ( LOC_HR_MSG_INVALID_OPTION , new Object [ ] { specifiedArgs } ) ; valid...
81
java-test-1398
java
What does that migrate have ?
no additional parameter
public boolean check Arguments ( List arguments ) { boolean valid Args = BOOL ; if ( arguments != null && arguments . size ( ) > NUM ) { String specified Args = format Args ( arguments ) ; Debug . log ( STRING + specified Args ) ; print Console Message ( LOC HR MSG INVALID OPTION , new Object [ ] { specified Args } ) ;...
public boolean checkArguments ( List arguments ) { boolean validArgs = _BOOL ; if ( arguments != null && arguments . size ( ) > _NUM ) { String specifiedArgs = formatArgs ( arguments ) ; Debug . log ( STRING + specifiedArgs ) ; printConsoleMessage ( LOC_HR_MSG_INVALID_OPTION , new Object [ ] { specifiedArgs } ) ; valid...
81
java-test-1399
java
What does the code load ?
the action statistics from the action statistics file
private static void load ( final File actions Log File ) throws IO Exception { final List < String > lines = File Utils . read Textfile Lines ( actions Log File ) ; for ( final String line : lines ) { final String [ ] parts = line . split ( STRING ) ; if ( parts . length == NUM ) { m count Map . put ( Long . value Of (...
private static void load ( final File actionsLogFile ) throws IOException { final List < String > lines = FileUtils . readTextfileLines ( actionsLogFile ) ; for ( final String line : lines ) { final String [ ] parts = line . split ( STRING ) ; if ( parts . length == _NUM ) { m_countMap . put ( Long . valueOf ( parts [ ...
97
java-test-1400
java
What does the code save later ?
the local name for imported symbols to be used for code rewriting
void register Local Symbol ( String source File , String full Local Name , String required Namespace , String local Name ) { value Rewrite . put ( source File , full Local Name , local Name ) ; type Rewrite . put ( source File , full Local Name , local Name ) ; type Rewrite . put ( source File , required Namespace , lo...
void registerLocalSymbol ( String sourceFile , String fullLocalName , String requiredNamespace , String localName ) { valueRewrite . put ( sourceFile , fullLocalName , localName ) ; typeRewrite . put ( sourceFile , fullLocalName , localName ) ; typeRewrite . put ( sourceFile , requiredNamespace , localName ) ; }
71
java-test-1404
java
What does the code accumulate into the given vector of int [ ] objects ?
the given range ( lb . . ub ) into the canonical array form
private static void accumulate ( Vector ranges , int lb , int ub ) { if ( lb <= ub ) { ranges . add ( new int [ ] { lb , ub } ) ; for ( int j = ranges . size ( ) - NUM ; j >= NUM ; -- j ) { int [ ] rangea = ( int [ ] ) ranges . element At ( j ) ; int lba = rangea [ NUM ] ; int uba = rangea [ NUM ] ; int [ ] rangeb = ( ...
private static void accumulate ( Vector ranges , int lb , int ub ) { if ( lb <= ub ) { ranges . add ( new int [ ] { lb , ub } ) ; for ( int j = ranges . size ( ) - _NUM ; j >= _NUM ; -- j ) { int [ ] rangea = ( int [ ] ) ranges . elementAt ( j ) ; int lba = rangea [ _NUM ] ; int uba = rangea [ _NUM ] ; int [ ] rangeb =...
235
java-test-1405
java
What does the code initialize ?
the xdm interface
public void initialize ( ) throws Payload Exception , Network Exception { try { User Profile profile = Ims Module . get Ims User Profile ( ) ; xdm Server Addr = profile . get Xdm Server Addr ( ) ; xdm Server Login = profile . get Xdm Server Login ( ) ; xdm Server Pwd = profile . get Xdm Server Password ( ) ; Http Respo...
public void initialize ( ) throws PayloadException , NetworkException { try { UserProfile profile = ImsModule . getImsUserProfile ( ) ; xdmServerAddr = profile . getXdmServerAddr ( ) ; xdmServerLogin = profile . getXdmServerLogin ( ) ; xdmServerPwd = profile . getXdmServerPassword ( ) ; HttpResponse response = getXcapD...
438
java-test-1409
java
What does a method write to a field ?
an unknown concrete type
private static synchronized void record Bottom ( RVM Method m , RVM Field f ) { if ( ! f . is Private ( ) ) { return ; } if ( is Trouble ( f ) ) { return ; } Field Database . Field Database Entry entry = db . find Or Create Entry ( f ) ; Field Database . Field Writer Info info = entry . find Method Info ( m ) ; if ( VM...
private static synchronized void recordBottom ( RVMMethod m , RVMField f ) { if ( ! f . isPrivate ( ) ) { return ; } if ( isTrouble ( f ) ) { return ; } FieldDatabase . FieldDatabaseEntry entry = db . findOrCreateEntry ( f ) ; FieldDatabase . FieldWriterInfo info = entry . findMethodInfo ( m ) ; if ( VM . VerifyAsserti...
132
java-test-1415
java
How does helper track the gauge whitelist ?
using defaults
@ Suppress Warnings ( STRING ) private void init Gauge Whitelist ( ) { Set < String > set = new Hash Set < String > ( ) ; set . add ( STRING ) ; set . add ( STRING ) ; set . add ( STRING ) ; set . add ( STRING ) ; String s = Gauge Whitelist . get ( ) ; if ( ! s . is Empty ( ) ) { String [ ] parts = s . split ( STRING )...
@ SuppressWarnings ( STRING ) private void initGaugeWhitelist ( ) { Set < String > set = new HashSet < String > ( ) ; set . add ( STRING ) ; set . add ( STRING ) ; set . add ( STRING ) ; set . add ( STRING ) ; String s = GaugeWhitelist . get ( ) ; if ( ! s . isEmpty ( ) ) { String [ ] parts = s . split ( STRING ) ; if ...
128
java-test-1416
java
What does helper track using defaults ?
the gauge whitelist
@ Suppress Warnings ( STRING ) private void init Gauge Whitelist ( ) { Set < String > set = new Hash Set < String > ( ) ; set . add ( STRING ) ; set . add ( STRING ) ; set . add ( STRING ) ; set . add ( STRING ) ; String s = Gauge Whitelist . get ( ) ; if ( ! s . is Empty ( ) ) { String [ ] parts = s . split ( STRING )...
@ SuppressWarnings ( STRING ) private void initGaugeWhitelist ( ) { Set < String > set = new HashSet < String > ( ) ; set . add ( STRING ) ; set . add ( STRING ) ; set . add ( STRING ) ; set . add ( STRING ) ; String s = GaugeWhitelist . get ( ) ; if ( ! s . isEmpty ( ) ) { String [ ] parts = s . split ( STRING ) ; if ...
128
java-test-1419
java
What does the code generate from a given session key ?
a sub - sessionkey
public Encryption Key ( Encryption Key key ) throws Krb Crypto Exception { key Value = Confounder . bytes ( key . key Value . length ) ; for ( int i = NUM ; i < key Value . length ; i ++ ) { key Value [ i ] ^= key . key Value [ i ] ; } key Type = key . key Type ; try { if ( ( key Type == Encrypted Data . ETYPE DES CBC ...
public EncryptionKey ( EncryptionKey key ) throws KrbCryptoException { keyValue = Confounder . bytes ( key . keyValue . length ) ; for ( int i = _NUM ; i < keyValue . length ; i ++ ) { keyValue [ i ] ^= key . keyValue [ i ] ; } keyType = key . keyType ; try { if ( ( keyType == EncryptedData . ETYPE_DES_CBC_MD5 ) || ( k...
350
java-test-1420
java
What did each user have ?
their own copy of the blockchain
public void copy Checkpoints From Installation Directory ( String destination Checkpoints Filename ) throws IO Exception { if ( destination Checkpoints Filename == null ) { return ; } File destination Checkpoints = new File ( destination Checkpoints Filename ) ; if ( ! destination Checkpoints . exists ( ) ) { File dire...
public void copyCheckpointsFromInstallationDirectory ( String destinationCheckpointsFilename ) throws IOException { if ( destinationCheckpointsFilename == null ) { return ; } File destinationCheckpoints = new File ( destinationCheckpointsFilename ) ; if ( ! destinationCheckpoints . exists ( ) ) { File directory = new F...
260
java-test-1421
java
What supports on the same machine ?
multiple users
public void copy Checkpoints From Installation Directory ( String destination Checkpoints Filename ) throws IO Exception { if ( destination Checkpoints Filename == null ) { return ; } File destination Checkpoints = new File ( destination Checkpoints Filename ) ; if ( ! destination Checkpoints . exists ( ) ) { File dire...
public void copyCheckpointsFromInstallationDirectory ( String destinationCheckpointsFilename ) throws IOException { if ( destinationCheckpointsFilename == null ) { return ; } File destinationCheckpoints = new File ( destinationCheckpointsFilename ) ; if ( ! destinationCheckpoints . exists ( ) ) { File directory = new F...
260
java-test-1422
java
For what purpose is the checkpoints file installed into the program installation directory ?
to support multiple users on the same machine
public void copy Checkpoints From Installation Directory ( String destination Checkpoints Filename ) throws IO Exception { if ( destination Checkpoints Filename == null ) { return ; } File destination Checkpoints = new File ( destination Checkpoints Filename ) ; if ( ! destination Checkpoints . exists ( ) ) { File dire...
public void copyCheckpointsFromInstallationDirectory ( String destinationCheckpointsFilename ) throws IOException { if ( destinationCheckpointsFilename == null ) { return ; } File destinationCheckpoints = new File ( destinationCheckpointsFilename ) ; if ( ! destinationCheckpoints . exists ( ) ) { File directory = new F...
260
java-test-1423
java
What has their own copy of the blockchain ?
each user
public void copy Checkpoints From Installation Directory ( String destination Checkpoints Filename ) throws IO Exception { if ( destination Checkpoints Filename == null ) { return ; } File destination Checkpoints = new File ( destination Checkpoints Filename ) ; if ( ! destination Checkpoints . exists ( ) ) { File dire...
public void copyCheckpointsFromInstallationDirectory ( String destinationCheckpointsFilename ) throws IOException { if ( destinationCheckpointsFilename == null ) { return ; } File destinationCheckpoints = new File ( destinationCheckpointsFilename ) ; if ( ! destinationCheckpoints . exists ( ) ) { File directory = new F...
260
java-test-1424
java
Where did multiple users support ?
on the same machine
public void copy Checkpoints From Installation Directory ( String destination Checkpoints Filename ) throws IO Exception { if ( destination Checkpoints Filename == null ) { return ; } File destination Checkpoints = new File ( destination Checkpoints Filename ) ; if ( ! destination Checkpoints . exists ( ) ) { File dire...
public void copyCheckpointsFromInstallationDirectory ( String destinationCheckpointsFilename ) throws IOException { if ( destinationCheckpointsFilename == null ) { return ; } File destinationCheckpoints = new File ( destinationCheckpointsFilename ) ; if ( ! destinationCheckpoints . exists ( ) ) { File directory = new F...
260
java-test-1426
java
In which direction does this method traverse the dfa ?
from the given position in the string
private boolean next String ( int state , int position ) { int c = NUM ; if ( position < seek Bytes Ref . length ( ) ) { c = seek Bytes Ref . byte At ( position ) & NUM ; if ( c ++ == NUM ) return BOOL ; } seek Bytes Ref . set Length ( position ) ; visited [ state ] = cur Gen ; final int num Transitions = automaton . g...
private boolean nextString ( int state , int position ) { int c = _NUM ; if ( position < seekBytesRef . length ( ) ) { c = seekBytesRef . byteAt ( position ) & _NUM ; if ( c ++ == _NUM ) return _BOOL ; } seekBytesRef . setLength ( position ) ; visited [ state ] = curGen ; final int numTransitions = automaton . getNumTr...
309
java-test-1427
java
What can this not satisfy ?
the machine
private boolean next String ( int state , int position ) { int c = NUM ; if ( position < seek Bytes Ref . length ( ) ) { c = seek Bytes Ref . byte At ( position ) & NUM ; if ( c ++ == NUM ) return BOOL ; } seek Bytes Ref . set Length ( position ) ; visited [ state ] = cur Gen ; final int num Transitions = automaton . g...
private boolean nextString ( int state , int position ) { int c = _NUM ; if ( position < seekBytesRef . length ( ) ) { c = seekBytesRef . byteAt ( position ) & _NUM ; if ( c ++ == _NUM ) return _BOOL ; } seekBytesRef . setLength ( position ) ; visited [ state ] = curGen ; final int numTransitions = automaton . getNumTr...
309
java-test-1428
java
Till when be more solutions be if this method returns false if this method returns false ?
still
private boolean next String ( int state , int position ) { int c = NUM ; if ( position < seek Bytes Ref . length ( ) ) { c = seek Bytes Ref . byte At ( position ) & NUM ; if ( c ++ == NUM ) return BOOL ; } seek Bytes Ref . set Length ( position ) ; visited [ state ] = cur Gen ; final int num Transitions = automaton . g...
private boolean nextString ( int state , int position ) { int c = _NUM ; if ( position < seekBytesRef . length ( ) ) { c = seekBytesRef . byteAt ( position ) & _NUM ; if ( c ++ == _NUM ) return _BOOL ; } seekBytesRef . setLength ( position ) ; visited [ state ] = curGen ; final int numTransitions = automaton . getNumTr...
309