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-3208
java
What do a new content verifier use ?
default algorithm
public static Content Verifier Provider create Default Content Verifier ( Public Key key ) throws Operator Creation Exception { if ( STRING == key . get Algorithm ( ) ) { return SUN VERIFICATION BUILDER . build ( key ) ; } else { return BC VERIFICATION BUILDER . build ( key ) ; } }
public static ContentVerifierProvider createDefaultContentVerifier ( PublicKey key ) throws OperatorCreationException { if ( STRING == key . getAlgorithm ( ) ) { return SUN_VERIFICATION_BUILDER . build ( key ) ; } else { return BC_VERIFICATION_BUILDER . build ( key ) ; } }
56
java-test-3209
java
When do local cache update ?
when command changed
private void update Command Cache ( String group , String command , boolean need Notify ) { String old Command = command Cache . get ( group ) ; if ( ! command . equals ( old Command ) ) { command Cache . put ( group , command ) ; if ( need Notify ) { notify Executor . execute ( new Notify Command ( group , command ) )...
private void updateCommandCache ( String group , String command , boolean needNotify ) { String oldCommand = commandCache . get ( group ) ; if ( ! command . equals ( oldCommand ) ) { commandCache . put ( group , command ) ; if ( needNotify ) { notifyExecutor . execute ( new NotifyCommand ( group , command ) ) ; LoggerU...
112
java-test-3210
java
Where did the key arrangement store ?
in settings provider
protected void update Keys ( ) { Button Info [ ] buttons = Navigation Buttons . load Button Map ( m Context ) ; int visible Count = NUM ; for ( int i = NUM ; i < buttons . length ; i ++ ) { int id = BUTTON IDS [ i ] ; Button Info info = buttons [ m Vertical ? buttons . length - i - NUM : i ] ; Key Button View button = ...
protected void updateKeys ( ) { ButtonInfo [ ] buttons = NavigationButtons . loadButtonMap ( mContext ) ; int visibleCount = _NUM ; for ( int i = _NUM ; i < buttons . length ; i ++ ) { int id = BUTTON_IDS [ i ] ; ButtonInfo info = buttons [ mVertical ? buttons . length - i - _NUM : i ] ; KeyButtonView button = ( KeyBut...
200
java-test-3211
java
How does the code update the buttons key arrangement stored in settings provider ?
according to the
protected void update Keys ( ) { Button Info [ ] buttons = Navigation Buttons . load Button Map ( m Context ) ; int visible Count = NUM ; for ( int i = NUM ; i < buttons . length ; i ++ ) { int id = BUTTON IDS [ i ] ; Button Info info = buttons [ m Vertical ? buttons . length - i - NUM : i ] ; Key Button View button = ...
protected void updateKeys ( ) { ButtonInfo [ ] buttons = NavigationButtons . loadButtonMap ( mContext ) ; int visibleCount = _NUM ; for ( int i = _NUM ; i < buttons . length ; i ++ ) { int id = BUTTON_IDS [ i ] ; ButtonInfo info = buttons [ mVertical ? buttons . length - i - _NUM : i ] ; KeyButtonView button = ( KeyBut...
200
java-test-3212
java
What stored in settings provider ?
the key arrangement
protected void update Keys ( ) { Button Info [ ] buttons = Navigation Buttons . load Button Map ( m Context ) ; int visible Count = NUM ; for ( int i = NUM ; i < buttons . length ; i ++ ) { int id = BUTTON IDS [ i ] ; Button Info info = buttons [ m Vertical ? buttons . length - i - NUM : i ] ; Key Button View button = ...
protected void updateKeys ( ) { ButtonInfo [ ] buttons = NavigationButtons . loadButtonMap ( mContext ) ; int visibleCount = _NUM ; for ( int i = _NUM ; i < buttons . length ; i ++ ) { int id = BUTTON_IDS [ i ] ; ButtonInfo info = buttons [ mVertical ? buttons . length - i - _NUM : i ] ; KeyButtonView button = ( KeyBut...
200
java-test-3214
java
What does the code add for consumption by some query ?
a chunk of intermediate results
protected boolean accept Chunk ( final I Chunk Message < I Binding Set > msg ) { if ( msg == null ) throw new Illegal Argument Exception ( ) ; if ( ! msg . is Materialized ( ) ) throw new Illegal State Exception ( ) ; final Abstract Running Query q = get Running Query ( msg . get Query Id ( ) ) ; if ( q == null ) { thr...
protected boolean acceptChunk ( final IChunkMessage < IBindingSet > msg ) { if ( msg == null ) throw new IllegalArgumentException ( ) ; if ( ! msg . isMaterialized ( ) ) throw new IllegalStateException ( ) ; final AbstractRunningQuery q = getRunningQuery ( msg . getQueryId ( ) ) ; if ( q == null ) { throw new IllegalSt...
137
java-test-3215
java
For what purpose does the code add a chunk of intermediate results ?
for consumption by some query
protected boolean accept Chunk ( final I Chunk Message < I Binding Set > msg ) { if ( msg == null ) throw new Illegal Argument Exception ( ) ; if ( ! msg . is Materialized ( ) ) throw new Illegal State Exception ( ) ; final Abstract Running Query q = get Running Query ( msg . get Query Id ( ) ) ; if ( q == null ) { thr...
protected boolean acceptChunk ( final IChunkMessage < IBindingSet > msg ) { if ( msg == null ) throw new IllegalArgumentException ( ) ; if ( ! msg . isMaterialized ( ) ) throw new IllegalStateException ( ) ; final AbstractRunningQuery q = getRunningQuery ( msg . getQueryId ( ) ) ; if ( q == null ) { throw new IllegalSt...
137
java-test-3216
java
How does the code create a clone ?
by serializing object and deserializing byte stream
public static Object serialize Clone ( final Object obj ) throws IO Exception , Class Not Found Exception { Byte Array Output Stream mem Out = new Byte Array Output Stream ( ) ; Object Output Stream obj Out = new Object Output Stream ( mem Out ) ; obj Out . write Object ( obj ) ; obj Out . close ( ) ; Byte Array Input ...
public static Object serializeClone ( final Object obj ) throws IOException , ClassNotFoundException { ByteArrayOutputStream memOut = new ByteArrayOutputStream ( ) ; ObjectOutputStream objOut = new ObjectOutputStream ( memOut ) ; objOut . writeObject ( obj ) ; objOut . close ( ) ; ByteArrayInputStream src = new ByteArr...
111
java-test-3217
java
What does the code deserializ ?
byte stream
public static Object serialize Clone ( final Object obj ) throws IO Exception , Class Not Found Exception { Byte Array Output Stream mem Out = new Byte Array Output Stream ( ) ; Object Output Stream obj Out = new Object Output Stream ( mem Out ) ; obj Out . write Object ( obj ) ; obj Out . close ( ) ; Byte Array Input ...
public static Object serializeClone ( final Object obj ) throws IOException , ClassNotFoundException { ByteArrayOutputStream memOut = new ByteArrayOutputStream ( ) ; ObjectOutputStream objOut = new ObjectOutputStream ( memOut ) ; objOut . writeObject ( obj ) ; objOut . close ( ) ; ByteArrayInputStream src = new ByteArr...
111
java-test-3218
java
When is this method called ?
before or after any rows have been processed
public void fire ( Session session , int type , boolean before Action ) { if ( row Based || before != before Action || ( type Mask & type ) == NUM ) { return ; } load ( ) ; Connection c2 = session . create Connection ( BOOL ) ; boolean old = BOOL ; if ( type != Trigger . SELECT ) { old = session . set Commit Or Rollbac...
public void fire ( Session session , int type , boolean beforeAction ) { if ( rowBased || before != beforeAction || ( typeMask & type ) == _NUM ) { return ; } load ( ) ; Connection c2 = session . createConnection ( _BOOL ) ; boolean old = _BOOL ; if ( type != Trigger . SELECT ) { old = session . setCommitOrRollbackDisa...
236
java-test-3219
java
What does the code call if required ?
the trigger class
public void fire ( Session session , int type , boolean before Action ) { if ( row Based || before != before Action || ( type Mask & type ) == NUM ) { return ; } load ( ) ; Connection c2 = session . create Connection ( BOOL ) ; boolean old = BOOL ; if ( type != Trigger . SELECT ) { old = session . set Commit Or Rollbac...
public void fire ( Session session , int type , boolean beforeAction ) { if ( rowBased || before != beforeAction || ( typeMask & type ) == _NUM ) { return ; } load ( ) ; Connection c2 = session . createConnection ( _BOOL ) ; boolean old = _BOOL ; if ( type != Trigger . SELECT ) { old = session . setCommitOrRollbackDisa...
236
java-test-3224
java
What do the object print ?
to end - user
final public void print ( Object o ) { try { Buffered Writer writer = new Buffered Writer ( resp . get Writer ( ) ) ; writer . write ( o . to String ( ) ) ; writer . flush ( ) ; } catch ( Exception e ) { if ( log . is Error Enabled ( ) ) log . error ( o , e ) ; } }
final public void print ( Object o ) { try { BufferedWriter writer = new BufferedWriter ( resp . getWriter ( ) ) ; writer . write ( o . toString ( ) ) ; writer . flush ( ) ; } catch ( Exception e ) { if ( log . isErrorEnabled ( ) ) log . error ( o , e ) ; } }
73
java-test-3226
java
When is the program running if that ' s the case ?
already
public static boolean lock ( ) throws IO Exception { if ( locked ) return BOOL ; if ( lock . exists ( ) ) return BOOL ; lock . create New File ( ) ; lock . delete On Exit ( ) ; locked = BOOL ; return BOOL ; }
public static boolean lock ( ) throws IOException { if ( locked ) return _BOOL ; if ( lock . exists ( ) ) return _BOOL ; lock . createNewFile ( ) ; lock . deleteOnExit ( ) ; locked = _BOOL ; return _BOOL ; }
52
java-test-3227
java
What does the code not request ?
its deletion on program termination
public static boolean lock ( ) throws IO Exception { if ( locked ) return BOOL ; if ( lock . exists ( ) ) return BOOL ; lock . create New File ( ) ; lock . delete On Exit ( ) ; locked = BOOL ; return BOOL ; }
public static boolean lock ( ) throws IOException { if ( locked ) return _BOOL ; if ( lock . exists ( ) ) return _BOOL ; lock . createNewFile ( ) ; lock . deleteOnExit ( ) ; locked = _BOOL ; return _BOOL ; }
52
java-test-3228
java
What does the code create if it ' s not present and requests its deletion on program termination or informs that the program is already running if that ' s the case ?
the lock file
public static boolean lock ( ) throws IO Exception { if ( locked ) return BOOL ; if ( lock . exists ( ) ) return BOOL ; lock . create New File ( ) ; lock . delete On Exit ( ) ; locked = BOOL ; return BOOL ; }
public static boolean lock ( ) throws IOException { if ( locked ) return _BOOL ; if ( lock . exists ( ) ) return _BOOL ; lock . createNewFile ( ) ; lock . deleteOnExit ( ) ; locked = _BOOL ; return _BOOL ; }
52
java-test-3229
java
Does the code request its deletion on program termination ?
No
public static boolean lock ( ) throws IO Exception { if ( locked ) return BOOL ; if ( lock . exists ( ) ) return BOOL ; lock . create New File ( ) ; lock . delete On Exit ( ) ; locked = BOOL ; return BOOL ; }
public static boolean lock ( ) throws IOException { if ( locked ) return _BOOL ; if ( lock . exists ( ) ) return _BOOL ; lock . createNewFile ( ) ; lock . deleteOnExit ( ) ; locked = _BOOL ; return _BOOL ; }
52
java-test-3232
java
What does the code add ?
the given taxon
public int add Taxon ( Taxon taxon ) { int index = get Taxon Index ( taxon ) ; if ( index == - NUM ) { taxa . add ( taxon ) ; fire Taxon Added ( taxon ) ; index = taxa . size ( ) - NUM ; } return index ; }
public int addTaxon ( Taxon taxon ) { int index = getTaxonIndex ( taxon ) ; if ( index == - _NUM ) { taxa . add ( taxon ) ; fireTaxonAdded ( taxon ) ; index = taxa . size ( ) - _NUM ; } return index ; }
56
java-test-3233
java
What does the code get if the algorithm is available if the algorithm is available ?
a sha - 256 hash of the input string
private static String try Hash String Sha 256 ( Context context , String input ) { String salt = create Salt ( context ) ; try { Message Digest hash = Message Digest . get Instance ( STRING ) ; hash . reset ( ) ; hash . update ( input . get Bytes ( ) ) ; hash . update ( salt . get Bytes ( ) ) ; byte [ ] hashed Bytes = ...
private static String tryHashStringSha256 ( Context context , String input ) { String salt = createSalt ( context ) ; try { MessageDigest hash = MessageDigest . getInstance ( STRING ) ; hash . reset ( ) ; hash . update ( input . getBytes ( ) ) ; hash . update ( salt . getBytes ( ) ) ; byte [ ] hashedBytes = hash . dige...
106
java-test-3234
java
What do the systemmembermbean represent ?
the specified distributed member or null
public Object Name manage System Member ( Distributed Member distributed Member ) throws Admin Exception , Malformed Object Name Exception { try { System Member member = lookup System Member ( distributed Member ) ; if ( member == null ) return null ; System Member Jmx Impl jmx = ( System Member Jmx Impl ) member ; Obj...
public ObjectName manageSystemMember ( DistributedMember distributedMember ) throws AdminException , MalformedObjectNameException { try { SystemMember member = lookupSystemMember ( distributedMember ) ; if ( member == null ) return null ; SystemMemberJmxImpl jmx = ( SystemMemberJmxImpl ) member ; ObjectName oname = new...
184
java-test-3235
java
What is representing the specified distributed member or null ?
the systemmembermbean
public Object Name manage System Member ( Distributed Member distributed Member ) throws Admin Exception , Malformed Object Name Exception { try { System Member member = lookup System Member ( distributed Member ) ; if ( member == null ) return null ; System Member Jmx Impl jmx = ( System Member Jmx Impl ) member ; Obj...
public ObjectName manageSystemMember ( DistributedMember distributedMember ) throws AdminException , MalformedObjectNameException { try { SystemMember member = lookupSystemMember ( distributedMember ) ; if ( member == null ) return null ; SystemMemberJmxImpl jmx = ( SystemMemberJmxImpl ) member ; ObjectName oname = new...
184
java-test-3237
java
What does the code convert into a string ?
an input number object
protected String convert To String ( Object value ) throws Throwable { String result = null ; if ( use Locale Format && value instanceof Number ) { Number Format format = get Format ( ) ; format . set Grouping Used ( BOOL ) ; result = format . format ( value ) ; } else { result = value . to String ( ) ; } return result...
protected String convertToString ( Object value ) throws Throwable { String result = null ; if ( useLocaleFormat && value instanceof Number ) { NumberFormat format = getFormat ( ) ; format . setGroupingUsed ( _BOOL ) ; result = format . format ( value ) ; } else { result = value . toString ( ) ; } return result ; }
72
java-test-3238
java
What does the code parse from the result ?
the races
private List < Race > parse Races ( String json ) { List < Race > result = new Array List < > ( ) ; if ( json == null ) { return null ; } JSON Parser parser = new JSON Parser ( ) ; try { JSON Object root = ( JSON Object ) parser . parse ( json . trim ( ) ) ; JSON Array races = ( JSON Array ) root . get ( STRING ) ; for...
private List < Race > parseRaces ( String json ) { List < Race > result = new ArrayList < > ( ) ; if ( json == null ) { return null ; } JSONParser parser = new JSONParser ( ) ; try { JSONObject root = ( JSONObject ) parser . parse ( json . trim ( ) ) ; JSONArray races = ( JSONArray ) root . get ( STRING ) ; for ( Objec...
162
java-test-3241
java
What does the code update ?
the cluster ' s tenant
private static void update Cluster Tenant ( Db Client db Client , URI data Center Id , URI tenant Id ) { List < Named Element > clusters Uris = list Children ( db Client , data Center Id , Cluster . class , STRING , STRING ) ; for ( Named Element cluster Uri : clusters Uris ) { Cluster cluster = db Client . query Objec...
private static void updateClusterTenant ( DbClient dbClient , URI dataCenterId , URI tenantId ) { List < NamedElement > clustersUris = listChildren ( dbClient , dataCenterId , Cluster . class , STRING , STRING ) ; for ( NamedElement clusterUri : clustersUris ) { Cluster cluster = dbClient . queryObject ( Cluster . clas...
110
java-test-3242
java
What might extensions register with this method with this method ?
additional aggregation functions
public static void register New Aggregation Function ( String name , Class < ? extends Aggregation Function > clazz , Aggregation Function Meta Data Provider meta Data Provider ) { AGGREATION FUNCTIONS . put ( name , clazz ) ; AGGREGATION FUNCTIONS META DATA PROVIDER . put ( name , meta Data Provider ) ; }
public static void registerNewAggregationFunction ( String name , Class < ? extends AggregationFunction > clazz , AggregationFunctionMetaDataProvider metaDataProvider ) { AGGREATION_FUNCTIONS . put ( name , clazz ) ; AGGREGATION_FUNCTIONS_META_DATA_PROVIDER . put ( name , metaDataProvider ) ; }
56
java-test-3244
java
What does this condition reset periodically ?
its policy configuration information
private void reset Policy Config ( Map env ) throws Policy Exception , SSO Exception { if ( current Time Millis ( ) > policy Config Expires At ) { String realm Dn = Collection Helper . get Map Attr ( env , Policy Evaluator . REALM DN ) ; if ( realm Dn == null ) { debug . error ( STRING ) ; throw new Policy Exception ( ...
private void resetPolicyConfig ( Map env ) throws PolicyException , SSOException { if ( currentTimeMillis ( ) > policyConfigExpiresAt ) { String realmDn = CollectionHelper . getMapAttr ( env , PolicyEvaluator . REALM_DN ) ; if ( realmDn == null ) { debug . error ( STRING ) ; throw new PolicyException ( ResBundleUtils ....
115
java-test-3245
java
Where do shapes represent the six sides of a block ?
in a horizontal stack
private Shape [ ] create Horizontal Block ( double x0 , double width , double y0 , double y1 , boolean inverted ) { Shape [ ] result = new Shape [ NUM ] ; Point 2 D p00 = new Point 2 D . Double ( y0 , x0 ) ; Point 2 D p01 = new Point 2 D . Double ( y0 , x0 + width ) ; Point 2 D p02 = new Point 2 D . Double ( p01 . get ...
private Shape [ ] createHorizontalBlock ( double x0 , double width , double y0 , double y1 , boolean inverted ) { Shape [ ] result = new Shape [ _NUM ] ; Point2D p00 = new Point2D . Double ( y0 , x0 ) ; Point2D p01 = new Point2D . Double ( y0 , x0 + width ) ; Point2D p02 = new Point2D . Double ( p01 . getX ( ) + getXOf...
1,058
java-test-3246
java
Where did all strings pad ?
on the right to the length of the longest one
public static Vector pad Right ( Collection strings ) { Vector v = new Vector ( ) ; int length = max Length ( strings ) ; for ( Iterator i = strings . iterator ( ) ; i . has Next ( ) ; ) { String string = ( String ) i . next ( ) ; v . add ( pad Right ( string , length ) ) ; } return v ; }
public static Vector padRight ( Collection strings ) { Vector v = new Vector ( ) ; int length = maxLength ( strings ) ; for ( Iterator i = strings . iterator ( ) ; i . hasNext ( ) ; ) { String string = ( String ) i . next ( ) ; v . add ( padRight ( string , length ) ) ; } return v ; }
77
java-test-3251
java
What does the code load if it doesn ' t exist ?
the name mapper
protected void load Mapper ( ) throws SMS Exception { String Buffer name Map Filename = new String Buffer ( m Root Dir ) ; name Map Filename . append ( File . separator Char ) ; name Map Filename . append ( DEFAULT NAMEMAP FILENAME ) ; m Name Map Handle = new File ( name Map Filename . to String ( ) ) ; if ( m Name Map...
protected void loadMapper ( ) throws SMSException { StringBuffer nameMapFilename = new StringBuffer ( mRootDir ) ; nameMapFilename . append ( File . separatorChar ) ; nameMapFilename . append ( DEFAULT_NAMEMAP_FILENAME ) ; mNameMapHandle = new File ( nameMapFilename . toString ( ) ) ; if ( mNameMapHandle . isFile ( ) )...
438
java-test-3252
java
What handles multi - legged securidgrant ?
securidretriever
public OIDC Tokens acquire Tokens By Secur ID ( String username , String passcode , Secur ID Retriever secur Id Retriever , Token Spec token Spec ) throws OIDC Client Exception , OIDC Server Exception , Token Validation Exception , SSL Connection Exception { Validate . not Empty ( username , STRING ) ; Validate . not E...
public OIDCTokens acquireTokensBySecurID ( String username , String passcode , SecurIDRetriever securIdRetriever , TokenSpec tokenSpec ) throws OIDCClientException , OIDCServerException , TokenValidationException , SSLConnectionException { Validate . notEmpty ( username , STRING ) ; Validate . notEmpty ( passcode , STR...
175
java-test-3253
java
What does securidretriever handle ?
multi - legged securidgrant
public OIDC Tokens acquire Tokens By Secur ID ( String username , String passcode , Secur ID Retriever secur Id Retriever , Token Spec token Spec ) throws OIDC Client Exception , OIDC Server Exception , Token Validation Exception , SSL Connection Exception { Validate . not Empty ( username , STRING ) ; Validate . not E...
public OIDCTokens acquireTokensBySecurID ( String username , String passcode , SecurIDRetriever securIdRetriever , TokenSpec tokenSpec ) throws OIDCClientException , OIDCServerException , TokenValidationException , SSLConnectionException { Validate . notEmpty ( username , STRING ) ; Validate . notEmpty ( passcode , STR...
175
java-test-3256
java
Till when did time elapse ?
until now
public static String format Elapsed ( Timestamp start ) { if ( start == null ) return STRING ; long start Time = start . get Time ( ) ; long end Time = System . current Time Millis ( ) ; return format Elapsed ( end Time - start Time ) ; }
public static String formatElapsed ( Timestamp start ) { if ( start == null ) return STRING ; long startTime = start . getTime ( ) ; long endTime = System . currentTimeMillis ( ) ; return formatElapsed ( endTime - startTime ) ; }
54
java-test-3258
java
What does the code add to the list of biomes allowed to generate ?
all biomes of this type
public void add Biome Type ( Biome Dictionary . Type type ) { Array List < Biome Gen Base > entry List = new Array List < Biome Gen Base > ( ) ; entry List . add All ( Arrays . as List ( Biome Dictionary . get Biomes For Type ( type ) ) ) ; entry List . remove ( Biome Gen Base . hell ) ; entry List . remove ( Biome Gen...
public void addBiomeType ( BiomeDictionary . Type type ) { ArrayList < BiomeGenBase > entryList = new ArrayList < BiomeGenBase > ( ) ; entryList . addAll ( Arrays . asList ( BiomeDictionary . getBiomesForType ( type ) ) ) ; entryList . remove ( BiomeGenBase . hell ) ; entryList . remove ( BiomeGenBase . sky ) ; Iterato...
168
java-test-3261
java
What is displaying rows of data corresponding to where the user is currently pointing at ?
a overlaying rectangle
private void draw Overlay Info ( Graphics 2 D g , Point position ) { if ( m Reporting Container == null ) { return ; } int ascent = m Default Font Metrics . get Ascent ( ) ; int label Column Width = NUM ; int data Column Width = NUM ; int overlay Height = OVERLAY INFO PADDING * NUM + ascent + OVERLAY INFO LINE SPACING ...
private void drawOverlayInfo ( Graphics2D g , Point position ) { if ( mReportingContainer == null ) { return ; } int ascent = mDefaultFontMetrics . getAscent ( ) ; int labelColumnWidth = _NUM ; int dataColumnWidth = _NUM ; int overlayHeight = OVERLAY_INFO_PADDING * _NUM + ascent + OVERLAY_INFO_LINE_SPACING ; String con...
660
java-test-3262
java
What do a overlaying rectangle display ?
rows of data corresponding to where the user is currently pointing at
private void draw Overlay Info ( Graphics 2 D g , Point position ) { if ( m Reporting Container == null ) { return ; } int ascent = m Default Font Metrics . get Ascent ( ) ; int label Column Width = NUM ; int data Column Width = NUM ; int overlay Height = OVERLAY INFO PADDING * NUM + ascent + OVERLAY INFO LINE SPACING ...
private void drawOverlayInfo ( Graphics2D g , Point position ) { if ( mReportingContainer == null ) { return ; } int ascent = mDefaultFontMetrics . getAscent ( ) ; int labelColumnWidth = _NUM ; int dataColumnWidth = _NUM ; int overlayHeight = OVERLAY_INFO_PADDING * _NUM + ascent + OVERLAY_INFO_LINE_SPACING ; String con...
660
java-test-3266
java
What does the code provide ?
a skip fully method
public static void skip Fully ( Input Stream in , long bytes ) throws IO Exception { if ( bytes < NUM ) { throw new Illegal Argument Exception ( STRING + bytes + STRING ) ; } long remaining = bytes ; while ( remaining > NUM ) { long skipped = in . skip ( remaining ) ; if ( skipped <= NUM ) { throw new EOF Exception ( S...
public static void skipFully ( InputStream in , long bytes ) throws IOException { if ( bytes < _NUM ) { throw new IllegalArgumentException ( STRING + bytes + STRING ) ; } long remaining = bytes ; while ( remaining > _NUM ) { long skipped = in . skip ( remaining ) ; if ( skipped <= _NUM ) { throw new EOFException ( STRI...
84
java-test-3267
java
Where did the directories specify ?
in the file path
private void prepare Directories ( File file , Boolean create Path If Missing , Boolean remove Old Output ) { File output Directory ; if ( file . is Directory ( ) ) { output Directory = file ; } else { output Directory = file . get Parent File ( ) ; } if ( ! output Directory . exists ( ) && create Path If Missing ) { i...
private void prepareDirectories ( File file , Boolean createPathIfMissing , Boolean removeOldOutput ) { File outputDirectory ; if ( file . isDirectory ( ) ) { outputDirectory = file ; } else { outputDirectory = file . getParentFile ( ) ; } if ( ! outputDirectory . exists ( ) && createPathIfMissing ) { if ( ! outputDire...
135
java-test-3268
java
What specified in the file path ?
the directories
private void prepare Directories ( File file , Boolean create Path If Missing , Boolean remove Old Output ) { File output Directory ; if ( file . is Directory ( ) ) { output Directory = file ; } else { output Directory = file . get Parent File ( ) ; } if ( ! output Directory . exists ( ) && create Path If Missing ) { i...
private void prepareDirectories ( File file , Boolean createPathIfMissing , Boolean removeOldOutput ) { File outputDirectory ; if ( file . isDirectory ( ) ) { outputDirectory = file ; } else { outputDirectory = file . getParentFile ( ) ; } if ( ! outputDirectory . exists ( ) && createPathIfMissing ) { if ( ! outputDire...
135
java-test-3269
java
What do a model use ?
the arithmetic mean estimator
public double log Marginal Likelihood Arithmetic ( List < Double > v ) { int size = v . size ( ) ; double sum = Log Tricks . log Zero ; for ( int i = NUM ; i < size ; i ++ ) { if ( ! Double . is Na N ( v . get ( i ) ) && ! Double . is Infinite ( v . get ( i ) ) ) { sum = Log Tricks . log Sum ( sum , v . get ( i ) ) ; }...
public double logMarginalLikelihoodArithmetic ( List < Double > v ) { int size = v . size ( ) ; double sum = LogTricks . logZero ; for ( int i = _NUM ; i < size ; i ++ ) { if ( ! Double . isNaN ( v . get ( i ) ) && ! Double . isInfinite ( v . get ( i ) ) ) { sum = LogTricks . logSum ( sum , v . get ( i ) ) ; } else { s...
117
java-test-3270
java
What did it add ?
to result list
public List < Integer > diff Ways To Compute ( String input ) { List < Integer > res = new Linked List < > ( ) ; for ( int i = NUM ; i < input . length ( ) ; i ++ ) { char c = input . char At ( i ) ; if ( c == STRING || c == STRING || c == STRING ) { List < Integer > left = diff Ways To Compute ( input . substring ( NU...
public List < Integer > diffWaysToCompute ( String input ) { List < Integer > res = new LinkedList < > ( ) ; for ( int i = _NUM ; i < input . length ( ) ; i ++ ) { char c = input . charAt ( i ) ; if ( c == STRING || c == STRING || c == STRING ) { List < Integer > left = diffWaysToCompute ( input . substring ( _NUM , i ...
216
java-test-3271
java
How do the input divide into sub - strings ?
according to the operator
public List < Integer > diff Ways To Compute ( String input ) { List < Integer > res = new Linked List < > ( ) ; for ( int i = NUM ; i < input . length ( ) ; i ++ ) { char c = input . char At ( i ) ; if ( c == STRING || c == STRING || c == STRING ) { List < Integer > left = diff Ways To Compute ( input . substring ( NU...
public List < Integer > diffWaysToCompute ( String input ) { List < Integer > res = new LinkedList < > ( ) ; for ( int i = _NUM ; i < input . length ( ) ; i ++ ) { char c = input . charAt ( i ) ; if ( c == STRING || c == STRING || c == STRING ) { List < Integer > left = diffWaysToCompute ( input . substring ( _NUM , i ...
216
java-test-3272
java
What can you modify by overriding this function ?
the save / load behavior
public void save Model ( String file Name ) throws IO Exception { logger . info ( STRING , file Name ) ; num Featuer Bit = SL Parameters . HASHING MASK ; Object Output Stream oos = new Object Output Stream ( new Buffered Output Stream ( new File Output Stream ( file Name ) ) ) ; oos . write Object ( this ) ; oos . clos...
public void saveModel ( String fileName ) throws IOException { logger . info ( STRING , fileName ) ; numFeatuerBit = SLParameters . HASHING_MASK ; ObjectOutputStream oos = new ObjectOutputStream ( new BufferedOutputStream ( new FileOutputStream ( fileName ) ) ) ; oos . writeObject ( this ) ; oos . close ( ) ; logger . ...
81
java-test-3273
java
What is the function used ?
to save the model into disk
public void save Model ( String file Name ) throws IO Exception { logger . info ( STRING , file Name ) ; num Featuer Bit = SL Parameters . HASHING MASK ; Object Output Stream oos = new Object Output Stream ( new Buffered Output Stream ( new File Output Stream ( file Name ) ) ) ; oos . write Object ( this ) ; oos . clos...
public void saveModel ( String fileName ) throws IOException { logger . info ( STRING , fileName ) ; numFeatuerBit = SLParameters . HASHING_MASK ; ObjectOutputStream oos = new ObjectOutputStream ( new BufferedOutputStream ( new FileOutputStream ( fileName ) ) ) ; oos . writeObject ( this ) ; oos . close ( ) ; logger . ...
81
java-test-3274
java
How can you modify the save / load behavior ?
by overriding this function
public void save Model ( String file Name ) throws IO Exception { logger . info ( STRING , file Name ) ; num Featuer Bit = SL Parameters . HASHING MASK ; Object Output Stream oos = new Object Output Stream ( new Buffered Output Stream ( new File Output Stream ( file Name ) ) ) ; oos . write Object ( this ) ; oos . clos...
public void saveModel ( String fileName ) throws IOException { logger . info ( STRING , fileName ) ; numFeatuerBit = SLParameters . HASHING_MASK ; ObjectOutputStream oos = new ObjectOutputStream ( new BufferedOutputStream ( new FileOutputStream ( fileName ) ) ) ; oos . writeObject ( this ) ; oos . close ( ) ; logger . ...
81
java-test-3275
java
What do this function serialize into disk just ?
the whole object
public void save Model ( String file Name ) throws IO Exception { logger . info ( STRING , file Name ) ; num Featuer Bit = SL Parameters . HASHING MASK ; Object Output Stream oos = new Object Output Stream ( new Buffered Output Stream ( new File Output Stream ( file Name ) ) ) ; oos . write Object ( this ) ; oos . clos...
public void saveModel ( String fileName ) throws IOException { logger . info ( STRING , fileName ) ; numFeatuerBit = SLParameters . HASHING_MASK ; ObjectOutputStream oos = new ObjectOutputStream ( new BufferedOutputStream ( new FileOutputStream ( fileName ) ) ) ; oos . writeObject ( this ) ; oos . close ( ) ; logger . ...
81
java-test-3277
java
What does the selected view indexes convert ?
to model indexes
public static int [ ] convert Selection To Model ( J Table table ) { int [ ] selected = table . get Selected Rows ( ) ; for ( int i = NUM ; i < selected . length ; i ++ ) { selected [ i ] = table . convert Row Index To Model ( selected [ i ] ) ; } return selected ; }
public static int [ ] convertSelectionToModel ( JTable table ) { int [ ] selected = table . getSelectedRows ( ) ; for ( int i = _NUM ; i < selected . length ; i ++ ) { selected [ i ] = table . convertRowIndexToModel ( selected [ i ] ) ; } return selected ; }
69
java-test-3278
java
What converts to model indexes ?
the selected view indexes
public static int [ ] convert Selection To Model ( J Table table ) { int [ ] selected = table . get Selected Rows ( ) ; for ( int i = NUM ; i < selected . length ; i ++ ) { selected [ i ] = table . convert Row Index To Model ( selected [ i ] ) ; } return selected ; }
public static int [ ] convertSelectionToModel ( JTable table ) { int [ ] selected = table . getSelectedRows ( ) ; for ( int i = _NUM ; i < selected . length ; i ++ ) { selected [ i ] = table . convertRowIndexToModel ( selected [ i ] ) ; } return selected ; }
69
java-test-3279
java
What does the code create ?
a gzipped archive of the exported db tables
protected final long archive Exported DB Tables ( ) throws Exception { final Native Command native Command = new Native Command ( ) ; final String compressed Archived DB File Name = get Archived Compressed DB Name ( ) ; final String command = STRING + compressed Archived DB File Name + STRING + ffdc Root Directory Name...
protected final long archiveExportedDBTables ( ) throws Exception { final NativeCommand nativeCommand = new NativeCommand ( ) ; final String compressedArchivedDBFileName = getArchivedCompressedDBName ( ) ; final String command = STRING + compressedArchivedDBFileName + STRING + ffdcRootDirectoryName + STRING + DB_FFDC_S...
197
java-test-3282
java
What are encoded the sequence number and the length a prefix ?
in the first atom
protected void encode Line Prefix ( Output Stream out Stream , int length ) throws IO Exception { out Stream . write ( STRING ) ; crc . value = NUM ; tmp [ NUM ] = ( byte ) length ; tmp [ NUM ] = ( byte ) sequence ; sequence = ( sequence + NUM ) & NUM ; encode Atom ( out Stream , tmp , NUM , NUM ) ; }
protected void encodeLinePrefix ( OutputStream outStream , int length ) throws IOException { outStream . write ( STRING ) ; crc . value = _NUM ; tmp [ _NUM ] = ( byte ) length ; tmp [ _NUM ] = ( byte ) sequence ; sequence = ( sequence + _NUM ) & _NUM ; encodeAtom ( outStream , tmp , _NUM , _NUM ) ; }
76
java-test-3286
java
What does return predecessors list without blocks contain ?
' ignore_edge ' attribute
public static List < Block Node > filter Predecessors ( Block Node block ) { List < Block Node > predecessors = block . get Predecessors ( ) ; List < Block Node > list = new Array List < Block Node > ( predecessors . size ( ) ) ; for ( Block Node pred : predecessors ) { Ignore Edge Attr edge Attr = pred . get ( A Type ...
public static List < BlockNode > filterPredecessors ( BlockNode block ) { List < BlockNode > predecessors = block . getPredecessors ( ) ; List < BlockNode > list = new ArrayList < BlockNode > ( predecessors . size ( ) ) ; for ( BlockNode pred : predecessors ) { IgnoreEdgeAttr edgeAttr = pred . get ( AType . IGNORE_EDGE...
119
java-test-3287
java
What contains ' ignore_edge ' attribute ?
return predecessors list without blocks
public static List < Block Node > filter Predecessors ( Block Node block ) { List < Block Node > predecessors = block . get Predecessors ( ) ; List < Block Node > list = new Array List < Block Node > ( predecessors . size ( ) ) ; for ( Block Node pred : predecessors ) { Ignore Edge Attr edge Attr = pred . get ( A Type ...
public static List < BlockNode > filterPredecessors ( BlockNode block ) { List < BlockNode > predecessors = block . getPredecessors ( ) ; List < BlockNode > list = new ArrayList < BlockNode > ( predecessors . size ( ) ) ; for ( BlockNode pred : predecessors ) { IgnoreEdgeAttr edgeAttr = pred . get ( AType . IGNORE_EDGE...
119
java-test-3288
java
How do predecessors list ?
without blocks
public static List < Block Node > filter Predecessors ( Block Node block ) { List < Block Node > predecessors = block . get Predecessors ( ) ; List < Block Node > list = new Array List < Block Node > ( predecessors . size ( ) ) ; for ( Block Node pred : predecessors ) { Ignore Edge Attr edge Attr = pred . get ( A Type ...
public static List < BlockNode > filterPredecessors ( BlockNode block ) { List < BlockNode > predecessors = block . getPredecessors ( ) ; List < BlockNode > list = new ArrayList < BlockNode > ( predecessors . size ( ) ) ; for ( BlockNode pred : predecessors ) { IgnoreEdgeAttr edgeAttr = pred . get ( AType . IGNORE_EDGE...
119
java-test-3289
java
For what purpose was the last keep - alive received the time ?
for a given platform ident
public void handle Keep Alive Signal ( long platform Ident ) { Agent Status Data agent Status Data = agent Status Data Map . get ( platform Ident ) ; if ( null != agent Status Data ) { agent Status Data . set Last Keep Alive Timestamp ( System . current Time Millis ( ) ) ; if ( agent Status Data . get Agent Connection ...
public void handleKeepAliveSignal ( long platformIdent ) { AgentStatusData agentStatusData = agentStatusDataMap . get ( platformIdent ) ; if ( null != agentStatusData ) { agentStatusData . setLastKeepAliveTimestamp ( System . currentTimeMillis ( ) ) ; if ( agentStatusData . getAgentConnection ( ) == AgentConnection . N...
119
java-test-3290
java
What does the pin list not contain ?
the required certs
public boolean chain Is Not Pinned ( List < X509 Certificate > chain ) { for ( X509 Certificate cert : chain ) { String fingerprint = get Fingerprint ( cert ) ; if ( pinned Fingerprints . contains ( fingerprint ) ) { return BOOL ; } } log Pin Failure ( chain ) ; return enforcing ; }
public boolean chainIsNotPinned ( List < X509Certificate > chain ) { for ( X509Certificate cert : chain ) { String fingerprint = getFingerprint ( cert ) ; if ( pinnedFingerprints . contains ( fingerprint ) ) { return _BOOL ; } } logPinFailure ( chain ) ; return enforcing ; }
60
java-test-3291
java
What does not contain the required certs ?
the pin list
public boolean chain Is Not Pinned ( List < X509 Certificate > chain ) { for ( X509 Certificate cert : chain ) { String fingerprint = get Fingerprint ( cert ) ; if ( pinned Fingerprints . contains ( fingerprint ) ) { return BOOL ; } } log Pin Failure ( chain ) ; return enforcing ; }
public boolean chainIsNotPinned ( List < X509Certificate > chain ) { for ( X509Certificate cert : chain ) { String fingerprint = getFingerprint ( cert ) ; if ( pinnedFingerprints . contains ( fingerprint ) ) { return _BOOL ; } } logPinFailure ( chain ) ; return enforcing ; }
60
java-test-3292
java
How does the given chain check ?
against the pin list corresponding to this entry
public boolean chain Is Not Pinned ( List < X509 Certificate > chain ) { for ( X509 Certificate cert : chain ) { String fingerprint = get Fingerprint ( cert ) ; if ( pinned Fingerprints . contains ( fingerprint ) ) { return BOOL ; } } log Pin Failure ( chain ) ; return enforcing ; }
public boolean chainIsNotPinned ( List < X509Certificate > chain ) { for ( X509Certificate cert : chain ) { String fingerprint = getFingerprint ( cert ) ; if ( pinnedFingerprints . contains ( fingerprint ) ) { return _BOOL ; } } logPinFailure ( chain ) ; return enforcing ; }
60
java-test-3293
java
Does the pin list contain the required certs ?
No
public boolean chain Is Not Pinned ( List < X509 Certificate > chain ) { for ( X509 Certificate cert : chain ) { String fingerprint = get Fingerprint ( cert ) ; if ( pinned Fingerprints . contains ( fingerprint ) ) { return BOOL ; } } log Pin Failure ( chain ) ; return enforcing ; }
public boolean chainIsNotPinned ( List < X509Certificate > chain ) { for ( X509Certificate cert : chain ) { String fingerprint = getFingerprint ( cert ) ; if ( pinnedFingerprints . contains ( fingerprint ) ) { return _BOOL ; } } logPinFailure ( chain ) ; return enforcing ; }
60
java-test-3295
java
What does the code find ?
the middle point of two intersect points in circle
private static Point find Midnormal Point ( Point center , Point a , Point b , Rect area , int radius ) { if ( a . y == b . y ) { if ( a . y < center . y ) { return new Point ( ( a . x + b . x ) / NUM , center . y + radius ) ; } return new Point ( ( a . x + b . x ) / NUM , center . y - radius ) ; } if ( a . x == b . x ...
private static Point findMidnormalPoint ( Point center , Point a , Point b , Rect area , int radius ) { if ( a . y == b . y ) { if ( a . y < center . y ) { return new Point ( ( a . x + b . x ) / _NUM , center . y + radius ) ; } return new Point ( ( a . x + b . x ) / _NUM , center . y - radius ) ; } if ( a . x == b . x ...
300
java-test-3296
java
For what purpose does the code process the stats line ?
to sum up all network stats belonging to the uid
@ Override public void process New Lines ( String [ ] lines ) { for ( String line : lines ) { if ( line . starts With ( STRING ) ) { continue ; } if ( line . contains ( STRING ) ) { my Is File Missing = BOOL ; return ; } String [ ] values = line . split ( LINE SPLIT REGEX ) ; if ( values . length < INDEX OF TX BYTES ) ...
@ Override public void processNewLines ( String [ ] lines ) { for ( String line : lines ) { if ( line . startsWith ( STRING ) ) { continue ; } if ( line . contains ( STRING ) ) { myIsFileMissing = _BOOL ; return ; } String [ ] values = line . split ( LINE_SPLIT_REGEX ) ; if ( values . length < INDEX_OF_TX_BYTES ) { con...
257
java-test-3297
java
What does the code process to sum up all network stats belonging to the uid ?
the stats line
@ Override public void process New Lines ( String [ ] lines ) { for ( String line : lines ) { if ( line . starts With ( STRING ) ) { continue ; } if ( line . contains ( STRING ) ) { my Is File Missing = BOOL ; return ; } String [ ] values = line . split ( LINE SPLIT REGEX ) ; if ( values . length < INDEX OF TX BYTES ) ...
@ Override public void processNewLines ( String [ ] lines ) { for ( String line : lines ) { if ( line . startsWith ( STRING ) ) { continue ; } if ( line . contains ( STRING ) ) { myIsFileMissing = _BOOL ; return ; } String [ ] values = line . split ( LINE_SPLIT_REGEX ) ; if ( values . length < INDEX_OF_TX_BYTES ) { con...
257
java-test-3298
java
What does the code create ?
the zlib bytes for pdf images
private byte [ ] to ZLIB ( Rendered Image image , Color bkg , String color Model ) throws IO Exception { return Image Graphics 2 D . to Byte Array ( image , Image Constants . RAW , Image Constants . ENCODING FLATE ASCII 85 , Image Graphics 2 D . get RAW Properties ( bkg , color Model ) ) ; }
private byte [ ] toZLIB ( RenderedImage image , Color bkg , String colorModel ) throws IOException { return ImageGraphics2D . toByteArray ( image , ImageConstants . RAW , ImageConstants . ENCODING_FLATE_ASCII85 , ImageGraphics2D . getRAWProperties ( bkg , colorModel ) ) ; }
64
java-test-3299
java
How is the depth - first search performed ?
in the relative order in which vertexes were added to the graph
public void add Vertex ( Object id ) throws Illegal Argument Exception { if ( initialized ) { throw new Illegal Argument Exception ( ) ; } Vertex vertex = new Vertex ( id ) ; Object existing = vertex Map . put ( id , vertex ) ; if ( existing != null ) { throw new Illegal Argument Exception ( ) ; } vertex List . add ( v...
public void addVertex ( Object id ) throws IllegalArgumentException { if ( initialized ) { throw new IllegalArgumentException ( ) ; } Vertex vertex = new Vertex ( id ) ; Object existing = vertexMap . put ( id , vertex ) ; if ( existing != null ) { throw new IllegalArgumentException ( ) ; } vertexList . add ( vertex ) ;...
74
java-test-3300
java
How were vertexes added to the graph ?
the relative order
public void add Vertex ( Object id ) throws Illegal Argument Exception { if ( initialized ) { throw new Illegal Argument Exception ( ) ; } Vertex vertex = new Vertex ( id ) ; Object existing = vertex Map . put ( id , vertex ) ; if ( existing != null ) { throw new Illegal Argument Exception ( ) ; } vertex List . add ( v...
public void addVertex ( Object id ) throws IllegalArgumentException { if ( initialized ) { throw new IllegalArgumentException ( ) ; } Vertex vertex = new Vertex ( id ) ; Object existing = vertexMap . put ( id , vertex ) ; if ( existing != null ) { throw new IllegalArgumentException ( ) ; } vertexList . add ( vertex ) ;...
74
java-test-3303
java
What does the code compute ?
the effective band size
protected int effective Band Size ( final int dim 1 , final int dim 2 ) { if ( band Size == Double . POSITIVE INFINITY ) { return ( dim 1 > dim 2 ) ? dim 1 : dim 2 ; } if ( band Size >= NUM ) { return ( int ) band Size ; } return ( int ) Math . ceil ( ( dim 1 >= dim 2 ? dim 1 : dim 2 ) * band Size ) ; }
protected int effectiveBandSize ( final int dim1 , final int dim2 ) { if ( bandSize == Double . POSITIVE_INFINITY ) { return ( dim1 > dim2 ) ? dim1 : dim2 ; } if ( bandSize >= _NUM ) { return ( int ) bandSize ; } return ( int ) Math . ceil ( ( dim1 >= dim2 ? dim1 : dim2 ) * bandSize ) ; }
87
java-test-3304
java
What does the code add to the external qualifier map if it is not an alias annotation ?
the annotation class
private void add Unit To External Qual Map ( final Class < ? extends Annotation > anno Class ) { Annotation Mirror mirror = Units Relations Tools . build Anno Mirror With No Prefix ( processing Env , anno Class ) ; if ( ! is Aliased Annotation ( mirror ) ) { String unit Class Name = anno Class . get Canonical Name ( ) ...
private void addUnitToExternalQualMap ( final Class < ? extends Annotation > annoClass ) { AnnotationMirror mirror = UnitsRelationsTools . buildAnnoMirrorWithNoPrefix ( processingEnv , annoClass ) ; if ( ! isAliasedAnnotation ( mirror ) ) { String unitClassName = annoClass . getCanonicalName ( ) ; if ( ! externalQualsM...
193
java-test-3305
java
How do user exist ?
by nick
@ Synchronized ( STRING ) public boolean contains User ( @ Non Null String nick ) { String nick Lowercase = nick . to Lower Case ( locale ) ; return user Nick Map . contains Key ( nick Lowercase ) || private Users . contains Key ( nick Lowercase ) ; }
@ Synchronized ( STRING ) public boolean containsUser ( @ NonNull String nick ) { String nickLowercase = nick . toLowerCase ( locale ) ; return userNickMap . containsKey ( nickLowercase ) || privateUsers . containsKey ( nickLowercase ) ; }
53
java-test-3307
java
When is exceptionally action not invoked ?
when source completes normally
public void test Exceptionally normal Completion ( ) { for ( boolean create Incomplete : new boolean [ ] { BOOL , BOOL } ) for ( Integer v1 : new Integer [ ] { NUM , null } ) { final Atomic Integer a = new Atomic Integer ( NUM ) ; final Completable Future < Integer > f = new Completable Future < > ( ) ; if ( ! create I...
public void testExceptionally_normalCompletion ( ) { for ( boolean createIncomplete : new boolean [ ] { _BOOL , _BOOL } ) for ( Integer v1 : new Integer [ ] { _NUM , null } ) { final AtomicInteger a = new AtomicInteger ( _NUM ) ; final CompletableFuture < Integer > f = new CompletableFuture < > ( ) ; if ( ! createIncom...
149
java-test-3310
java
How are flow scalars presented ?
in one of two forms
private Token scan Flow Scalar ( char style ) { boolean double ; if ( style == STRING ) { double = BOOL ; } else { double = BOOL ; } String Builder chunks = new String Builder ( ) ; Mark start Mark = reader . get Mark ( ) ; char quote = reader . peek ( ) ; reader . forward ( ) ; chunks . append ( scan Flow Scalar Non S...
private Token scanFlowScalar ( char style ) { boolean _double ; if ( style == STRING ) { _double = _BOOL ; } else { _double = _BOOL ; } StringBuilder chunks = new StringBuilder ( ) ; Mark startMark = reader . getMark ( ) ; char quote = reader . peek ( ) ; reader . forward ( ) ; chunks . append ( scanFlowScalarNonSpaces...
169
java-test-3311
java
How are the seconds reported where ?
with 0
public static String time To String ( long period ) { period /= NUM ; final long milsecs = period % NUM ; period /= NUM ; final long secs = period % NUM ; period /= NUM ; final long mins = period % NUM ; period /= NUM ; final long hours = period ; return String . format ( STRING , hours , mins , secs , milsecs ) ; }
public static String timeToString ( long period ) { period /= _NUM ; final long milsecs = period % _NUM ; period /= _NUM ; final long secs = period % _NUM ; period /= _NUM ; final long mins = period % _NUM ; period /= _NUM ; final long hours = period ; return String . format ( STRING , hours , mins , secs , milsecs ) ;...
74
java-test-3313
java
What does the code compute ?
the tau correlation measure
@ Reference ( authors = STRING , title = STRING , booktitle = STRING , url = STRING ) public double compute Tau ( long c , long d , double m , long wd , long bd ) { double tie = ( wd * ( wd - NUM ) + bd * ( bd - NUM ) ) > > > NUM ; return ( c - d ) / Math . sqrt ( ( m - tie ) * m ) ; }
@ Reference ( authors = STRING , title = STRING , booktitle = STRING , url = STRING ) public double computeTau ( long c , long d , double m , long wd , long bd ) { double tie = ( wd * ( wd - _NUM ) + bd * ( bd - _NUM ) ) > > > _NUM ; return ( c - d ) / Math . sqrt ( ( m - tie ) * m ) ; }
86
java-test-3319
java
In which direction do an " object removed " event fire ?
to registered naminglisteners
private void fire Object Removed ( Binding old Bd , long change ID ) { if ( naming Listeners == null || naming Listeners . size ( ) == NUM ) return ; Naming Event e = new Naming Event ( event Src , Naming Event . OBJECT REMOVED , null , old Bd , new Long ( change ID ) ) ; support . queue Event ( e , naming Listeners ) ...
private void fireObjectRemoved ( Binding oldBd , long changeID ) { if ( namingListeners == null || namingListeners . size ( ) == _NUM ) return ; NamingEvent e = new NamingEvent ( eventSrc , NamingEvent . OBJECT_REMOVED , null , oldBd , new Long ( changeID ) ) ; support . queueEvent ( e , namingListeners ) ; }
75
java-test-3320
java
What does the code remove ?
leading and trailing whitespace and comments
private String read Line Trim Comments ( Buffered Reader br ) throws IO Exception { String line = br . read Line ( ) ; if ( line != null ) { line = line . trim ( ) ; if ( line . index Of ( STRING ) == NUM ) { line = STRING ; } } return line ; }
private String readLineTrimComments ( BufferedReader br ) throws IOException { String line = br . readLine ( ) ; if ( line != null ) { line = line . trim ( ) ; if ( line . indexOf ( STRING ) == _NUM ) { line = STRING ; } } return line ; }
63
java-test-3321
java
Where is null returned ?
on eof
private String read Line Trim Comments ( Buffered Reader br ) throws IO Exception { String line = br . read Line ( ) ; if ( line != null ) { line = line . trim ( ) ; if ( line . index Of ( STRING ) == NUM ) { line = STRING ; } } return line ; }
private String readLineTrimComments ( BufferedReader br ) throws IOException { String line = br . readLine ( ) ; if ( line != null ) { line = line . trim ( ) ; if ( line . indexOf ( STRING ) == _NUM ) { line = STRING ; } } return line ; }
63
java-test-3322
java
What does the code read ?
the next line from the specified bufferedreader
private String read Line Trim Comments ( Buffered Reader br ) throws IO Exception { String line = br . read Line ( ) ; if ( line != null ) { line = line . trim ( ) ; if ( line . index Of ( STRING ) == NUM ) { line = STRING ; } } return line ; }
private String readLineTrimComments ( BufferedReader br ) throws IOException { String line = br . readLine ( ) ; if ( line != null ) { line = line . trim ( ) ; if ( line . indexOf ( STRING ) == _NUM ) { line = STRING ; } } return line ; }
63
java-test-3323
java
Should you use this method normally ?
No
public static void write ( @ Nullable Project project , @ Not Null Virtual File virtual File , @ Not Null Object requestor , @ Not Null String text , long new Modification Stamp ) throws IO Exception { Charset existing = virtual File . get Charset ( ) ; Pair . Non Null < Charset , byte [ ] > chosen = charset For Writin...
public static void write ( @ Nullable Project project , @ NotNull VirtualFile virtualFile , @ NotNull Object requestor , @ NotNull String text , long newModificationStamp ) throws IOException { Charset existing = virtualFile . getCharset ( ) ; Pair . NonNull < Charset , byte [ ] > chosen = charsetForWriting ( project ,...
171
java-test-3324
java
How does file overwrite ?
with text
public static void write ( @ Nullable Project project , @ Not Null Virtual File virtual File , @ Not Null Object requestor , @ Not Null String text , long new Modification Stamp ) throws IO Exception { Charset existing = virtual File . get Charset ( ) ; Pair . Non Null < Charset , byte [ ] > chosen = charset For Writin...
public static void write ( @ Nullable Project project , @ NotNull VirtualFile virtualFile , @ NotNull Object requestor , @ NotNull String text , long newModificationStamp ) throws IOException { Charset existing = virtualFile . getCharset ( ) ; Pair . NonNull < Charset , byte [ ] > chosen = charsetForWriting ( project ,...
171
java-test-3325
java
For what purpose do events generate ?
for created file or directory
private void generate Create Events ( List < Igfs Path > created Paths , boolean file ) { if ( evts . is Recordable ( Event Type . EVT IGFS DIR CREATED ) ) { for ( int i = NUM ; i < created Paths . size ( ) - NUM ; i ++ ) Igfs Utils . send Events ( igfs Ctx . kernal Context ( ) , created Paths . get ( i ) , Event Type ...
private void generateCreateEvents ( List < IgfsPath > createdPaths , boolean file ) { if ( evts . isRecordable ( EventType . EVT_IGFS_DIR_CREATED ) ) { for ( int i = _NUM ; i < createdPaths . size ( ) - _NUM ; i ++ ) IgfsUtils . sendEvents ( igfsCtx . kernalContext ( ) , createdPaths . get ( i ) , EventType . EVT_IGFS_...
195
java-test-3326
java
What does the code calculate ?
the smallest surrounding box of this line segmant
public Shape Tile Box bounding box ( ) { if ( bounding box != null ) return bounding box ; Pla Point Float start corner = start point approx ( ) ; Pla Point Float end corner = end point approx ( ) ; double llx = Math . min ( start corner . v x , end corner . v x ) ; double lly = Math . min ( start corner . v y , end co...
public ShapeTileBox bounding_box ( ) { if ( bounding_box != null ) return bounding_box ; PlaPointFloat start_corner = start_point_approx ( ) ; PlaPointFloat end_corner = end_point_approx ( ) ; double llx = Math . min ( start_corner . v_x , end_corner . v_x ) ; double lly = Math . min ( start_corner . v_y , end_corner ....
196
java-test-3329
java
What is it using ?
hardware address of the network interface that is not guaranteed to be mac addresses
public static synchronized Collection < String > all Local MA Cs ( ) { List < String > macs = new Array List < > ( NUM ) ; try { Enumeration < Network Interface > itfs = Network Interface . get Network Interfaces ( ) ; if ( itfs != null ) { for ( Network Interface itf : as Iterable ( itfs ) ) { byte [ ] hw Addr = itf ....
public static synchronized Collection < String > allLocalMACs ( ) { List < String > macs = new ArrayList < > ( _NUM ) ; try { Enumeration < NetworkInterface > itfs = NetworkInterface . getNetworkInterfaces ( ) ; if ( itfs != null ) { for ( NetworkInterface itf : asIterable ( itfs ) ) { byte [ ] hwAddr = itf . getHardwa...
157
java-test-3330
java
What can return on linux ?
gethardwareaddress
public static synchronized Collection < String > all Local MA Cs ( ) { List < String > macs = new Array List < > ( NUM ) ; try { Enumeration < Network Interface > itfs = Network Interface . get Network Interfaces ( ) ; if ( itfs != null ) { for ( Network Interface itf : as Iterable ( itfs ) ) { byte [ ] hw Addr = itf ....
public static synchronized Collection < String > allLocalMACs ( ) { List < String > macs = new ArrayList < > ( _NUM ) ; try { Enumeration < NetworkInterface > itfs = NetworkInterface . getNetworkInterfaces ( ) ; if ( itfs != null ) { for ( NetworkInterface itf : asIterable ( itfs ) ) { byte [ ] hwAddr = itf . getHardwa...
157
java-test-3331
java
In which direction is networkinterface . gethardwareaddress ( ) method called ?
from many threads
public static synchronized Collection < String > all Local MA Cs ( ) { List < String > macs = new Array List < > ( NUM ) ; try { Enumeration < Network Interface > itfs = Network Interface . get Network Interfaces ( ) ; if ( itfs != null ) { for ( Network Interface itf : as Iterable ( itfs ) ) { byte [ ] hw Addr = itf ....
public static synchronized Collection < String > allLocalMACs ( ) { List < String > macs = new ArrayList < > ( _NUM ) ; try { Enumeration < NetworkInterface > itfs = NetworkInterface . getNetworkInterfaces ( ) ; if ( itfs != null ) { for ( NetworkInterface itf : asIterable ( itfs ) ) { byte [ ] hwAddr = itf . getHardwa...
157
java-test-3332
java
What enabled local ?
macs
public static synchronized Collection < String > all Local MA Cs ( ) { List < String > macs = new Array List < > ( NUM ) ; try { Enumeration < Network Interface > itfs = Network Interface . get Network Interfaces ( ) ; if ( itfs != null ) { for ( Network Interface itf : as Iterable ( itfs ) ) { byte [ ] hw Addr = itf ....
public static synchronized Collection < String > allLocalMACs ( ) { List < String > macs = new ArrayList < > ( _NUM ) ; try { Enumeration < NetworkInterface > itfs = NetworkInterface . getNetworkInterfaces ( ) ; if ( itfs != null ) { for ( NetworkInterface itf : asIterable ( itfs ) ) { byte [ ] hwAddr = itf . getHardwa...
157
java-test-3333
java
What does the code get ?
a list of all local enabled macs known to this jvm
public static synchronized Collection < String > all Local MA Cs ( ) { List < String > macs = new Array List < > ( NUM ) ; try { Enumeration < Network Interface > itfs = Network Interface . get Network Interfaces ( ) ; if ( itfs != null ) { for ( Network Interface itf : as Iterable ( itfs ) ) { byte [ ] hw Addr = itf ....
public static synchronized Collection < String > allLocalMACs ( ) { List < String > macs = new ArrayList < > ( _NUM ) ; try { Enumeration < NetworkInterface > itfs = NetworkInterface . getNetworkInterfaces ( ) ; if ( itfs != null ) { for ( NetworkInterface itf : asIterable ( itfs ) ) { byte [ ] hwAddr = itf . getHardwa...
157
java-test-3334
java
When is parses what ' s left of the target name in the specified tokenizer , and initializes the transient fields parses what ' s left of the target name in the specified tokenizer , and initializes the transient fields false ?
when parsing the local principals
private void parse Name ( String Tokenizer st , boolean peer ) { List vals = new Array List ( NUM ) ; outer : while ( BOOL ) { String cls ; do { if ( ! st . has More Tokens ( ) ) { break outer ; } cls = st . next Token ( ) ; } while ( cls . equals ( STRING ) ) ; if ( ! peer && cls . equals Ignore Case ( STRING ) ) { pa...
private void parseName ( StringTokenizer st , boolean peer ) { List vals = new ArrayList ( _NUM ) ; outer : while ( _BOOL ) { String cls ; do { if ( ! st . hasMoreTokens ( ) ) { break outer ; } cls = st . nextToken ( ) ; } while ( cls . equals ( STRING ) ) ; if ( ! peer && cls . equalsIgnoreCase ( STRING ) ) { parseNam...
531
java-test-3335
java
What does the code remove ?
multiple spaces
public static final String remove Multiple Spaces And Returns ( final String data ) { final String Builder all data = new String Builder ( data ) ; int i = NUM ; while ( i < all data . length ( ) ) { if ( ( ( all data . char At ( i ) == STRING ) && ( all data . char At ( i - NUM ) == STRING ) ) || ( ( all data . char A...
public static final String removeMultipleSpacesAndReturns ( final String data ) { final StringBuilder all_data = new StringBuilder ( data ) ; int i = _NUM ; while ( i < all_data . length ( ) ) { if ( ( ( all_data . charAt ( i ) == STRING ) && ( all_data . charAt ( i - _NUM ) == STRING ) ) || ( ( all_data . charAt ( i )...
142
java-test-3336
java
When did illegalargumentexception argument exception throw if the _ hosts propertey is determined to be a property placeholder ?
when nothing found
private void determine Hosts As Property ( ) { if ( hosts . starts With ( STRING ) && hosts . ends With ( STRING ) ) { String hosts Property = hosts . substring ( NUM , hosts . length ( ) - NUM ) ; hosts = Property Util . get Property ( hosts Property ) ; if ( hosts == null ) { throw new Illegal Argument Exception ( ST...
private void determineHostsAsProperty ( ) { if ( hosts . startsWith ( STRING ) && hosts . endsWith ( STRING ) ) { String hostsProperty = hosts . substring ( _NUM , hosts . length ( ) - _NUM ) ; hosts = PropertyUtil . getProperty ( hostsProperty ) ; if ( hosts == null ) { throw new IllegalArgumentException ( STRING + ho...
83
java-test-3337
java
In which direction is the output string written once the entire input string has been processed ?
back to the text area
private void to Hex String ( ) { String sub Text = received Data . get Text ( ) ; String Buffer hex Text = new String Buffer ( ) ; byte [ ] sub Bytes = sub Text . get Bytes ( ) ; for ( int i = NUM ; i < sub Bytes . length ; i ++ ) { int byte Value = sub Bytes [ i ] ; if ( byte Value < NUM ) { byte Value += NUM ; } if (...
private void toHexString ( ) { String subText = receivedData . getText ( ) ; StringBuffer hexText = new StringBuffer ( ) ; byte [ ] subBytes = subText . getBytes ( ) ; for ( int i = _NUM ; i < subBytes . length ; i ++ ) { int byteValue = subBytes [ i ] ; if ( byteValue < _NUM ) { byteValue += _NUM ; } if ( byteValue < ...
186
java-test-3338
java
Where did the text string read in ?
from the data area
private void to Hex String ( ) { String sub Text = received Data . get Text ( ) ; String Buffer hex Text = new String Buffer ( ) ; byte [ ] sub Bytes = sub Text . get Bytes ( ) ; for ( int i = NUM ; i < sub Bytes . length ; i ++ ) { int byte Value = sub Bytes [ i ] ; if ( byte Value < NUM ) { byte Value += NUM ; } if (...
private void toHexString ( ) { String subText = receivedData . getText ( ) ; StringBuffer hexText = new StringBuffer ( ) ; byte [ ] subBytes = subText . getBytes ( ) ; for ( int i = _NUM ; i < subBytes . length ; i ++ ) { int byteValue = subBytes [ i ] ; if ( byteValue < _NUM ) { byteValue += _NUM ; } if ( byteValue < ...
186
java-test-3339
java
When is the output string written back to the text area ?
once the entire input string has been processed
private void to Hex String ( ) { String sub Text = received Data . get Text ( ) ; String Buffer hex Text = new String Buffer ( ) ; byte [ ] sub Bytes = sub Text . get Bytes ( ) ; for ( int i = NUM ; i < sub Bytes . length ; i ++ ) { int byte Value = sub Bytes [ i ] ; if ( byte Value < NUM ) { byte Value += NUM ; } if (...
private void toHexString ( ) { String subText = receivedData . getText ( ) ; StringBuffer hexText = new StringBuffer ( ) ; byte [ ] subBytes = subText . getBytes ( ) ; for ( int i = _NUM ; i < subBytes . length ; i ++ ) { int byteValue = subBytes [ i ] ; if ( byteValue < _NUM ) { byteValue += _NUM ; } if ( byteValue < ...
186
java-test-3340
java
Does this method convert them into hex characters ( i . e . every character read is represented as two hex characters ) ?
No
private void to Hex String ( ) { String sub Text = received Data . get Text ( ) ; String Buffer hex Text = new String Buffer ( ) ; byte [ ] sub Bytes = sub Text . get Bytes ( ) ; for ( int i = NUM ; i < sub Bytes . length ; i ++ ) { int byte Value = sub Bytes [ i ] ; if ( byte Value < NUM ) { byte Value += NUM ; } if (...
private void toHexString ( ) { String subText = receivedData . getText ( ) ; StringBuffer hexText = new StringBuffer ( ) ; byte [ ] subBytes = subText . getBytes ( ) ; for ( int i = _NUM ; i < subBytes . length ; i ++ ) { int byteValue = subBytes [ i ] ; if ( byteValue < _NUM ) { byteValue += _NUM ; } if ( byteValue < ...
186
java-test-3341
java
What do the button say ?
' hex '
private void to Hex String ( ) { String sub Text = received Data . get Text ( ) ; String Buffer hex Text = new String Buffer ( ) ; byte [ ] sub Bytes = sub Text . get Bytes ( ) ; for ( int i = NUM ; i < sub Bytes . length ; i ++ ) { int byte Value = sub Bytes [ i ] ; if ( byte Value < NUM ) { byte Value += NUM ; } if (...
private void toHexString ( ) { String subText = receivedData . getText ( ) ; StringBuffer hexText = new StringBuffer ( ) ; byte [ ] subBytes = subText . getBytes ( ) ; for ( int i = _NUM ; i < subBytes . length ; i ++ ) { int byteValue = subBytes [ i ] ; if ( byteValue < _NUM ) { byteValue += _NUM ; } if ( byteValue < ...
186
java-test-3342
java
What do the text data in the data area need ?
to be converted to a hex representation
private void to Hex String ( ) { String sub Text = received Data . get Text ( ) ; String Buffer hex Text = new String Buffer ( ) ; byte [ ] sub Bytes = sub Text . get Bytes ( ) ; for ( int i = NUM ; i < sub Bytes . length ; i ++ ) { int byte Value = sub Bytes [ i ] ; if ( byte Value < NUM ) { byte Value += NUM ; } if (...
private void toHexString ( ) { String subText = receivedData . getText ( ) ; StringBuffer hexText = new StringBuffer ( ) ; byte [ ] subBytes = subText . getBytes ( ) ; for ( int i = _NUM ; i < subBytes . length ; i ++ ) { int byteValue = subBytes [ i ] ; if ( byteValue < _NUM ) { byteValue += _NUM ; } if ( byteValue < ...
186
java-test-3343
java
What is saying ' hex ' ?
the button
private void to Hex String ( ) { String sub Text = received Data . get Text ( ) ; String Buffer hex Text = new String Buffer ( ) ; byte [ ] sub Bytes = sub Text . get Bytes ( ) ; for ( int i = NUM ; i < sub Bytes . length ; i ++ ) { int byte Value = sub Bytes [ i ] ; if ( byte Value < NUM ) { byte Value += NUM ; } if (...
private void toHexString ( ) { String subText = receivedData . getText ( ) ; StringBuffer hexText = new StringBuffer ( ) ; byte [ ] subBytes = subText . getBytes ( ) ; for ( int i = _NUM ; i < subBytes . length ; i ++ ) { int byteValue = subBytes [ i ] ; if ( byteValue < _NUM ) { byteValue += _NUM ; } if ( byteValue < ...
186
java-test-3344
java
In which direction did the text string read from the data area ?
in
private void to Hex String ( ) { String sub Text = received Data . get Text ( ) ; String Buffer hex Text = new String Buffer ( ) ; byte [ ] sub Bytes = sub Text . get Bytes ( ) ; for ( int i = NUM ; i < sub Bytes . length ; i ++ ) { int byte Value = sub Bytes [ i ] ; if ( byte Value < NUM ) { byte Value += NUM ; } if (...
private void toHexString ( ) { String subText = receivedData . getText ( ) ; StringBuffer hexText = new StringBuffer ( ) ; byte [ ] subBytes = subText . getBytes ( ) ; for ( int i = _NUM ; i < subBytes . length ; i ++ ) { int byteValue = subBytes [ i ] ; if ( byteValue < _NUM ) { byteValue += _NUM ; } if ( byteValue < ...
186
java-test-3345
java
What read from the data area ?
the text string
private void to Hex String ( ) { String sub Text = received Data . get Text ( ) ; String Buffer hex Text = new String Buffer ( ) ; byte [ ] sub Bytes = sub Text . get Bytes ( ) ; for ( int i = NUM ; i < sub Bytes . length ; i ++ ) { int byte Value = sub Bytes [ i ] ; if ( byte Value < NUM ) { byte Value += NUM ; } if (...
private void toHexString ( ) { String subText = receivedData . getText ( ) ; StringBuffer hexText = new StringBuffer ( ) ; byte [ ] subBytes = subText . getBytes ( ) ; for ( int i = _NUM ; i < subBytes . length ; i ++ ) { int byteValue = subBytes [ i ] ; if ( byteValue < _NUM ) { byteValue += _NUM ; } if ( byteValue < ...
186
java-test-3346
java
What needs to be converted to a hex representation ?
the text data in the data area
private void to Hex String ( ) { String sub Text = received Data . get Text ( ) ; String Buffer hex Text = new String Buffer ( ) ; byte [ ] sub Bytes = sub Text . get Bytes ( ) ; for ( int i = NUM ; i < sub Bytes . length ; i ++ ) { int byte Value = sub Bytes [ i ] ; if ( byte Value < NUM ) { byte Value += NUM ; } if (...
private void toHexString ( ) { String subText = receivedData . getText ( ) ; StringBuffer hexText = new StringBuffer ( ) ; byte [ ] subBytes = subText . getBytes ( ) ; for ( int i = _NUM ; i < subBytes . length ; i ++ ) { int byteValue = subBytes [ i ] ; if ( byteValue < _NUM ) { byteValue += _NUM ; } if ( byteValue < ...
186
java-test-3347
java
What does the code create ?
a set of virtual dice with the given number of faces that start with the given value
public MM Roll ( MM Random rng , int count , int start ) { super ( count , start ) ; this . total = rng . random Int ( this . faces ) + this . min ; all . add Element ( this . total ) ; }
public MMRoll ( MMRandom rng , int count , int start ) { super ( count , start ) ; this . total = rng . randomInt ( this . faces ) + this . min ; all . addElement ( this . total ) ; }
51
java-test-3348
java
What does the code create ?
a name from a sequence of lower - camel strings
public static Name lower Camel ( String ... pieces ) { List < Name Piece > name Pieces = new Array List < > ( ) ; for ( String piece : pieces ) { validate Camel ( piece , Check Case . LOWER ) ; name Pieces . add ( new Name Piece ( piece , Case Format . LOWER CAMEL ) ) ; } return new Name ( name Pieces ) ; }
public static Name lowerCamel ( String ... pieces ) { List < NamePiece > namePieces = new ArrayList < > ( ) ; for ( String piece : pieces ) { validateCamel ( piece , CheckCase . LOWER ) ; namePieces . add ( new NamePiece ( piece , CaseFormat . LOWER_CAMEL ) ) ; } return new Name ( namePieces ) ; }
75
java-test-3352
java
What does the code fetch ?
the definition of the named field
public DDF Field Definition find Field Defn ( String psz Field Name ) { for ( Iterator it = pao Field Defns . iterator ( ) ; it . has Next ( ) ; ) { DDF Field Definition ddffd = ( DDF Field Definition ) it . next ( ) ; String psz This Name = ddffd . get Name ( ) ; if ( Debug . debugging ( STRING ) ) { Debug . output ( ...
public DDFFieldDefinition findFieldDefn ( String pszFieldName ) { for ( Iterator it = paoFieldDefns . iterator ( ) ; it . hasNext ( ) ; ) { DDFFieldDefinition ddffd = ( DDFFieldDefinition ) it . next ( ) ; String pszThisName = ddffd . getName ( ) ; if ( Debug . debugging ( STRING ) ) { Debug . output ( STRING + pszFiel...
139
java-test-3353
java
What do this function find ?
one with the indicated field name
public DDF Field Definition find Field Defn ( String psz Field Name ) { for ( Iterator it = pao Field Defns . iterator ( ) ; it . has Next ( ) ; ) { DDF Field Definition ddffd = ( DDF Field Definition ) it . next ( ) ; String psz This Name = ddffd . get Name ( ) ; if ( Debug . debugging ( STRING ) ) { Debug . output ( ...
public DDFFieldDefinition findFieldDefn ( String pszFieldName ) { for ( Iterator it = paoFieldDefns . iterator ( ) ; it . hasNext ( ) ; ) { DDFFieldDefinition ddffd = ( DDFFieldDefinition ) it . next ( ) ; String pszThisName = ddffd . getName ( ) ; if ( Debug . debugging ( STRING ) ) { Debug . output ( STRING + pszFiel...
139
java-test-3354
java
What will this function scan to find one with the indicated field name ?
the ddffielddefn ' s on this module
public DDF Field Definition find Field Defn ( String psz Field Name ) { for ( Iterator it = pao Field Defns . iterator ( ) ; it . has Next ( ) ; ) { DDF Field Definition ddffd = ( DDF Field Definition ) it . next ( ) ; String psz This Name = ddffd . get Name ( ) ; if ( Debug . debugging ( STRING ) ) { Debug . output ( ...
public DDFFieldDefinition findFieldDefn ( String pszFieldName ) { for ( Iterator it = paoFieldDefns . iterator ( ) ; it . hasNext ( ) ; ) { DDFFieldDefinition ddffd = ( DDFFieldDefinition ) it . next ( ) ; String pszThisName = ddffd . getName ( ) ; if ( Debug . debugging ( STRING ) ) { Debug . output ( STRING + pszFiel...
139