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-3026 | java | What will routine examine to filter out any of the suggested exportmasks that do not meet the vplex requirements ? | the placement descriptor | private Set < URI > filter Export Masks By V Plex Requirements ( Storage System vplex , Storage System array , URI varray URI , Export Mask Placement Descriptor placement Descriptor ) { Map < URI , Export Mask > mask Set = placement Descriptor . get Masks ( ) ; Map < URI , Volume > volume Map = placement Descriptor . g... | private Set < URI > filterExportMasksByVPlexRequirements ( StorageSystem vplex , StorageSystem array , URI varrayURI , ExportMaskPlacementDescriptor placementDescriptor ) { Map < URI , ExportMask > maskSet = placementDescriptor . getMasks ( ) ; Map < URI , Volume > volumeMap = placementDescriptor . getVolumesToPlace ( ... | 427 |
java-test-3027 | java | When did the first eckey create ? | after the given unix time | @ Nullable public EC Key find Oldest Key After ( long time Secs ) { lock . lock ( ) ; try { EC Key oldest = null ; for ( EC Key key : hash To Keys . values ( ) ) { final long key Time = key . get Creation Time Seconds ( ) ; if ( key Time > time Secs ) { if ( oldest == null || oldest . get Creation Time Seconds ( ) > ke... | @ Nullable public ECKey findOldestKeyAfter ( long timeSecs ) { lock . lock ( ) ; try { ECKey oldest = null ; for ( ECKey key : hashToKeys . values ( ) ) { final long keyTime = key . getCreationTimeSeconds ( ) ; if ( keyTime > timeSecs ) { if ( oldest == null || oldest . getCreationTimeSeconds ( ) > keyTime ) oldest = k... | 105 |
java-test-3028 | java | How does the code concatenate the given text all the string arguments ? | with the given delimiter | public static String concat Strings ( final String delimiter , final String ... texts ) { final String delim = delimiter == null ? SP STRING EMPTY : delimiter ; final String Builder con Cat Str Bldr = new String Builder ( ) ; if ( null != texts ) { for ( final String text : texts ) { con Cat Str Bldr . append ( delim )... | public static String concatStrings ( final String delimiter , final String ... texts ) { final String delim = delimiter == null ? SP_STRING_EMPTY : delimiter ; final StringBuilder conCatStrBldr = new StringBuilder ( ) ; if ( null != texts ) { for ( final String text : texts ) { conCatStrBldr . append ( delim ) ; conCat... | 131 |
java-test-3029 | java | What does the code concatenate with the given delimiter ? | the given text all the string arguments | public static String concat Strings ( final String delimiter , final String ... texts ) { final String delim = delimiter == null ? SP STRING EMPTY : delimiter ; final String Builder con Cat Str Bldr = new String Builder ( ) ; if ( null != texts ) { for ( final String text : texts ) { con Cat Str Bldr . append ( delim )... | public static String concatStrings ( final String delimiter , final String ... texts ) { final String delim = delimiter == null ? SP_STRING_EMPTY : delimiter ; final StringBuilder conCatStrBldr = new StringBuilder ( ) ; if ( null != texts ) { for ( final String text : texts ) { conCatStrBldr . append ( delim ) ; conCat... | 131 |
java-test-3030 | java | What must exist in the database ? | identities | private void validate Group Acls ( DB Group target Group , List < DB Acl > acls ) throws Invalid Request Exception , SQL Exception { if ( acls . is Empty ( ) ) { throw new Invalid Request Exception ( STRING ) ; } Hash Set < Integer > unique Member Identities = new Hash Set < > ( ) ; Hash Set < Integer > unique Member G... | private void validateGroupAcls ( DBGroup targetGroup , List < DBAcl > acls ) throws InvalidRequestException , SQLException { if ( acls . isEmpty ( ) ) { throw new InvalidRequestException ( STRING ) ; } HashSet < Integer > uniqueMemberIdentities = new HashSet < > ( ) ; HashSet < Integer > uniqueMemberGroups = new HashSe... | 434 |
java-test-3031 | java | Do we delete the contents of pointed - to directories ? | No | static void dumb Delete Recrusive ( File file ) throws IO Exception { if ( file . is Directory ( ) ) { for ( File entry : file . list Files ( ) ) { dumb Delete Recrusive ( entry ) ; } } if ( ! file . delete ( ) && file . exists ( ) ) { throw new IO Exception ( STRING + file ) ; } } | static void dumbDeleteRecrusive ( File file ) throws IOException { if ( file . isDirectory ( ) ) { for ( File entry : file . listFiles ( ) ) { dumbDeleteRecrusive ( entry ) ; } } if ( ! file . delete ( ) && file . exists ( ) ) { throw new IOException ( STRING + file ) ; } } | 73 |
java-test-3032 | java | What do not let us distinguish directories from symbolic links to directories ? | java apis | static void dumb Delete Recrusive ( File file ) throws IO Exception { if ( file . is Directory ( ) ) { for ( File entry : file . list Files ( ) ) { dumb Delete Recrusive ( entry ) ; } } if ( ! file . delete ( ) && file . exists ( ) ) { throw new IO Exception ( STRING + file ) ; } } | static void dumbDeleteRecrusive ( File file ) throws IOException { if ( file . isDirectory ( ) ) { for ( File entry : file . listFiles ( ) ) { dumbDeleteRecrusive ( entry ) ; } } if ( ! file . delete ( ) && file . exists ( ) ) { throw new IOException ( STRING + file ) ; } } | 73 |
java-test-3033 | java | Do java apis let ? | No | static void dumb Delete Recrusive ( File file ) throws IO Exception { if ( file . is Directory ( ) ) { for ( File entry : file . list Files ( ) ) { dumb Delete Recrusive ( entry ) ; } } if ( ! file . delete ( ) && file . exists ( ) ) { throw new IO Exception ( STRING + file ) ; } } | static void dumbDeleteRecrusive ( File file ) throws IOException { if ( file . isDirectory ( ) ) { for ( File entry : file . listFiles ( ) ) { dumbDeleteRecrusive ( entry ) ; } } if ( ! file . delete ( ) && file . exists ( ) ) { throw new IOException ( STRING + file ) ; } } | 73 |
java-test-3034 | java | Do us distinguish directories from symbolic links to directories ? | No | static void dumb Delete Recrusive ( File file ) throws IO Exception { if ( file . is Directory ( ) ) { for ( File entry : file . list Files ( ) ) { dumb Delete Recrusive ( entry ) ; } } if ( ! file . delete ( ) && file . exists ( ) ) { throw new IO Exception ( STRING + file ) ; } } | static void dumbDeleteRecrusive ( File file ) throws IOException { if ( file . isDirectory ( ) ) { for ( File entry : file . listFiles ( ) ) { dumbDeleteRecrusive ( entry ) ; } } if ( ! file . delete ( ) && file . exists ( ) ) { throw new IOException ( STRING + file ) ; } } | 73 |
java-test-3035 | java | What does the code delete ? | a directory and its contents | static void dumb Delete Recrusive ( File file ) throws IO Exception { if ( file . is Directory ( ) ) { for ( File entry : file . list Files ( ) ) { dumb Delete Recrusive ( entry ) ; } } if ( ! file . delete ( ) && file . exists ( ) ) { throw new IO Exception ( STRING + file ) ; } } | static void dumbDeleteRecrusive ( File file ) throws IOException { if ( file . isDirectory ( ) ) { for ( File entry : file . listFiles ( ) ) { dumbDeleteRecrusive ( entry ) ; } } if ( ! file . delete ( ) && file . exists ( ) ) { throw new IOException ( STRING + file ) ; } } | 73 |
java-test-3036 | java | What will we attempt if the directory contains symbolic links to directories ? | to delete the contents of pointed - to directories | static void dumb Delete Recrusive ( File file ) throws IO Exception { if ( file . is Directory ( ) ) { for ( File entry : file . list Files ( ) ) { dumb Delete Recrusive ( entry ) ; } } if ( ! file . delete ( ) && file . exists ( ) ) { throw new IO Exception ( STRING + file ) ; } } | static void dumbDeleteRecrusive ( File file ) throws IOException { if ( file . isDirectory ( ) ) { for ( File entry : file . listFiles ( ) ) { dumbDeleteRecrusive ( entry ) ; } } if ( ! file . delete ( ) && file . exists ( ) ) { throw new IOException ( STRING + file ) ; } } | 73 |
java-test-3037 | java | Do the directory contain symbolic links to directories ? | No | static void dumb Delete Recrusive ( File file ) throws IO Exception { if ( file . is Directory ( ) ) { for ( File entry : file . list Files ( ) ) { dumb Delete Recrusive ( entry ) ; } } if ( ! file . delete ( ) && file . exists ( ) ) { throw new IO Exception ( STRING + file ) ; } } | static void dumbDeleteRecrusive ( File file ) throws IOException { if ( file . isDirectory ( ) ) { for ( File entry : file . listFiles ( ) ) { dumbDeleteRecrusive ( entry ) ; } } if ( ! file . delete ( ) && file . exists ( ) ) { throw new IOException ( STRING + file ) ; } } | 73 |
java-test-3038 | java | What do java apis not let ? | us distinguish directories from symbolic links to directories | static void dumb Delete Recrusive ( File file ) throws IO Exception { if ( file . is Directory ( ) ) { for ( File entry : file . list Files ( ) ) { dumb Delete Recrusive ( entry ) ; } } if ( ! file . delete ( ) && file . exists ( ) ) { throw new IO Exception ( STRING + file ) ; } } | static void dumbDeleteRecrusive ( File file ) throws IOException { if ( file . isDirectory ( ) ) { for ( File entry : file . listFiles ( ) ) { dumbDeleteRecrusive ( entry ) ; } } if ( ! file . delete ( ) && file . exists ( ) ) { throw new IOException ( STRING + file ) ; } } | 73 |
java-test-3041 | java | What does the code release ? | the lock on the bucket that makes the bucket stay the primary during a write | private void end Local Write ( Entry Event Impl event ) { if ( ! need Write Lock ( event ) ) { return ; } do Unlock For Primary ( ) ; Object keys [ ] = new Object [ NUM ] ; keys [ NUM ] = event . get Key ( ) ; remove And Notify Keys ( keys ) ; } | private void endLocalWrite ( EntryEventImpl event ) { if ( ! needWriteLock ( event ) ) { return ; } doUnlockForPrimary ( ) ; Object keys [ ] = new Object [ _NUM ] ; keys [ _NUM ] = event . getKey ( ) ; removeAndNotifyKeys ( keys ) ; } | 65 |
java-test-3042 | java | When stay the bucket stay the primary ? | during a write | private void end Local Write ( Entry Event Impl event ) { if ( ! need Write Lock ( event ) ) { return ; } do Unlock For Primary ( ) ; Object keys [ ] = new Object [ NUM ] ; keys [ NUM ] = event . get Key ( ) ; remove And Notify Keys ( keys ) ; } | private void endLocalWrite ( EntryEventImpl event ) { if ( ! needWriteLock ( event ) ) { return ; } doUnlockForPrimary ( ) ; Object keys [ ] = new Object [ _NUM ] ; keys [ _NUM ] = event . getKey ( ) ; removeAndNotifyKeys ( keys ) ; } | 65 |
java-test-3043 | java | What does the lock on the bucket make ? | the bucket stay the primary during a write | private void end Local Write ( Entry Event Impl event ) { if ( ! need Write Lock ( event ) ) { return ; } do Unlock For Primary ( ) ; Object keys [ ] = new Object [ NUM ] ; keys [ NUM ] = event . get Key ( ) ; remove And Notify Keys ( keys ) ; } | private void endLocalWrite ( EntryEventImpl event ) { if ( ! needWriteLock ( event ) ) { return ; } doUnlockForPrimary ( ) ; Object keys [ ] = new Object [ _NUM ] ; keys [ _NUM ] = event . getKey ( ) ; removeAndNotifyKeys ( keys ) ; } | 65 |
java-test-3044 | java | What makes the bucket stay the primary during a write ? | the lock on the bucket | private void end Local Write ( Entry Event Impl event ) { if ( ! need Write Lock ( event ) ) { return ; } do Unlock For Primary ( ) ; Object keys [ ] = new Object [ NUM ] ; keys [ NUM ] = event . get Key ( ) ; remove And Notify Keys ( keys ) ; } | private void endLocalWrite ( EntryEventImpl event ) { if ( ! needWriteLock ( event ) ) { return ; } doUnlockForPrimary ( ) ; Object keys [ ] = new Object [ _NUM ] ; keys [ _NUM ] = event . getKey ( ) ; removeAndNotifyKeys ( keys ) ; } | 65 |
java-test-3048 | java | What does the code do if the call is supposed to be cached ? | the actual call site target set | public void do Call Site Target Set ( ) { if ( ! cache ) { if ( LOG ENABLED ) LOG . info ( STRING ) ; } else { call Site . set Target ( handle ) ; if ( LOG ENABLED ) LOG . info ( STRING ) ; } } | public void doCallSiteTargetSet ( ) { if ( ! cache ) { if ( LOG_ENABLED ) LOG . info ( STRING ) ; } else { callSite . setTarget ( handle ) ; if ( LOG_ENABLED ) LOG . info ( STRING ) ; } } | 54 |
java-test-3049 | java | What is the call supposed ? | to be cached | public void do Call Site Target Set ( ) { if ( ! cache ) { if ( LOG ENABLED ) LOG . info ( STRING ) ; } else { call Site . set Target ( handle ) ; if ( LOG ENABLED ) LOG . info ( STRING ) ; } } | public void doCallSiteTargetSet ( ) { if ( ! cache ) { if ( LOG_ENABLED ) LOG . info ( STRING ) ; } else { callSite . setTarget ( handle ) ; if ( LOG_ENABLED ) LOG . info ( STRING ) ; } } | 54 |
java-test-3050 | java | What does the code extract ? | a subfield value as a float | public double extract Float Data ( byte [ ] pach Source Data , int n Max Bytes , Mutable Int pn Consumed Bytes ) { switch ( psz Format String . char At ( NUM ) ) { case STRING : case STRING : case STRING : case STRING : case STRING : String data String = extract String Data ( pach Source Data , n Max Bytes , pn Consume... | public double extractFloatData ( byte [ ] pachSourceData , int nMaxBytes , MutableInt pnConsumedBytes ) { switch ( pszFormatString . charAt ( _NUM ) ) { case STRING : case STRING : case STRING : case STRING : case STRING : String dataString = extractStringData ( pachSourceData , nMaxBytes , pnConsumedBytes ) ; if ( dat... | 322 |
java-test-3051 | java | What will this method return ? | the floating point data for this subfield | public double extract Float Data ( byte [ ] pach Source Data , int n Max Bytes , Mutable Int pn Consumed Bytes ) { switch ( psz Format String . char At ( NUM ) ) { case STRING : case STRING : case STRING : case STRING : case STRING : String data String = extract String Data ( pach Source Data , n Max Bytes , pn Consume... | public double extractFloatData ( byte [ ] pachSourceData , int nMaxBytes , MutableInt pnConsumedBytes ) { switch ( pszFormatString . charAt ( _NUM ) ) { case STRING : case STRING : case STRING : case STRING : case STRING : String dataString = extractStringData ( pachSourceData , nMaxBytes , pnConsumedBytes ) ; if ( dat... | 322 |
java-test-3052 | java | In which direction do range " to " parameter field create ? | from " from " parameter field | public static Grid Field VO create Parameter ( Grid Field VO vo F ) { Grid Field VO vo T = new Grid Field VO ( vo F . ctx , vo F . Window No , vo F . Tab No , vo F . AD Window ID , vo F . AD Tab ID , vo F . tab Read Only ) ; vo T . is Process = BOOL ; vo T . Is Displayed = BOOL ; vo T . Is Read Only = BOOL ; vo T . Is ... | public static GridFieldVO createParameter ( GridFieldVO voF ) { GridFieldVO voT = new GridFieldVO ( voF . ctx , voF . WindowNo , voF . TabNo , voF . AD_Window_ID , voF . AD_Tab_ID , voF . tabReadOnly ) ; voT . isProcess = _BOOL ; voT . IsDisplayed = _BOOL ; voT . IsReadOnly = _BOOL ; voT . IsUpdateable = _BOOL ; voT . ... | 383 |
java-test-3053 | java | What does this class implement ? | the table selection interface | @ Override public void value Changed ( @ Nullable List Selection Event event ) { if ( event == null || event . get Value Is Adjusting ( ) || my Model . is Updating ( ) ) { return ; } my Last Selected Image = my Table . get Selected Object ( ) ; notify Selection Change ( ) ; } | @ Override public void valueChanged ( @ Nullable ListSelectionEvent event ) { if ( event == null || event . getValueIsAdjusting ( ) || myModel . isUpdating ( ) ) { return ; } myLastSelectedImage = myTable . getSelectedObject ( ) ; notifySelectionChange ( ) ; } | 63 |
java-test-3054 | java | What does this class pass to its listeners ? | the selection events | @ Override public void value Changed ( @ Nullable List Selection Event event ) { if ( event == null || event . get Value Is Adjusting ( ) || my Model . is Updating ( ) ) { return ; } my Last Selected Image = my Table . get Selected Object ( ) ; notify Selection Change ( ) ; } | @ Override public void valueChanged ( @ Nullable ListSelectionEvent event ) { if ( event == null || event . getValueIsAdjusting ( ) || myModel . isUpdating ( ) ) { return ; } myLastSelectedImage = myTable . getSelectedObject ( ) ; notifySelectionChange ( ) ; } | 63 |
java-test-3057 | java | What does the code find ensuring that it exists ensuring that it exists ? | a path to store the specific type of content | public static File generate Content Path ( Context context , String type ) { if ( context == null ) { return null ; } File base = context . get External Files Dir ( type ) ; if ( base == null ) { return null ; } if ( ! base . exists ( ) ) { if ( ! base . mkdirs ( ) ) { return null ; } } return base ; } | public static File generateContentPath ( Context context , String type ) { if ( context == null ) { return null ; } File base = context . getExternalFilesDir ( type ) ; if ( base == null ) { return null ; } if ( ! base . exists ( ) ) { if ( ! base . mkdirs ( ) ) { return null ; } } return base ; } | 78 |
java-test-3058 | java | What does the code add to the pipeline ? | distinct semantics | private static final Pipeline Op add Distinct ( Pipeline Op left , final Query Base query , final boolean preserve Order , final AST 2 B Op Context ctx ) { final int bop Id = ctx . next Id ( ) ; final Projection Node projection = query . get Projection ( ) ; if ( projection . is Wildcard ( ) ) throw new Assertion Error... | private static final PipelineOp addDistinct ( PipelineOp left , final QueryBase query , final boolean preserveOrder , final AST2BOpContext ctx ) { final int bopId = ctx . nextId ( ) ; final ProjectionNode projection = query . getProjection ( ) ; if ( projection . isWildcard ( ) ) throw new AssertionError ( STRING ) ; f... | 515 |
java-test-3059 | java | What does the code generate ? | an implotion for this bom line | public void parent Implotion ( int PP Product BOM Line ID ) throws Exception { int PP Product BOM ID = NUM ; int M Product ID = NUM ; X T BOM Line tboml = new X T BOM Line ( ctx , NUM , null ) ; PP Product BOM ID = DB . get SQL Value ( null , STRING , PP Product BOM Line ID ) ; if ( PP Product BOM ID < NUM ) throw new ... | public void parentImplotion ( int PP_Product_BOMLine_ID ) throws Exception { int PP_Product_BOM_ID = _NUM ; int M_Product_ID = _NUM ; X_T_BOMLine tboml = new X_T_BOMLine ( ctx , _NUM , null ) ; PP_Product_BOM_ID = DB . getSQLValue ( null , STRING , PP_Product_BOMLine_ID ) ; if ( PP_Product_BOM_ID < _NUM ) throw new Exc... | 439 |
java-test-3065 | java | What does the code create ? | a property definition builder | protected Abstract Builder ( Abstract Managed Object Definition < ? , ? > d , String property Name ) { this . definition = d ; this . property Name = property Name ; this . options = Enum Set . none Of ( Property Option . class ) ; this . admin Action = new Administrator Action ( Administrator Action . Type . NONE , d ... | protected AbstractBuilder ( AbstractManagedObjectDefinition < ? , ? > d , String propertyName ) { this . definition = d ; this . propertyName = propertyName ; this . options = EnumSet . noneOf ( PropertyOption . class ) ; this . adminAction = new AdministratorAction ( AdministratorAction . Type . NONE , d , propertyNam... | 88 |
java-test-3088 | java | What does the code create ? | an optional containing a list materialized from a stream | public final static < T > Optional < List X < T > > stream To Optional ( final Stream < T > stream ) { final List < T > collected = stream . collect ( Collectors . to List ( ) ) ; if ( collected . size ( ) == NUM ) return Optional . empty ( ) ; return Optional . of ( List X . from Iterable ( collected ) ) ; } | public final static < T > Optional < ListX < T > > streamToOptional ( final Stream < T > stream ) { final List < T > collected = stream . collect ( Collectors . toList ( ) ) ; if ( collected . size ( ) == _NUM ) return Optional . empty ( ) ; return Optional . of ( ListX . fromIterable ( collected ) ) ; } | 78 |
java-test-3089 | java | What does the create ? | the method to set the properties for an existing vplex consistency group with no volumes | private Workflow . Method create Set CG Properties Method ( URI vplex URI , URI cg URI , List < URI > vplex Volume UR Is ) { return new Workflow . Method ( SET CG PROPERTIES METHOD NAME , vplex URI , cg URI , vplex Volume UR Is ) ; } | private Workflow . Method createSetCGPropertiesMethod ( URI vplexURI , URI cgURI , List < URI > vplexVolumeURIs ) { return new Workflow . Method ( SET_CG_PROPERTIES_METHOD_NAME , vplexURI , cgURI , vplexVolumeURIs ) ; } | 53 |
java-test-3090 | java | How did the name extend ? | with the help file suffix | public boolean display Topic ( String name ) { String topic = null ; if ( name == null ) topic = DEFAULT + FILE TYPE ; else topic = name . to Lower Case ( ) + FILE TYPE ; File help File = new File ( help Dir , topic ) ; return display ( help File ) ; } | public boolean displayTopic ( String name ) { String topic = null ; if ( name == null ) topic = DEFAULT + FILE_TYPE ; else topic = name . toLowerCase ( ) + FILE_TYPE ; File helpFile = new File ( helpDir , topic ) ; return display ( helpFile ) ; } | 62 |
java-test-3091 | java | How does the code apply the wm rule ? | by bound type | public static void apply WM Rule ( Collection < MWM In Out Bound > lines , String bound Type ) { for ( MWM In Out Bound line : lines ) { for ( MWM Definition definition : MWM Definition . get All ( line . get Ctx ( ) , line . get Trx Name ( ) ) ) { WM Rule Engine . validate Definition ( line , definition , bound Type )... | public static void applyWMRule ( Collection < MWMInOutBound > lines , String boundType ) { for ( MWMInOutBound line : lines ) { for ( MWMDefinition definition : MWMDefinition . getAll ( line . getCtx ( ) , line . get_TrxName ( ) ) ) { WMRuleEngine . validateDefinition ( line , definition , boundType ) ; } } } | 79 |
java-test-3092 | java | What does the code apply by bound type ? | the wm rule | public static void apply WM Rule ( Collection < MWM In Out Bound > lines , String bound Type ) { for ( MWM In Out Bound line : lines ) { for ( MWM Definition definition : MWM Definition . get All ( line . get Ctx ( ) , line . get Trx Name ( ) ) ) { WM Rule Engine . validate Definition ( line , definition , bound Type )... | public static void applyWMRule ( Collection < MWMInOutBound > lines , String boundType ) { for ( MWMInOutBound line : lines ) { for ( MWMDefinition definition : MWMDefinition . getAll ( line . getCtx ( ) , line . get_TrxName ( ) ) ) { WMRuleEngine . validateDefinition ( line , definition , boundType ) ; } } } | 79 |
java-test-3093 | java | What removes itself from the array of imagefetchers then ? | the main run ( ) method of an imagefetcher thread | public void run ( ) { final Fetcher Info info = Fetcher Info . get Fetcher Info ( ) ; try { fetchloop ( ) ; } catch ( Exception e ) { e . print Stack Trace ( ) ; } finally { synchronized ( info . wait List ) { Thread me = Thread . current Thread ( ) ; for ( int i = NUM ; i < info . fetchers . length ; i ++ ) { if ( inf... | public void run ( ) { final FetcherInfo info = FetcherInfo . getFetcherInfo ( ) ; try { fetchloop ( ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; } finally { synchronized ( info . waitList ) { Thread me = Thread . currentThread ( ) ; for ( int i = _NUM ; i < info . fetchers . length ; i ++ ) { if ( info . fet... | 113 |
java-test-3094 | java | What dos the work ? | fetchloop | public void run ( ) { final Fetcher Info info = Fetcher Info . get Fetcher Info ( ) ; try { fetchloop ( ) ; } catch ( Exception e ) { e . print Stack Trace ( ) ; } finally { synchronized ( info . wait List ) { Thread me = Thread . current Thread ( ) ; for ( int i = NUM ; i < info . fetchers . length ; i ++ ) { if ( inf... | public void run ( ) { final FetcherInfo info = FetcherInfo . getFetcherInfo ( ) ; try { fetchloop ( ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; } finally { synchronized ( info . waitList ) { Thread me = Thread . currentThread ( ) ; for ( int i = _NUM ; i < info . fetchers . length ; i ++ ) { if ( info . fet... | 113 |
java-test-3095 | java | What did the code read from the stream ? | the next decoded value | private int read Next ( boolean charstring ) { num = ( int ) ( data [ pos ++ ] ) & NUM ; if ( num == NUM && ! charstring ) { read F Num ( ) ; return type = FLT ; } else if ( num == NUM ) { num = ( ( ( int ) data [ pos ] ) << NUM ) + ( ( ( int ) data [ pos + NUM ] ) & NUM ) ; pos += NUM ; return type = NUM ; } else if (... | private int readNext ( boolean charstring ) { num = ( int ) ( data [ pos ++ ] ) & _NUM ; if ( num == _NUM && ! charstring ) { readFNum ( ) ; return type = FLT ; } else if ( num == _NUM ) { num = ( ( ( int ) data [ pos ] ) << _NUM ) + ( ( ( int ) data [ pos + _NUM ] ) & _NUM ) ; pos += _NUM ; return type = NUM ; } else ... | 443 |
java-test-3096 | java | What does the code write to a stream as part of the class file format ? | this constant pool | public void write ( Output Stream out ) throws IO Exception { Data Output Stream data Out = new Data Output Stream ( out ) ; data Out . write Short ( pool . size ( ) + NUM ) ; for ( Entry e : pool ) { e . write ( data Out ) ; } } | public void write ( OutputStream out ) throws IOException { DataOutputStream dataOut = new DataOutputStream ( out ) ; dataOut . writeShort ( pool . size ( ) + _NUM ) ; for ( Entry e : pool ) { e . write ( dataOut ) ; } } | 59 |
java-test-3097 | java | How does the code write this constant pool to a stream ? | as part of the class file format | public void write ( Output Stream out ) throws IO Exception { Data Output Stream data Out = new Data Output Stream ( out ) ; data Out . write Short ( pool . size ( ) + NUM ) ; for ( Entry e : pool ) { e . write ( data Out ) ; } } | public void write ( OutputStream out ) throws IOException { DataOutputStream dataOut = new DataOutputStream ( out ) ; dataOut . writeShort ( pool . size ( ) + _NUM ) ; for ( Entry e : pool ) { e . write ( dataOut ) ; } } | 59 |
java-test-3098 | java | What is given index touching ? | the min target | private boolean check Touching Min Target ( int index , Motion Event event ) { if ( is Touching Min Target ( index , event ) ) { last Touched Min = BOOL ; is Touching Min Target . add ( event . get Pointer Id ( index ) ) ; if ( ! min Animator . is Running ( ) ) { min Animator = get Min Target Animator ( BOOL ) ; min An... | private boolean checkTouchingMinTarget ( int index , MotionEvent event ) { if ( isTouchingMinTarget ( index , event ) ) { lastTouchedMin = _BOOL ; isTouchingMinTarget . add ( event . getPointerId ( index ) ) ; if ( ! minAnimator . isRunning ( ) ) { minAnimator = getMinTargetAnimator ( _BOOL ) ; minAnimator . start ( ) ... | 90 |
java-test-3101 | java | What does the code convert into a map ? | the match | private Map process Event ( Match Result result ) { Map map = new Hash Map ( ) ; for ( int i = NUM ; i < result . group Count ( ) + NUM ; i ++ ) { Object key = matching Keywords . get ( i - NUM ) ; Object value = result . group ( i ) ; map . put ( key , value ) ; } return map ; } | private Map processEvent ( MatchResult result ) { Map map = new HashMap ( ) ; for ( int i = _NUM ; i < result . groupCount ( ) + _NUM ; i ++ ) { Object key = matchingKeywords . get ( i - _NUM ) ; Object value = result . group ( i ) ; map . put ( key , value ) ; } return map ; } | 78 |
java-test-3102 | java | What is the code at this position ? | an unaligned character | public boolean has Unaligned Char At ( int col ) { if ( col < get First Non Gap Position ( ) ) { int first Unaligned Prefix Pos = get First Non Gap Position ( ) - unaligned Prefix . length ( ) ; if ( col > first Unaligned Prefix Pos ) return BOOL ; } else if ( col >= get Last Non Gap Position ( ) ) { int last Unaligned... | public boolean hasUnalignedCharAt ( int col ) { if ( col < getFirstNonGapPosition ( ) ) { int firstUnalignedPrefixPos = getFirstNonGapPosition ( ) - unalignedPrefix . length ( ) ; if ( col > firstUnalignedPrefixPos ) return _BOOL ; } else if ( col >= getLastNonGapPosition ( ) ) { int lastUnalignedSuffixPos = getLastNon... | 110 |
java-test-3103 | java | Where does an unaligned character be the code ? | at this position | public boolean has Unaligned Char At ( int col ) { if ( col < get First Non Gap Position ( ) ) { int first Unaligned Prefix Pos = get First Non Gap Position ( ) - unaligned Prefix . length ( ) ; if ( col > first Unaligned Prefix Pos ) return BOOL ; } else if ( col >= get Last Non Gap Position ( ) ) { int last Unaligned... | public boolean hasUnalignedCharAt ( int col ) { if ( col < getFirstNonGapPosition ( ) ) { int firstUnalignedPrefixPos = getFirstNonGapPosition ( ) - unalignedPrefix . length ( ) ; if ( col > firstUnalignedPrefixPos ) return _BOOL ; } else if ( col >= getLastNonGapPosition ( ) ) { int lastUnalignedSuffixPos = getLastNon... | 110 |
java-test-3104 | java | What can we compare properly ? | the performance of this implementation | public Optimized Flow Network ( int num Vertices , int src Index , int sink Index , Iterator < Edge Info > edges ) { n = num Vertices ; capacity = new int [ n ] [ n ] ; flow = new int [ n ] [ n ] ; previous = new int [ n ] ; visited = new int [ n ] ; source = src Index ; sink = sink Index ; while ( edges . has Next ( )... | public OptimizedFlowNetwork ( int numVertices , int srcIndex , int sinkIndex , Iterator < EdgeInfo > edges ) { n = numVertices ; capacity = new int [ n ] [ n ] ; flow = new int [ n ] [ n ] ; previous = new int [ n ] ; visited = new int [ n ] ; source = srcIndex ; sink = sinkIndex ; while ( edges . hasNext ( ) ) { EdgeI... | 116 |
java-test-3105 | java | What is using to solve problem ? | optimized array structure | public Optimized Flow Network ( int num Vertices , int src Index , int sink Index , Iterator < Edge Info > edges ) { n = num Vertices ; capacity = new int [ n ] [ n ] ; flow = new int [ n ] [ n ] ; previous = new int [ n ] ; visited = new int [ n ] ; source = src Index ; sink = sink Index ; while ( edges . has Next ( )... | public OptimizedFlowNetwork ( int numVertices , int srcIndex , int sinkIndex , Iterator < EdgeInfo > edges ) { n = numVertices ; capacity = new int [ n ] [ n ] ; flow = new int [ n ] [ n ] ; previous = new int [ n ] ; visited = new int [ n ] ; source = srcIndex ; sink = sinkIndex ; while ( edges . hasNext ( ) ) { EdgeI... | 116 |
java-test-3106 | java | What do we use so we can properly compare the performance of this implementation ? | the same input representation | public Optimized Flow Network ( int num Vertices , int src Index , int sink Index , Iterator < Edge Info > edges ) { n = num Vertices ; capacity = new int [ n ] [ n ] ; flow = new int [ n ] [ n ] ; previous = new int [ n ] ; visited = new int [ n ] ; source = src Index ; sink = sink Index ; while ( edges . has Next ( )... | public OptimizedFlowNetwork ( int numVertices , int srcIndex , int sinkIndex , Iterator < EdgeInfo > edges ) { n = numVertices ; capacity = new int [ n ] [ n ] ; flow = new int [ n ] [ n ] ; previous = new int [ n ] ; visited = new int [ n ] ; source = srcIndex ; sink = sinkIndex ; while ( edges . hasNext ( ) ) { EdgeI... | 116 |
java-test-3107 | java | For what purpose do we use the same input representation ? | so we can properly compare the performance of this implementation | public Optimized Flow Network ( int num Vertices , int src Index , int sink Index , Iterator < Edge Info > edges ) { n = num Vertices ; capacity = new int [ n ] [ n ] ; flow = new int [ n ] [ n ] ; previous = new int [ n ] ; visited = new int [ n ] ; source = src Index ; sink = sink Index ; while ( edges . has Next ( )... | public OptimizedFlowNetwork ( int numVertices , int srcIndex , int sinkIndex , Iterator < EdgeInfo > edges ) { n = numVertices ; capacity = new int [ n ] [ n ] ; flow = new int [ n ] [ n ] ; previous = new int [ n ] ; visited = new int [ n ] ; source = srcIndex ; sink = sinkIndex ; while ( edges . hasNext ( ) ) { EdgeI... | 116 |
java-test-3110 | java | What contain localized strings for their keys ? | their own resource bundles | protected String to Display String ( String resource Bundle Name , Locale locale ) { load Resource Bundle ( resource Bundle Name , locale ) ; Object o = table . get ( locale ) ; if ( o != null && o instanceof Hashtable ) { Hashtable resource Table = ( Hashtable ) o ; o = resource Table . get ( key ) ; if ( o != null &&... | protected String toDisplayString ( String resourceBundleName , Locale locale ) { loadResourceBundle ( resourceBundleName , locale ) ; Object o = table . get ( locale ) ; if ( o != null && o instanceof Hashtable ) { Hashtable resourceTable = ( Hashtable ) o ; o = resourceTable . get ( key ) ; if ( o != null && o instanc... | 89 |
java-test-3111 | java | What can they specify ? | their own resource bundles which contain localized strings for their keys | protected String to Display String ( String resource Bundle Name , Locale locale ) { load Resource Bundle ( resource Bundle Name , locale ) ; Object o = table . get ( locale ) ; if ( o != null && o instanceof Hashtable ) { Hashtable resource Table = ( Hashtable ) o ; o = resource Table . get ( key ) ; if ( o != null &&... | protected String toDisplayString ( String resourceBundleName , Locale locale ) { loadResourceBundle ( resourceBundleName , locale ) ; Object o = table . get ( locale ) ; if ( o != null && o instanceof Hashtable ) { Hashtable resourceTable = ( Hashtable ) o ; o = resourceTable . get ( key ) ; if ( o != null && o instanc... | 89 |
java-test-3112 | java | What do their own resource bundles contain ? | localized strings for their keys | protected String to Display String ( String resource Bundle Name , Locale locale ) { load Resource Bundle ( resource Bundle Name , locale ) ; Object o = table . get ( locale ) ; if ( o != null && o instanceof Hashtable ) { Hashtable resource Table = ( Hashtable ) o ; o = resource Table . get ( key ) ; if ( o != null &&... | protected String toDisplayString ( String resourceBundleName , Locale locale ) { loadResourceBundle ( resourceBundleName , locale ) ; Object o = table . get ( locale ) ; if ( o != null && o instanceof Hashtable ) { Hashtable resourceTable = ( Hashtable ) o ; o = resourceTable . get ( key ) ; if ( o != null && o instanc... | 89 |
java-test-3113 | java | Where did the locale independent key store ? | in the role | protected String to Display String ( String resource Bundle Name , Locale locale ) { load Resource Bundle ( resource Bundle Name , locale ) ; Object o = table . get ( locale ) ; if ( o != null && o instanceof Hashtable ) { Hashtable resource Table = ( Hashtable ) o ; o = resource Table . get ( key ) ; if ( o != null &&... | protected String toDisplayString ( String resourceBundleName , Locale locale ) { loadResourceBundle ( resourceBundleName , locale ) ; Object o = table . get ( locale ) ; if ( o != null && o instanceof Hashtable ) { Hashtable resourceTable = ( Hashtable ) o ; o = resourceTable . get ( key ) ; if ( o != null && o instanc... | 89 |
java-test-3114 | java | What stored in the role ? | the locale independent key | protected String to Display String ( String resource Bundle Name , Locale locale ) { load Resource Bundle ( resource Bundle Name , locale ) ; Object o = table . get ( locale ) ; if ( o != null && o instanceof Hashtable ) { Hashtable resource Table = ( Hashtable ) o ; o = resource Table . get ( key ) ; if ( o != null &&... | protected String toDisplayString ( String resourceBundleName , Locale locale ) { loadResourceBundle ( resourceBundleName , locale ) ; Object o = table . get ( locale ) ; if ( o != null && o instanceof Hashtable ) { Hashtable resourceTable = ( Hashtable ) o ; o = resourceTable . get ( key ) ; if ( o != null && o instanc... | 89 |
java-test-3115 | java | What does the code initialize ? | the basic protocoldescriptor fields | protected Abstract Protocol Descriptor ( int version , int architecture , int minimum Type , int maximum Type , int weight ) { this . version = version ; this . architecture = architecture ; this . minimum Type = minimum Type ; this . maximum Type = maximum Type ; this . weight = weight ; hash Code = Objects . hash ( v... | protected AbstractProtocolDescriptor ( int version , int architecture , int minimumType , int maximumType , int weight ) { this . version = version ; this . architecture = architecture ; this . minimumType = minimumType ; this . maximumType = maximumType ; this . weight = weight ; hashCode = Objects . hash ( version , ... | 78 |
java-test-3116 | java | For what purpose does two dots draw ? | to represent the average value of more than one outlier | private void draw Multiple Ellipse ( Point 2 D point , double box Width , double o Radius , Graphics 2 D g2 ) { Ellipse 2 D dot 1 = new Ellipse 2 D . Double ( point . get X ( ) - ( box Width / NUM ) + o Radius , point . get Y ( ) , o Radius , o Radius ) ; Ellipse 2 D dot 2 = new Ellipse 2 D . Double ( point . get X ( )... | private void drawMultipleEllipse ( Point2D point , double boxWidth , double oRadius , Graphics2D g2 ) { Ellipse2D dot1 = new Ellipse2D . Double ( point . getX ( ) - ( boxWidth / _NUM ) + oRadius , point . getY ( ) , oRadius , oRadius ) ; Ellipse2D dot2 = new Ellipse2D . Double ( point . getX ( ) + ( boxWidth / _NUM ) ,... | 127 |
java-test-3117 | java | What does this method apply if deferred changes exist ? | these changes to the data | public void commit Binding ( ) { if ( defered Values != null && defered Values . size ( ) > NUM ) { Enumeration en = defered Values . keys ( ) ; while ( en . has More Elements ( ) ) { Object k = en . next Element ( ) ; values . put ( k , defered Values . get ( k ) ) ; } defered Values = null ; } } | public void commitBinding ( ) { if ( deferedValues != null && deferedValues . size ( ) > _NUM ) { Enumeration en = deferedValues . keys ( ) ; while ( en . hasMoreElements ( ) ) { Object k = en . nextElement ( ) ; values . put ( k , deferedValues . get ( k ) ) ; } deferedValues = null ; } } | 78 |
java-test-3118 | java | What calls handleentry for them ? | management method for the wanderer | protected boolean handle Directory ( File directory , String [ ] content Names ) throws Security Exception { boolean continue Wandering = BOOL ; for ( String child : content Names ) { boolean keep Going = handle Entry ( new File ( directory . get Absolute Path ( ) + File . separator , child ) ) ; if ( ! keep Going ) { ... | protected boolean handleDirectory ( File directory , String [ ] contentNames ) throws SecurityException { boolean continueWandering = _BOOL ; for ( String child : contentNames ) { boolean keepGoing = handleEntry ( new File ( directory . getAbsolutePath ( ) + File . separator , child ) ) ; if ( ! keepGoing ) { continueW... | 89 |
java-test-3119 | java | In which direction does the wanderer step ? | through the children of the directory | protected boolean handle Directory ( File directory , String [ ] content Names ) throws Security Exception { boolean continue Wandering = BOOL ; for ( String child : content Names ) { boolean keep Going = handle Entry ( new File ( directory . get Absolute Path ( ) + File . separator , child ) ) ; if ( ! keep Going ) { ... | protected boolean handleDirectory ( File directory , String [ ] contentNames ) throws SecurityException { boolean continueWandering = _BOOL ; for ( String child : contentNames ) { boolean keepGoing = handleEntry ( new File ( directory . getAbsolutePath ( ) + File . separator , child ) ) ; if ( ! keepGoing ) { continueW... | 89 |
java-test-3120 | java | What does management method for the wanderer call for them ? | handleentry | protected boolean handle Directory ( File directory , String [ ] content Names ) throws Security Exception { boolean continue Wandering = BOOL ; for ( String child : content Names ) { boolean keep Going = handle Entry ( new File ( directory . get Absolute Path ( ) + File . separator , child ) ) ; if ( ! keep Going ) { ... | protected boolean handleDirectory ( File directory , String [ ] contentNames ) throws SecurityException { boolean continueWandering = _BOOL ; for ( String child : contentNames ) { boolean keepGoing = handleEntry ( new File ( directory . getAbsolutePath ( ) + File . separator , child ) ) ; if ( ! keepGoing ) { continueW... | 89 |
java-test-3121 | java | What does the code check ? | whether a name conforms to these nameconstraints | public boolean verify ( General Name Interface name ) throws IO Exception { if ( name == null ) { throw new IO Exception ( STRING ) ; } if ( excluded != null && excluded . size ( ) > NUM ) { for ( int i = NUM ; i < excluded . size ( ) ; i ++ ) { General Subtree gs = excluded . get ( i ) ; if ( gs == null ) continue ; G... | public boolean verify ( GeneralNameInterface name ) throws IOException { if ( name == null ) { throw new IOException ( STRING ) ; } if ( excluded != null && excluded . size ( ) > _NUM ) { for ( int i = _NUM ; i < excluded . size ( ) ; i ++ ) { GeneralSubtree gs = excluded . get ( i ) ; if ( gs == null ) continue ; Gene... | 366 |
java-test-3122 | java | Where did all messages do ? | in this transaction | public void commit ( ) throws JMS Exception { ensure Open ( ) ; ensure TX ( ) ; if ( logger . is Loggable ( Level . FINE ) ) { logger . fine ( STRING + tx ) ; } try { send Messages ( this . sent Messages , tx ) ; if ( logger . is Loggable ( Level . FINE ) ) { logger . fine ( STRING + tx ) ; } commit Local Transaction (... | public void commit ( ) throws JMSException { ensureOpen ( ) ; ensureTX ( ) ; if ( _logger . isLoggable ( Level . FINE ) ) { _logger . fine ( STRING + _tx ) ; } try { sendMessages ( this . sentMessages , _tx ) ; if ( _logger . isLoggable ( Level . FINE ) ) { _logger . fine ( STRING + _tx ) ; } commitLocalTransaction ( )... | 643 |
java-test-3123 | java | What do time measure ? | elapsedrealtime | void perform FPS Calculations ( ) { number Of Frames += NUM ; long current Time = System Clock . elapsed Realtime ( ) ; if ( current Time > time To Update ) { float frames Per Second = ( number Of Frames / ( float ) ( current Time - first System Time ) ) * NUM ; fps Pct . set Text ( String . format ( STRING , frames Pe... | void performFPSCalculations ( ) { numberOfFrames += _NUM ; long currentTime = SystemClock . elapsedRealtime ( ) ; if ( currentTime > timeToUpdate ) { float framesPerSecond = ( numberOfFrames / ( float ) ( currentTime - firstSystemTime ) ) * _NUM ; fpsPct . setText ( String . format ( STRING , framesPerSecond ) ) ; time... | 89 |
java-test-3124 | java | What does fps measurement use systemclock simply ? | to measure how many frames were processed since the fps variables were last reset | void perform FPS Calculations ( ) { number Of Frames += NUM ; long current Time = System Clock . elapsed Realtime ( ) ; if ( current Time > time To Update ) { float frames Per Second = ( number Of Frames / ( float ) ( current Time - first System Time ) ) * NUM ; fps Pct . set Text ( String . format ( STRING , frames Pe... | void performFPSCalculations ( ) { numberOfFrames += _NUM ; long currentTime = SystemClock . elapsedRealtime ( ) ; if ( currentTime > timeToUpdate ) { float framesPerSecond = ( numberOfFrames / ( float ) ( currentTime - firstSystemTime ) ) * _NUM ; fpsPct . setText ( String . format ( STRING , framesPerSecond ) ) ; time... | 89 |
java-test-3125 | java | When were how many frames processed ? | since the fps variables were last reset | void perform FPS Calculations ( ) { number Of Frames += NUM ; long current Time = System Clock . elapsed Realtime ( ) ; if ( current Time > time To Update ) { float frames Per Second = ( number Of Frames / ( float ) ( current Time - first System Time ) ) * NUM ; fps Pct . set Text ( String . format ( STRING , frames Pe... | void performFPSCalculations ( ) { numberOfFrames += _NUM ; long currentTime = SystemClock . elapsedRealtime ( ) ; if ( currentTime > timeToUpdate ) { float framesPerSecond = ( numberOfFrames / ( float ) ( currentTime - firstSystemTime ) ) * _NUM ; fpsPct . setText ( String . format ( STRING , framesPerSecond ) ) ; time... | 89 |
java-test-3126 | java | What does fps measurement use to measure how many frames were processed since the fps variables were last reset simply ? | systemclock | void perform FPS Calculations ( ) { number Of Frames += NUM ; long current Time = System Clock . elapsed Realtime ( ) ; if ( current Time > time To Update ) { float frames Per Second = ( number Of Frames / ( float ) ( current Time - first System Time ) ) * NUM ; fps Pct . set Text ( String . format ( STRING , frames Pe... | void performFPSCalculations ( ) { numberOfFrames += _NUM ; long currentTime = SystemClock . elapsedRealtime ( ) ; if ( currentTime > timeToUpdate ) { float framesPerSecond = ( numberOfFrames / ( float ) ( currentTime - firstSystemTime ) ) * _NUM ; fpsPct . setText ( String . format ( STRING , framesPerSecond ) ) ; time... | 89 |
java-test-3127 | java | How could this method run if 20 frames per second are processed for 1 . 5 years ? | without being reset before numberofframes overflows | void perform FPS Calculations ( ) { number Of Frames += NUM ; long current Time = System Clock . elapsed Realtime ( ) ; if ( current Time > time To Update ) { float frames Per Second = ( number Of Frames / ( float ) ( current Time - first System Time ) ) * NUM ; fps Pct . set Text ( String . format ( STRING , frames Pe... | void performFPSCalculations ( ) { numberOfFrames += _NUM ; long currentTime = SystemClock . elapsedRealtime ( ) ; if ( currentTime > timeToUpdate ) { float framesPerSecond = ( numberOfFrames / ( float ) ( currentTime - firstSystemTime ) ) * _NUM ; fpsPct . setText ( String . format ( STRING , framesPerSecond ) ) ; time... | 89 |
java-test-3128 | java | What does fps measurement measure ? | how many frames were processed since the fps variables were last reset | void perform FPS Calculations ( ) { number Of Frames += NUM ; long current Time = System Clock . elapsed Realtime ( ) ; if ( current Time > time To Update ) { float frames Per Second = ( number Of Frames / ( float ) ( current Time - first System Time ) ) * NUM ; fps Pct . set Text ( String . format ( STRING , frames Pe... | void performFPSCalculations ( ) { numberOfFrames += _NUM ; long currentTime = SystemClock . elapsedRealtime ( ) ; if ( currentTime > timeToUpdate ) { float framesPerSecond = ( numberOfFrames / ( float ) ( currentTime - firstSystemTime ) ) * _NUM ; fpsPct . setText ( String . format ( STRING , framesPerSecond ) ) ; time... | 89 |
java-test-3129 | java | When could this method run if 20 frames per second are processed without being reset before numberofframes overflows ? | for 1 . 5 years | void perform FPS Calculations ( ) { number Of Frames += NUM ; long current Time = System Clock . elapsed Realtime ( ) ; if ( current Time > time To Update ) { float frames Per Second = ( number Of Frames / ( float ) ( current Time - first System Time ) ) * NUM ; fps Pct . set Text ( String . format ( STRING , frames Pe... | void performFPSCalculations ( ) { numberOfFrames += _NUM ; long currentTime = SystemClock . elapsedRealtime ( ) ; if ( currentTime > timeToUpdate ) { float framesPerSecond = ( numberOfFrames / ( float ) ( currentTime - firstSystemTime ) ) * _NUM ; fpsPct . setText ( String . format ( STRING , framesPerSecond ) ) ; time... | 89 |
java-test-3130 | java | What does the code create ? | a shape object from provided coordinates | public Shape straight Line Shape ( ) { General Path path = null ; if ( llpts != null && llpts . length >= NUM && llpts . length % NUM == NUM ) { double y1 = llpts [ NUM ] ; double x1 = llpts [ NUM ] ; path = new General Path ( General Path . WIND EVEN ODD , llpts . length / NUM ) ; if ( return Degrees ) { path . move T... | public Shape straightLineShape ( ) { GeneralPath path = null ; if ( llpts != null && llpts . length >= _NUM && llpts . length % _NUM == _NUM ) { double y1 = llpts [ _NUM ] ; double x1 = llpts [ _NUM ] ; path = new GeneralPath ( GeneralPath . WIND_EVEN_ODD , llpts . length / _NUM ) ; if ( returnDegrees ) { path . moveTo... | 205 |
java-test-3131 | java | What do resources contain ? | wildcard | public void replace ( final Resource resource , final List < Resource > expanded Resources ) { LOG . debug ( STRING , resource , expanded Resources ) ; not Null ( resource ) ; not Null ( expanded Resources ) ; synchronized ( this ) { boolean found = BOOL ; final Set < Resource > result = new Linked Hash Set < Resource ... | public void replace ( final Resource resource , final List < Resource > expandedResources ) { LOG . debug ( STRING , resource , expandedResources ) ; notNull ( resource ) ; notNull ( expandedResources ) ; synchronized ( this ) { boolean found = _BOOL ; final Set < Resource > result = new LinkedHashSet < Resource > ( ) ... | 181 |
java-test-3133 | java | What does the code tell the scroller ? | to start scrolling | void start Scrolling ( ) { if ( log . is Loggable ( Platform Logger . Level . FINER ) ) { log . finer ( STRING + this ) ; } scroll ( ) ; if ( scroller == null ) { scroller = new X Scroll Repeater ( this ) ; } else { scroller . set Scrollbar ( this ) ; } scroller . start ( ) ; } | void startScrolling ( ) { if ( log . isLoggable ( PlatformLogger . Level . FINER ) ) { log . finer ( STRING + this ) ; } scroll ( ) ; if ( scroller == null ) { scroller = new XScrollRepeater ( this ) ; } else { scroller . setScrollbar ( this ) ; } scroller . start ( ) ; } | 72 |
java-test-3134 | java | What does the code load ? | the print format associated with a process | public static M Print Format load Print Format ( Properties ctx , M Process process , String trx Name ) throws Exception { M Print Format ret Value = null ; if ( process . get AD Print Format ID ( ) == NUM ) { I AD Report View report View = process . get AD Report View ( ) ; int report View Id = NUM ; int table Id = NU... | public static MPrintFormat loadPrintFormat ( Properties ctx , MProcess process , String trxName ) throws Exception { MPrintFormat retValue = null ; if ( process . getAD_PrintFormat_ID ( ) == _NUM ) { I_AD_ReportView reportView = process . getAD_ReportView ( ) ; int reportViewId = _NUM ; int tableId = _NUM ; if ( report... | 324 |
java-test-3135 | java | What does the code load if none is found ? | its default one | public static M Print Format load Print Format ( Properties ctx , M Process process , String trx Name ) throws Exception { M Print Format ret Value = null ; if ( process . get AD Print Format ID ( ) == NUM ) { I AD Report View report View = process . get AD Report View ( ) ; int report View Id = NUM ; int table Id = NU... | public static MPrintFormat loadPrintFormat ( Properties ctx , MProcess process , String trxName ) throws Exception { MPrintFormat retValue = null ; if ( process . getAD_PrintFormat_ID ( ) == _NUM ) { I_AD_ReportView reportView = process . getAD_ReportView ( ) ; int reportViewId = _NUM ; int tableId = _NUM ; if ( report... | 324 |
java-test-3142 | java | What does the code validate ? | the authentication credentials | public int process ( Callback [ ] callbacks , int state ) throws Auth Login Exception { debug . message ( STRING ) ; if ( error Msg Key != null ) { debug . message ( STRING ) ; throw new Auth Login Exception ( am Auth MSISDN , error Msg Key , null ) ; } Http Servlet Request req = get Http Servlet Request ( ) ; String g... | public int process ( Callback [ ] callbacks , int state ) throws AuthLoginException { debug . message ( STRING ) ; if ( errorMsgKey != null ) { debug . message ( STRING ) ; throw new AuthLoginException ( amAuthMSISDN , errorMsgKey , null ) ; } HttpServletRequest req = getHttpServletRequest ( ) ; String gateway = null ;... | 261 |
java-test-3144 | java | How does the code check apply mthod ? | by reflect | @ Suppress Warnings ( { STRING , STRING } ) private static Method find Apply Method ( ) { try { Class clz = Shared Preferences . Editor . class ; return clz . get Method ( STRING ) ; } catch ( No Such Method Exception e ) { } return null ; } | @ SuppressWarnings ( { STRING , STRING } ) private static Method findApplyMethod ( ) { try { Class clz = SharedPreferences . Editor . class ; return clz . getMethod ( STRING ) ; } catch ( NoSuchMethodException e ) { } return null ; } | 55 |
java-test-3145 | java | What does the code extract ? | the metric to be examined from the having tokenizedquery | private Logical Metric extract Metric ( Matcher tokenized Query , Metric Dictionary metric Dictionary ) throws Bad Having Exception { String metric Name = tokenized Query . group ( NUM ) ; Logical Metric extracted Metric = metric Dictionary . get ( metric Name ) ; if ( extracted Metric == null ) { LOG . debug ( HAVING ... | private LogicalMetric extractMetric ( Matcher tokenizedQuery , MetricDictionary metricDictionary ) throws BadHavingException { String metricName = tokenizedQuery . group ( _NUM ) ; LogicalMetric extractedMetric = metricDictionary . get ( metricName ) ; if ( extractedMetric == null ) { LOG . debug ( HAVING_METRIC_UNDEFI... | 94 |
java-test-3146 | java | What did the code read ? | a cache of omgraphics , given a objectinputstream | public void read Graphics ( Object Input Stream objstream ) throws IO Exception { Debug . message ( STRING , STRING ) ; try { while ( BOOL ) { try { OM Graphic omg = ( OM Graphic ) objstream . read Object ( ) ; graphics . add ( omg ) ; } catch ( Class Not Found Exception e ) { e . print Stack Trace ( ) ; } catch ( Opti... | public void readGraphics ( ObjectInputStream objstream ) throws IOException { Debug . message ( STRING , STRING ) ; try { while ( _BOOL ) { try { OMGraphic omg = ( OMGraphic ) objstream . readObject ( ) ; graphics . add ( omg ) ; } catch ( ClassNotFoundException e ) { e . printStackTrace ( ) ; } catch ( OptionalDataExc... | 101 |
java-test-3147 | java | For what purpose do catalog at the specified location ( by checking for specific files ) check ? | to see if there appears to already be an existing calibre2opds | private boolean check Catalog Existence ( File catalog Parent Folder , boolean check Catalog Folder Only ) { if ( ! catalog Parent Folder . exists ( ) ) { if ( logger . is Trace Enabled ( ) ) logger . trace ( STRING ) ; return BOOL ; } switch ( current Profile . get Device Mode ( ) ) { case Nook : File trook File = new... | private boolean checkCatalogExistence ( File catalogParentFolder , boolean checkCatalogFolderOnly ) { if ( ! catalogParentFolder . exists ( ) ) { if ( logger . isTraceEnabled ( ) ) logger . trace ( STRING ) ; return _BOOL ; } switch ( currentProfile . getDeviceMode ( ) ) { case Nook : File trookFile = new File ( catalo... | 386 |
java-test-3148 | java | What could return a false ( although unlikely ) positive ? | a true | private boolean check Catalog Existence ( File catalog Parent Folder , boolean check Catalog Folder Only ) { if ( ! catalog Parent Folder . exists ( ) ) { if ( logger . is Trace Enabled ( ) ) logger . trace ( STRING ) ; return BOOL ; } switch ( current Profile . get Device Mode ( ) ) { case Nook : File trook File = new... | private boolean checkCatalogExistence ( File catalogParentFolder , boolean checkCatalogFolderOnly ) { if ( ! catalogParentFolder . exists ( ) ) { if ( logger . isTraceEnabled ( ) ) logger . trace ( STRING ) ; return _BOOL ; } switch ( currentProfile . getDeviceMode ( ) ) { case Nook : File trookFile = new File ( catalo... | 386 |
java-test-3149 | java | What could a true return ? | a false ( although unlikely ) positive | private boolean check Catalog Existence ( File catalog Parent Folder , boolean check Catalog Folder Only ) { if ( ! catalog Parent Folder . exists ( ) ) { if ( logger . is Trace Enabled ( ) ) logger . trace ( STRING ) ; return BOOL ; } switch ( current Profile . get Device Mode ( ) ) { case Nook : File trook File = new... | private boolean checkCatalogExistence ( File catalogParentFolder , boolean checkCatalogFolderOnly ) { if ( ! catalogParentFolder . exists ( ) ) { if ( logger . isTraceEnabled ( ) ) logger . trace ( STRING ) ; return _BOOL ; } switch ( currentProfile . getDeviceMode ( ) ) { case Nook : File trookFile = new File ( catalo... | 386 |
java-test-3150 | java | What does the code initialize ? | the transient fields | private void init ( String name ) { if ( name == null ) { throw new Null Pointer Exception ( STRING ) ; } else if ( name . length ( ) == NUM ) { throw new Illegal Argument Exception ( STRING ) ; } int i = name . last Index Of ( STRING ) ; if ( i >= NUM ) { iface = name . substring ( NUM , i ) ; name = name . substring ... | private void init ( String name ) { if ( name == null ) { throw new NullPointerException ( STRING ) ; } else if ( name . length ( ) == _NUM ) { throw new IllegalArgumentException ( STRING ) ; } int i = name . lastIndexOf ( STRING ) ; if ( i >= _NUM ) { iface = name . substring ( _NUM , i ) ; name = name . substring ( i... | 155 |
java-test-3151 | java | What does the code parse ? | the target name | private void init ( String name ) { if ( name == null ) { throw new Null Pointer Exception ( STRING ) ; } else if ( name . length ( ) == NUM ) { throw new Illegal Argument Exception ( STRING ) ; } int i = name . last Index Of ( STRING ) ; if ( i >= NUM ) { iface = name . substring ( NUM , i ) ; name = name . substring ... | private void init ( String name ) { if ( name == null ) { throw new NullPointerException ( STRING ) ; } else if ( name . length ( ) == _NUM ) { throw new IllegalArgumentException ( STRING ) ; } int i = name . lastIndexOf ( STRING ) ; if ( i >= _NUM ) { iface = name . substring ( _NUM , i ) ; name = name . substring ( i... | 155 |
java-test-3153 | java | What did this return ? | the estimated quantity for an work order activity this returns original activity quantity + all change quantities of the activity for all associated res work order activities of only approved res | @ Override public double total Estimated Quantity ( final Long wo Activity Id , Long mb Header Id , final Long activity Id , final Work Order work Order ) { Date current Timestamp = null ; MB Header mb Header = null ; if ( mb Header Id == null ) { mb Header Id = - NUM ; current Timestamp = new Date ( ) ; } else { mb He... | @ Override public double totalEstimatedQuantity ( final Long woActivityId , Long mbHeaderId , final Long activityId , final WorkOrder workOrder ) { Date currentTimestamp = null ; MBHeader mbHeader = null ; if ( mbHeaderId == null ) { mbHeaderId = - _NUM ; currentTimestamp = new Date ( ) ; } else { mbHeader = persistenc... | 303 |
java-test-3154 | java | What does this return an work order activity ? | original activity quantity + all change quantities of the activity for all associated res work order activities of only approved res | @ Override public double total Estimated Quantity ( final Long wo Activity Id , Long mb Header Id , final Long activity Id , final Work Order work Order ) { Date current Timestamp = null ; MB Header mb Header = null ; if ( mb Header Id == null ) { mb Header Id = - NUM ; current Timestamp = new Date ( ) ; } else { mb He... | @ Override public double totalEstimatedQuantity ( final Long woActivityId , Long mbHeaderId , final Long activityId , final WorkOrder workOrder ) { Date currentTimestamp = null ; MBHeader mbHeader = null ; if ( mbHeaderId == null ) { mbHeaderId = - _NUM ; currentTimestamp = new Date ( ) ; } else { mbHeader = persistenc... | 303 |
java-test-3155 | java | What does the code get ? | the printerparser to use based on the field and the locale | private Date Time Printer Parser printer Parser ( Locale locale ) { Week Fields week Def = Week Fields . of ( locale ) ; Temporal Field field = null ; switch ( chr ) { case STRING : field = week Def . week Based Year ( ) ; if ( count == NUM ) { return new Reduced Printer Parser ( field , NUM , NUM , NUM , Reduced Print... | private DateTimePrinterParser printerParser ( Locale locale ) { WeekFields weekDef = WeekFields . of ( locale ) ; TemporalField field = null ; switch ( chr ) { case STRING : field = weekDef . weekBasedYear ( ) ; if ( count == _NUM ) { return new ReducedPrinterParser ( field , _NUM , _NUM , _NUM , ReducedPrinterParser .... | 211 |
java-test-3156 | java | Where does the specified action perform ? | on the menu item specified by the screen coordinate position | private boolean menu Item Action ( int screen X , int screen Y , int action ) { List View list View = m App Menu . get Popup ( ) . get List View ( ) ; Array List < View > item Views = new Array List < View > ( ) ; for ( int i = NUM ; i < list View . get Child Count ( ) ; ++ i ) { boolean has Image Buttons = BOOL ; if (... | private boolean menuItemAction ( int screenX , int screenY , int action ) { ListView listView = mAppMenu . getPopup ( ) . getListView ( ) ; ArrayList < View > itemViews = new ArrayList < View > ( ) ; for ( int i = _NUM ; i < listView . getChildCount ( ) ; ++ i ) { boolean hasImageButtons = _BOOL ; if ( listView . getCh... | 360 |
java-test-3157 | java | What does the code compute ? | the weighted distance to p_other | public double distance weighted ( Pla Point Float p other , double p horizontal weight , double p vertical weight ) { double delta x = v x - p other . v x ; double delta y = v y - p other . v y ; delta x *= p horizontal weight ; delta y *= p vertical weight ; double result = Math . sqrt ( delta x * delta x + delta y * ... | public double distance_weighted ( PlaPointFloat p_other , double p_horizontal_weight , double p_vertical_weight ) { double delta_x = v_x - p_other . v_x ; double delta_y = v_y - p_other . v_y ; delta_x *= p_horizontal_weight ; delta_y *= p_vertical_weight ; double result = Math . sqrt ( delta_x * delta_x + delta_y * de... | 86 |
java-test-3158 | java | What can be used on the current device ( generally all platform versions except for 4 . 4 ) on android 4 ? | file uploads | public static boolean is File Upload Available ( final boolean needs Correct Mime Type ) { if ( Build . VERSION . SDK INT == NUM ) { final String platform Version = ( Build . VERSION . RELEASE == null ) ? STRING : Build . VERSION . RELEASE ; return ! needs Correct Mime Type && ( platform Version . starts With ( STRING ... | public static boolean isFileUploadAvailable ( final boolean needsCorrectMimeType ) { if ( Build . VERSION . SDK_INT == _NUM ) { final String platformVersion = ( Build . VERSION . RELEASE == null ) ? STRING : Build . VERSION . RELEASE ; return ! needsCorrectMimeType && ( platformVersion . startsWith ( STRING ) || platfo... | 86 |
java-test-3159 | java | Where can file uploads be used on the current device ( generally all platform versions except for 4 . 4 ) ? | on android 4 | public static boolean is File Upload Available ( final boolean needs Correct Mime Type ) { if ( Build . VERSION . SDK INT == NUM ) { final String platform Version = ( Build . VERSION . RELEASE == null ) ? STRING : Build . VERSION . RELEASE ; return ! needs Correct Mime Type && ( platform Version . starts With ( STRING ... | public static boolean isFileUploadAvailable ( final boolean needsCorrectMimeType ) { if ( Build . VERSION . SDK_INT == _NUM ) { final String platformVersion = ( Build . VERSION . RELEASE == null ) ? STRING : Build . VERSION . RELEASE ; return ! needsCorrectMimeType && ( platformVersion . startsWith ( STRING ) || platfo... | 86 |
java-test-3160 | java | What toggles in the stack ? | a drawer | public void toggle ( JFX Drawer drawer ) { if ( ! drawers . contains ( drawer ) ) add Drawer ( drawer ) ; if ( drawer . is Shown ( ) || drawer . is Showing ( ) ) drawer . close ( ) ; else { update Drawer Position ( drawer ) ; drawer . open ( ) ; } } | public void toggle ( JFXDrawer drawer ) { if ( ! drawers . contains ( drawer ) ) addDrawer ( drawer ) ; if ( drawer . isShown ( ) || drawer . isShowing ( ) ) drawer . close ( ) ; else { updateDrawerPosition ( drawer ) ; drawer . open ( ) ; } } | 64 |
java-test-3163 | java | What does the code process ? | one row returned from : select upi , seq_short , seq_long from uniparc . protein and upi > ? and rownum < = ? order by upi asc | @ Override public void process Row ( Result Set result Set ) throws SQL Exception { String upi = result Set . get String ( NUM ) ; String sequence = result Set . get String ( NUM ) ; if ( sequence == null || sequence . length ( ) == NUM ) { sequence = result Set . get String ( NUM ) ; } if ( sequence == null ) { throw ... | @ Override public void processRow ( ResultSet resultSet ) throws SQLException { String upi = resultSet . getString ( _NUM ) ; String sequence = resultSet . getString ( _NUM ) ; if ( sequence == null || sequence . length ( ) == _NUM ) { sequence = resultSet . getString ( _NUM ) ; } if ( sequence == null ) { throw new Il... | 97 |
java-test-3164 | java | What does the code create ? | a new handshaker for resuming an existing session with a server | public Resuming Client Handshaker ( DTLS Session session , Record Layer record Layer , Session Listener session Listener , Dtls Connector Config config , int max Transmission Unit ) { super ( session , record Layer , session Listener , config , max Transmission Unit ) ; if ( session . get Session Identifier ( ) == null... | public ResumingClientHandshaker ( DTLSSession session , RecordLayer recordLayer , SessionListener sessionListener , DtlsConnectorConfig config , int maxTransmissionUnit ) { super ( session , recordLayer , sessionListener , config , maxTransmissionUnit ) ; if ( session . getSessionIdentifier ( ) == null ) { throw new Il... | 71 |
java-test-3165 | java | What did the code use ? | to add an edge to the call graph | public boolean add Edge ( Edge e ) { if ( ! edges . add ( e ) ) return BOOL ; stream . add ( e ) ; Edge position = null ; position = src Unit To Edge . get ( e . src Unit ( ) ) ; if ( position == null ) { src Unit To Edge . put ( e . src Unit ( ) , e ) ; position = dummy ; } e . insert After By Unit ( position ) ; posi... | public boolean addEdge ( Edge e ) { if ( ! edges . add ( e ) ) return _BOOL ; stream . add ( e ) ; Edge position = null ; position = srcUnitToEdge . get ( e . srcUnit ( ) ) ; if ( position == null ) { srcUnitToEdge . put ( e . srcUnit ( ) , e ) ; position = dummy ; } e . insertAfterByUnit ( position ) ; position = srcM... | 204 |
java-test-3166 | java | How did the code used to add an edge to the call graph return true ? | iff the edge was not already present | public boolean add Edge ( Edge e ) { if ( ! edges . add ( e ) ) return BOOL ; stream . add ( e ) ; Edge position = null ; position = src Unit To Edge . get ( e . src Unit ( ) ) ; if ( position == null ) { src Unit To Edge . put ( e . src Unit ( ) , e ) ; position = dummy ; } e . insert After By Unit ( position ) ; posi... | public boolean addEdge ( Edge e ) { if ( ! edges . add ( e ) ) return _BOOL ; stream . add ( e ) ; Edge position = null ; position = srcUnitToEdge . get ( e . srcUnit ( ) ) ; if ( position == null ) { srcUnitToEdge . put ( e . srcUnit ( ) , e ) ; position = dummy ; } e . insertAfterByUnit ( position ) ; position = srcM... | 204 |
java-test-3167 | java | What does the code load for the given element ? | the delete participants | public static Delete Participant [ ] load Delete Participants ( Refactoring Status status , Refactoring Processor processor , Object element , Delete Arguments arguments , I Participant Descriptor Filter filter , String [ ] affected Natures , Sharable Participants shared ) { Refactoring Participant [ ] participants = f... | public static DeleteParticipant [ ] loadDeleteParticipants ( RefactoringStatus status , RefactoringProcessor processor , Object element , DeleteArguments arguments , IParticipantDescriptorFilter filter , String [ ] affectedNatures , SharableParticipants shared ) { RefactoringParticipant [ ] participants = fgDeleteInsta... | 107 |
java-test-3168 | java | What does the code create ? | a new putresult object | public Put Result ( String success Count , String fail Count , List < String > error Messages ) { success Count = success Count ; fail Count = fail Count ; error Messages = new Array List < > ( ) ; if ( error Messages != null ) { error Messages . add All ( error Messages ) ; } } | public PutResult ( String successCount , String failCount , List < String > errorMessages ) { _successCount = successCount ; _failCount = failCount ; _errorMessages = new ArrayList < > ( ) ; if ( errorMessages != null ) { _errorMessages . addAll ( errorMessages ) ; } } | 63 |
java-test-3169 | java | What is not stopped in that case ? | the work | public static boolean cancel Potential Work ( Object data , Image View image View ) { final Bitmap Worker Task bitmap Worker Task = get Bitmap Worker Task ( image View ) ; if ( bitmap Worker Task != null ) { final Object bitmap Data = bitmap Worker Task . m Data ; if ( bitmap Data == null || ! bitmap Data . equals ( da... | public static boolean cancelPotentialWork ( Object data , ImageView imageView ) { final BitmapWorkerTask bitmapWorkerTask = getBitmapWorkerTask ( imageView ) ; if ( bitmapWorkerTask != null ) { final Object bitmapData = bitmapWorkerTask . mData ; if ( bitmapData == null || ! bitmapData . equals ( data ) ) { bitmapWorke... | 112 |
java-test-3170 | java | Is the work stopped in that case ? | No | public static boolean cancel Potential Work ( Object data , Image View image View ) { final Bitmap Worker Task bitmap Worker Task = get Bitmap Worker Task ( image View ) ; if ( bitmap Worker Task != null ) { final Object bitmap Data = bitmap Worker Task . m Data ; if ( bitmap Data == null || ! bitmap Data . equals ( da... | public static boolean cancelPotentialWork ( Object data , ImageView imageView ) { final BitmapWorkerTask bitmapWorkerTask = getBitmapWorkerTask ( imageView ) ; if ( bitmapWorkerTask != null ) { final Object bitmapData = bitmapWorkerTask . mData ; if ( bitmapData == null || ! bitmapData . equals ( data ) ) { bitmapWorke... | 112 |
java-test-3171 | java | Where is the work not stopped ? | in that case | public static boolean cancel Potential Work ( Object data , Image View image View ) { final Bitmap Worker Task bitmap Worker Task = get Bitmap Worker Task ( image View ) ; if ( bitmap Worker Task != null ) { final Object bitmap Data = bitmap Worker Task . m Data ; if ( bitmap Data == null || ! bitmap Data . equals ( da... | public static boolean cancelPotentialWork ( Object data , ImageView imageView ) { final BitmapWorkerTask bitmapWorkerTask = getBitmapWorkerTask ( imageView ) ; if ( bitmapWorkerTask != null ) { final Object bitmapData = bitmapWorkerTask . mData ; if ( bitmapData == null || ! bitmapData . equals ( data ) ) { bitmapWorke... | 112 |
java-test-3172 | java | What does the code give the servlet the servlet ? | reference | public Deployer Servlet ( Server server ) { this . config Home = System . get Property ( STRING ) ; if ( this . config Home == null ) { this . config Home = System . get Property ( STRING ) ; } if ( this . config Home == null ) { this . config Home = System . get Property ( STRING ) ; } if ( this . config Home == null ... | public DeployerServlet ( Server server ) { this . configHome = System . getProperty ( STRING ) ; if ( this . configHome == null ) { this . configHome = System . getProperty ( STRING ) ; } if ( this . configHome == null ) { this . configHome = System . getProperty ( STRING ) ; } if ( this . configHome == null ) { throw ... | 150 |
java-test-3173 | java | What does the code create ? | the deployerservlet | public Deployer Servlet ( Server server ) { this . config Home = System . get Property ( STRING ) ; if ( this . config Home == null ) { this . config Home = System . get Property ( STRING ) ; } if ( this . config Home == null ) { this . config Home = System . get Property ( STRING ) ; } if ( this . config Home == null ... | public DeployerServlet ( Server server ) { this . configHome = System . getProperty ( STRING ) ; if ( this . configHome == null ) { this . configHome = System . getProperty ( STRING ) ; } if ( this . configHome == null ) { this . configHome = System . getProperty ( STRING ) ; } if ( this . configHome == null ) { throw ... | 150 |
java-test-3174 | java | What does this give the servlet ? | access to the server internals which allows for deployment control | public Deployer Servlet ( Server server ) { this . config Home = System . get Property ( STRING ) ; if ( this . config Home == null ) { this . config Home = System . get Property ( STRING ) ; } if ( this . config Home == null ) { this . config Home = System . get Property ( STRING ) ; } if ( this . config Home == null ... | public DeployerServlet ( Server server ) { this . configHome = System . getProperty ( STRING ) ; if ( this . configHome == null ) { this . configHome = System . getProperty ( STRING ) ; } if ( this . configHome == null ) { this . configHome = System . getProperty ( STRING ) ; } if ( this . configHome == null ) { throw ... | 150 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.