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-11429 | java | What does the code compute with the given entries with the given entries ? | the sign of the determinant of the 2x2 matrix | public static int sign Of Det 2 x 2 ( double x1 , double y1 , double x2 , double y2 ) { int sign ; double swap ; double k ; long count = NUM ; sign = NUM ; if ( ( x1 == NUM ) || ( y2 == NUM ) ) { if ( ( y1 == NUM ) || ( x2 == NUM ) ) { return NUM ; } else if ( y1 > NUM ) { if ( x2 > NUM ) { return - sign ; } else { ret... | public static int signOfDet2x2 ( double x1 , double y1 , double x2 , double y2 ) { int sign ; double swap ; double k ; long count = _NUM ; sign = _NUM ; if ( ( x1 == _NUM ) || ( y2 == _NUM ) ) { if ( ( y1 == _NUM ) || ( x2 == _NUM ) ) { return _NUM ; } else if ( y1 > _NUM ) { if ( x2 > _NUM ) { return - sign ; } else {... | 825 |
java-test-11430 | java | What are wildcards a matcher for " pattern " ? | " * " and " ? " | private static Pattern make Pattern From Wildcard ( String pattern ) { String Builder regexp = new String Builder ( ) ; for ( int i = NUM , len = pattern . length ( ) ; i < len ; i ++ ) { char c = pattern . char At ( i ) ; switch ( c ) { case STRING : int to Increment = NUM ; if ( len > i + NUM && pattern . char At ( i... | private static Pattern makePatternFromWildcard ( String pattern ) { StringBuilder regexp = new StringBuilder ( ) ; for ( int i = _NUM , len = pattern . length ( ) ; i < len ; i ++ ) { char c = pattern . charAt ( i ) ; switch ( c ) { case STRING : int toIncrement = _NUM ; if ( len > i + _NUM && pattern . charAt ( i + _N... | 269 |
java-test-11431 | java | Where are " * " and " ? " are wildcards ? | a matcher for " pattern " | private static Pattern make Pattern From Wildcard ( String pattern ) { String Builder regexp = new String Builder ( ) ; for ( int i = NUM , len = pattern . length ( ) ; i < len ; i ++ ) { char c = pattern . char At ( i ) ; switch ( c ) { case STRING : int to Increment = NUM ; if ( len > i + NUM && pattern . char At ( i... | private static Pattern makePatternFromWildcard ( String pattern ) { StringBuilder regexp = new StringBuilder ( ) ; for ( int i = _NUM , len = pattern . length ( ) ; i < len ; i ++ ) { char c = pattern . charAt ( i ) ; switch ( c ) { case STRING : int toIncrement = _NUM ; if ( len > i + _NUM && pattern . charAt ( i + _N... | 269 |
java-test-11432 | java | What do a regular expression implement ? | a matcher for " pattern " , in which " * " and " ? " are wildcards | private static Pattern make Pattern From Wildcard ( String pattern ) { String Builder regexp = new String Builder ( ) ; for ( int i = NUM , len = pattern . length ( ) ; i < len ; i ++ ) { char c = pattern . char At ( i ) ; switch ( c ) { case STRING : int to Increment = NUM ; if ( len > i + NUM && pattern . char At ( i... | private static Pattern makePatternFromWildcard ( String pattern ) { StringBuilder regexp = new StringBuilder ( ) ; for ( int i = _NUM , len = pattern . length ( ) ; i < len ; i ++ ) { char c = pattern . charAt ( i ) ; switch ( c ) { case STRING : int toIncrement = _NUM ; if ( len > i + _NUM && pattern . charAt ( i + _N... | 269 |
java-test-11434 | java | What does the code calculate ? | the number of days between epoch and the given date | public static int days Since 1900 ( Date date ) { final Calendar calendar = Calendar . get Instance ( ) ; calendar . clear ( ) ; calendar . set ( NUM , NUM , NUM ) ; return days Between ( calendar . get Time ( ) , date ) ; } | public static int daysSince1900 ( Date date ) { final Calendar calendar = Calendar . getInstance ( ) ; calendar . clear ( ) ; calendar . set ( _NUM , _NUM , _NUM ) ; return daysBetween ( calendar . getTime ( ) , date ) ; } | 54 |
java-test-11435 | java | What do a character from the reader disallow ? | entities | static char read Char ( IXML Reader reader , char entity Char ) throws IO Exception , XML Parse Exception { String str = XML Util . read ( reader , entity Char ) ; char ch = str . char At ( NUM ) ; if ( ch == entity Char ) { XML Util . error Unexpected Entity ( reader . get System ID ( ) , reader . get Line Nr ( ) , st... | static char readChar ( IXMLReader reader , char entityChar ) throws IOException , XMLParseException { String str = XMLUtil . read ( reader , entityChar ) ; char ch = str . charAt ( _NUM ) ; if ( ch == entityChar ) { XMLUtil . errorUnexpectedEntity ( reader . getSystemID ( ) , reader . getLineNr ( ) , str ) ; } return c... | 85 |
java-test-11436 | java | What does the code read ? | a character from the reader disallowing entities | static char read Char ( IXML Reader reader , char entity Char ) throws IO Exception , XML Parse Exception { String str = XML Util . read ( reader , entity Char ) ; char ch = str . char At ( NUM ) ; if ( ch == entity Char ) { XML Util . error Unexpected Entity ( reader . get System ID ( ) , reader . get Line Nr ( ) , st... | static char readChar ( IXMLReader reader , char entityChar ) throws IOException , XMLParseException { String str = XMLUtil . read ( reader , entityChar ) ; char ch = str . charAt ( _NUM ) ; if ( ch == entityChar ) { XMLUtil . errorUnexpectedEntity ( reader . getSystemID ( ) , reader . getLineNr ( ) , str ) ; } return c... | 85 |
java-test-11437 | java | For what purpose does the code load the relationship lists ? | for the specified charname | public Multimap < String , String > load Relations ( DB Transaction transaction , String charname ) throws SQL Exception { Hash Multimap < String , String > map = Hash Multimap . create ( ) ; String query = STRING ; Map < String , Object > params = new Hash Map < String , Object > ( ) ; params . put ( STRING , charname... | public Multimap < String , String > loadRelations ( DBTransaction transaction , String charname ) throws SQLException { HashMultimap < String , String > map = HashMultimap . create ( ) ; String query = STRING ; Map < String , Object > params = new HashMap < String , Object > ( ) ; params . put ( STRING , charname ) ; R... | 122 |
java-test-11438 | java | What does the code load for the specified charname ? | the relationship lists | public Multimap < String , String > load Relations ( DB Transaction transaction , String charname ) throws SQL Exception { Hash Multimap < String , String > map = Hash Multimap . create ( ) ; String query = STRING ; Map < String , Object > params = new Hash Map < String , Object > ( ) ; params . put ( STRING , charname... | public Multimap < String , String > loadRelations ( DBTransaction transaction , String charname ) throws SQLException { HashMultimap < String , String > map = HashMultimap . create ( ) ; String query = STRING ; Map < String , Object > params = new HashMap < String , Object > ( ) ; params . put ( STRING , charname ) ; R... | 122 |
java-test-11439 | java | What does this method mask ? | the standard identity , status , echelon , symbol modifier , country code , and order of battle fields | public String to Masked String ( ) { Symbol Code masked = new Symbol Code ( ) ; masked . set Values ( this ) ; masked . set Standard Identity ( null ) ; masked . set Status ( null ) ; masked . set Echelon ( null ) ; masked . set Symbol Modifier ( null ) ; masked . set Country Code ( null ) ; masked . set Order Of Battl... | public String toMaskedString ( ) { SymbolCode masked = new SymbolCode ( ) ; masked . setValues ( this ) ; masked . setStandardIdentity ( null ) ; masked . setStatus ( null ) ; masked . setEchelon ( null ) ; masked . setSymbolModifier ( null ) ; masked . setCountryCode ( null ) ; masked . setOrderOfBattle ( null ) ; ret... | 88 |
java-test-11440 | java | What do positions not identify uniquely ? | a particular symbol or graphic replaced with hyphens | public String to Masked String ( ) { Symbol Code masked = new Symbol Code ( ) ; masked . set Values ( this ) ; masked . set Standard Identity ( null ) ; masked . set Status ( null ) ; masked . set Echelon ( null ) ; masked . set Symbol Modifier ( null ) ; masked . set Country Code ( null ) ; masked . set Order Of Battl... | public String toMaskedString ( ) { SymbolCode masked = new SymbolCode ( ) ; masked . setValues ( this ) ; masked . setStandardIdentity ( null ) ; masked . setStatus ( null ) ; masked . setEchelon ( null ) ; masked . setSymbolModifier ( null ) ; masked . setCountryCode ( null ) ; masked . setOrderOfBattle ( null ) ; ret... | 88 |
java-test-11441 | java | What does the code indicate ? | a string representation of the symbol code with positions that do not uniquely identify a particular symbol or graphic replaced with hyphens | public String to Masked String ( ) { Symbol Code masked = new Symbol Code ( ) ; masked . set Values ( this ) ; masked . set Standard Identity ( null ) ; masked . set Status ( null ) ; masked . set Echelon ( null ) ; masked . set Symbol Modifier ( null ) ; masked . set Country Code ( null ) ; masked . set Order Of Battl... | public String toMaskedString ( ) { SymbolCode masked = new SymbolCode ( ) ; masked . setValues ( this ) ; masked . setStandardIdentity ( null ) ; masked . setStatus ( null ) ; masked . setEchelon ( null ) ; masked . setSymbolModifier ( null ) ; masked . setCountryCode ( null ) ; masked . setOrderOfBattle ( null ) ; ret... | 88 |
java-test-11443 | java | By how much do the boundingbox return in the zoom level specified by the argument for the requested slippy map tile ? | in degree ( epsg : 4326 ) | public static Referenced Envelope tile 2 bounding Box ( final int x , final int y , final int zoom , int srid ) { Referenced Envelope referenced Envelope ; switch ( srid ) { case NUM : referenced Envelope = new Referenced Envelope ( tile 2 lon ( x , zoom ) , tile 2 lon ( x + NUM , zoom ) , tile 2 lat ( y + NUM , zoom )... | public static ReferencedEnvelope tile2boundingBox ( final int x , final int y , final int zoom , int srid ) { ReferencedEnvelope referencedEnvelope ; switch ( srid ) { case _NUM : referencedEnvelope = new ReferencedEnvelope ( tile2lon ( x , zoom ) , tile2lon ( x + _NUM , zoom ) , tile2lat ( y + _NUM , zoom ) , tile2lat... | 173 |
java-test-11444 | java | What returns in the zoom level specified by the argument ? | the boundingbox | public static Referenced Envelope tile 2 bounding Box ( final int x , final int y , final int zoom , int srid ) { Referenced Envelope referenced Envelope ; switch ( srid ) { case NUM : referenced Envelope = new Referenced Envelope ( tile 2 lon ( x , zoom ) , tile 2 lon ( x + NUM , zoom ) , tile 2 lat ( y + NUM , zoom )... | public static ReferencedEnvelope tile2boundingBox ( final int x , final int y , final int zoom , int srid ) { ReferencedEnvelope referencedEnvelope ; switch ( srid ) { case _NUM : referencedEnvelope = new ReferencedEnvelope ( tile2lon ( x , zoom ) , tile2lon ( x + _NUM , zoom ) , tile2lat ( y + _NUM , zoom ) , tile2lat... | 173 |
java-test-11445 | java | Where do the boundingbox return in degree ( epsg : 4326 ) for the requested slippy map tile ? | in the zoom level specified by the argument | public static Referenced Envelope tile 2 bounding Box ( final int x , final int y , final int zoom , int srid ) { Referenced Envelope referenced Envelope ; switch ( srid ) { case NUM : referenced Envelope = new Referenced Envelope ( tile 2 lon ( x , zoom ) , tile 2 lon ( x + NUM , zoom ) , tile 2 lat ( y + NUM , zoom )... | public static ReferencedEnvelope tile2boundingBox ( final int x , final int y , final int zoom , int srid ) { ReferencedEnvelope referencedEnvelope ; switch ( srid ) { case _NUM : referencedEnvelope = new ReferencedEnvelope ( tile2lon ( x , zoom ) , tile2lon ( x + _NUM , zoom ) , tile2lat ( y + _NUM , zoom ) , tile2lat... | 173 |
java-test-11446 | java | For what purpose do the boundingbox return in degree ( epsg : 4326 ) in the zoom level specified by the argument ? | for the requested slippy map tile | public static Referenced Envelope tile 2 bounding Box ( final int x , final int y , final int zoom , int srid ) { Referenced Envelope referenced Envelope ; switch ( srid ) { case NUM : referenced Envelope = new Referenced Envelope ( tile 2 lon ( x , zoom ) , tile 2 lon ( x + NUM , zoom ) , tile 2 lat ( y + NUM , zoom )... | public static ReferencedEnvelope tile2boundingBox ( final int x , final int y , final int zoom , int srid ) { ReferencedEnvelope referencedEnvelope ; switch ( srid ) { case _NUM : referencedEnvelope = new ReferencedEnvelope ( tile2lon ( x , zoom ) , tile2lon ( x + _NUM , zoom ) , tile2lat ( y + _NUM , zoom ) , tile2lat... | 173 |
java-test-11457 | java | What does the code read ? | the menu component | private void read Object ( Object Input Stream s ) throws Class Not Found Exception , IO Exception , Headless Exception { Graphics Environment . check Headless ( ) ; acc = Access Controller . get Context ( ) ; s . default Read Object ( ) ; app Context = App Context . get App Context ( ) ; } | private void readObject ( ObjectInputStream s ) throws ClassNotFoundException , IOException , HeadlessException { GraphicsEnvironment . checkHeadless ( ) ; acc = AccessController . getContext ( ) ; s . defaultReadObject ( ) ; appContext = AppContext . getAppContext ( ) ; } | 61 |
java-test-11458 | java | What represents the string ? | a columnspec object | public static Column Spec decode ( String encoded Column Spec , Layout Map layout Map ) { check Not Blank ( encoded Column Spec , STRING ) ; check Not Null ( layout Map , STRING ) ; String trimmed = encoded Column Spec . trim ( ) ; String lower = trimmed . to Lower Case ( Locale . ENGLISH ) ; return decode Expanded ( l... | public static ColumnSpec decode ( String encodedColumnSpec , LayoutMap layoutMap ) { checkNotBlank ( encodedColumnSpec , STRING ) ; checkNotNull ( layoutMap , STRING ) ; String trimmed = encodedColumnSpec . trim ( ) ; String lower = trimmed . toLowerCase ( Locale . ENGLISH ) ; return decodeExpanded ( layoutMap . expand... | 79 |
java-test-11459 | java | What does the code return ? | a columnspec object that represents the string | public static Column Spec decode ( String encoded Column Spec , Layout Map layout Map ) { check Not Blank ( encoded Column Spec , STRING ) ; check Not Null ( layout Map , STRING ) ; String trimmed = encoded Column Spec . trim ( ) ; String lower = trimmed . to Lower Case ( Locale . ENGLISH ) ; return decode Expanded ( l... | public static ColumnSpec decode ( String encodedColumnSpec , LayoutMap layoutMap ) { checkNotBlank ( encodedColumnSpec , STRING ) ; checkNotNull ( layoutMap , STRING ) ; String trimmed = encodedColumnSpec . trim ( ) ; String lower = trimmed . toLowerCase ( Locale . ENGLISH ) ; return decodeExpanded ( layoutMap . expand... | 79 |
java-test-11460 | java | What does the code parse ? | the encoded column specifications | public static Column Spec decode ( String encoded Column Spec , Layout Map layout Map ) { check Not Blank ( encoded Column Spec , STRING ) ; check Not Null ( layout Map , STRING ) ; String trimmed = encoded Column Spec . trim ( ) ; String lower = trimmed . to Lower Case ( Locale . ENGLISH ) ; return decode Expanded ( l... | public static ColumnSpec decode ( String encodedColumnSpec , LayoutMap layoutMap ) { checkNotBlank ( encodedColumnSpec , STRING ) ; checkNotNull ( layoutMap , STRING ) ; String trimmed = encodedColumnSpec . trim ( ) ; String lower = trimmed . toLowerCase ( Locale . ENGLISH ) ; return decodeExpanded ( layoutMap . expand... | 79 |
java-test-11461 | java | What do a device broadlink before it can be controlled ? | sdk | public Json Object add Device ( Device Info selected Device ) { Json Object init Json Object Params = broadlink Standard Params ( Broadlink Constants . CMD DEVICE ADD ID , Broadlink Constants . CMD DEVICE ADD ) ; init Json Object Params . add Property ( STRING , selected Device . get Mac ( ) ) ; init Json Object Params... | public JsonObject addDevice ( DeviceInfo selectedDevice ) { JsonObject initJsonObjectParams = broadlinkStandardParams ( BroadlinkConstants . CMD_DEVICE_ADD_ID , BroadlinkConstants . CMD_DEVICE_ADD ) ; initJsonObjectParams . addProperty ( STRING , selectedDevice . getMac ( ) ) ; initJsonObjectParams . addProperty ( STRI... | 203 |
java-test-11462 | java | What does the code add ? | a device to broadlink sdk before it can be controlled | public Json Object add Device ( Device Info selected Device ) { Json Object init Json Object Params = broadlink Standard Params ( Broadlink Constants . CMD DEVICE ADD ID , Broadlink Constants . CMD DEVICE ADD ) ; init Json Object Params . add Property ( STRING , selected Device . get Mac ( ) ) ; init Json Object Params... | public JsonObject addDevice ( DeviceInfo selectedDevice ) { JsonObject initJsonObjectParams = broadlinkStandardParams ( BroadlinkConstants . CMD_DEVICE_ADD_ID , BroadlinkConstants . CMD_DEVICE_ADD ) ; initJsonObjectParams . addProperty ( STRING , selectedDevice . getMac ( ) ) ; initJsonObjectParams . addProperty ( STRI... | 203 |
java-test-11463 | java | When do a device broadlink sdk ? | before it can be controlled | public Json Object add Device ( Device Info selected Device ) { Json Object init Json Object Params = broadlink Standard Params ( Broadlink Constants . CMD DEVICE ADD ID , Broadlink Constants . CMD DEVICE ADD ) ; init Json Object Params . add Property ( STRING , selected Device . get Mac ( ) ) ; init Json Object Params... | public JsonObject addDevice ( DeviceInfo selectedDevice ) { JsonObject initJsonObjectParams = broadlinkStandardParams ( BroadlinkConstants . CMD_DEVICE_ADD_ID , BroadlinkConstants . CMD_DEVICE_ADD ) ; initJsonObjectParams . addProperty ( STRING , selectedDevice . getMac ( ) ) ; initJsonObjectParams . addProperty ( STRI... | 203 |
java-test-11464 | java | What does the code remove from this list if it is present ? | the first occurrence of the specified element | @ Override public boolean remove ( Object o ) { if ( o == null ) { for ( int index = start ; index < end ; index ++ ) { if ( buffer [ index ] == null ) { do Remove ( index - start ) ; return BOOL ; } } } else { for ( int index = start ; index < end ; index ++ ) { if ( o . equals ( buffer [ index ] ) ) { do Remove ( ind... | @ Override public boolean remove ( Object o ) { if ( o == null ) { for ( int index = start ; index < end ; index ++ ) { if ( buffer [ index ] == null ) { doRemove ( index - start ) ; return _BOOL ; } } } else { for ( int index = start ; index < end ; index ++ ) { if ( o . equals ( buffer [ index ] ) ) { doRemove ( inde... | 104 |
java-test-11465 | java | What does the code generate ? | a data file for break - iterator | private static void generate Data File ( String datafile , String rule , String builder ) { Rule Based Break Iterator Builder bld ; if ( builder . equals ( STRING ) ) { bld = new Rule Based Break Iterator Builder ( rule ) ; } else if ( builder . equals ( STRING ) ) { bld = new Dictionary Based Break Iterator Builder ( ... | private static void generateDataFile ( String datafile , String rule , String builder ) { RuleBasedBreakIteratorBuilder bld ; if ( builder . equals ( STRING ) ) { bld = new RuleBasedBreakIteratorBuilder ( rule ) ; } else if ( builder . equals ( STRING ) ) { bld = new DictionaryBasedBreakIteratorBuilder ( rule ) ; } els... | 96 |
java-test-11466 | java | How do the media content embed ? | in a way suitable for the browser to view the content | public void do Get Embed Html ( Http Servlet Request request , Http Servlet Response response , String type , String location , String item ) throws Servlet Exception , IO Exception { response . set Status ( Http Servlet Response . SC OK ) ; response . set Content Type ( STRING ) ; Print Writer writer = response . get ... | public void doGetEmbedHtml ( HttpServletRequest request , HttpServletResponse response , String type , String location , String item ) throws ServletException , IOException { response . setStatus ( HttpServletResponse . SC_OK ) ; response . setContentType ( STRING ) ; PrintWriter writer = response . getWriter ( ) ; Str... | 128 |
java-test-11467 | java | What does the code get ? | the html snippet for embedding the media content in a way suitable for the browser to view the content as | public void do Get Embed Html ( Http Servlet Request request , Http Servlet Response response , String type , String location , String item ) throws Servlet Exception , IO Exception { response . set Status ( Http Servlet Response . SC OK ) ; response . set Content Type ( STRING ) ; Print Writer writer = response . get ... | public void doGetEmbedHtml ( HttpServletRequest request , HttpServletResponse response , String type , String location , String item ) throws ServletException , IOException { response . setStatus ( HttpServletResponse . SC_OK ) ; response . setContentType ( STRING ) ; PrintWriter writer = response . getWriter ( ) ; Str... | 128 |
java-test-11468 | java | What do the holder have ? | a permission node | public Tristate has Permission ( Node node , boolean t ) { for ( Node n : t ? get Transient Nodes ( ) : get Nodes ( ) ) { if ( n . almost Equals ( node ) ) { return n . get Tristate ( ) ; } } return Tristate . UNDEFINED ; } | public Tristate hasPermission ( Node node , boolean t ) { for ( Node n : t ? getTransientNodes ( ) : getNodes ( ) ) { if ( n . almostEquals ( node ) ) { return n . getTristate ( ) ; } } return Tristate . UNDEFINED ; } | 58 |
java-test-11472 | java | What performs on a single line ? | a regular expression search | private static int do Regex Search ( final Object element , final String line Text , final int line Counter , final String local Search String , final int start Position , final boolean case Sensitive , final List < Search Result > results ) { final Pattern pattern = case Sensitive ? Pattern . compile ( local Search St... | private static int doRegexSearch ( final Object element , final String lineText , final int lineCounter , final String localSearchString , final int startPosition , final boolean caseSensitive , final List < SearchResult > results ) { final Pattern pattern = caseSensitive ? Pattern . compile ( localSearchString ) : Pat... | 200 |
java-test-11473 | java | What does a form submit for further processing ? | to the form entry queue | private void submit X Form ( Document doc , String xml , String path Name , boolean archive , boolean propagate Errors ) throws Exception { String xml Original = xml ; try { fill Patient Id If Missing ( doc ) ; save Complex Obs ( doc , BOOL ) ; set Multiple Select Values ( doc . get Document Element ( ) ) ; xml = Xform... | private void submitXForm ( Document doc , String xml , String pathName , boolean archive , boolean propagateErrors ) throws Exception { String xmlOriginal = xml ; try { fillPatientIdIfMissing ( doc ) ; saveComplexObs ( doc , _BOOL ) ; setMultipleSelectValues ( doc . getDocumentElement ( ) ) ; xml = XformsUtil . doc2Str... | 220 |
java-test-11474 | java | Where does the code parse the style ? | in workspace | private int parse Style In Workspace ( Geo Server REST Reader reader , Map < String , List < Style Wrapper > > style Map , int count , String workspace Name ) { List < Style Wrapper > style List ; if ( workspace Name != null ) { REST Style List geo Server Workspace Style List = reader . get Styles ( workspace Name ) ; ... | private int parseStyleInWorkspace ( GeoServerRESTReader reader , Map < String , List < StyleWrapper > > styleMap , int count , String workspaceName ) { List < StyleWrapper > styleList ; if ( workspaceName != null ) { RESTStyleList geoServerWorkspaceStyleList = reader . getStyles ( workspaceName ) ; styleList = new Arra... | 168 |
java-test-11478 | java | What does the code load based on a lookup ? | a native font | public Object load Native Font ( String lookup ) { try { lookup = lookup . split ( STRING ) [ NUM ] ; int typeface = Typeface . NORMAL ; String family Name = lookup . substring ( NUM , lookup . index Of ( STRING ) ) ; String style = lookup . substring ( lookup . index Of ( STRING ) + NUM , lookup . last Index Of ( STRI... | public Object loadNativeFont ( String lookup ) { try { lookup = lookup . split ( STRING ) [ _NUM ] ; int typeface = Typeface . NORMAL ; String familyName = lookup . substring ( _NUM , lookup . indexOf ( STRING ) ) ; String style = lookup . substring ( lookup . indexOf ( STRING ) + _NUM , lookup . lastIndexOf ( STRING )... | 226 |
java-test-11479 | java | What did the code allow thus ? | fallback if the primary font isn ' t supported by the platform | public Object load Native Font ( String lookup ) { try { lookup = lookup . split ( STRING ) [ NUM ] ; int typeface = Typeface . NORMAL ; String family Name = lookup . substring ( NUM , lookup . index Of ( STRING ) ) ; String style = lookup . substring ( lookup . index Of ( STRING ) + NUM , lookup . last Index Of ( STRI... | public Object loadNativeFont ( String lookup ) { try { lookup = lookup . split ( STRING ) [ _NUM ] ; int typeface = Typeface . NORMAL ; String familyName = lookup . substring ( _NUM , lookup . indexOf ( STRING ) ) ; String style = lookup . substring ( lookup . indexOf ( STRING ) + _NUM , lookup . lastIndexOf ( STRING )... | 226 |
java-test-11480 | java | How does the code load a native font ? | based on a lookup | public Object load Native Font ( String lookup ) { try { lookup = lookup . split ( STRING ) [ NUM ] ; int typeface = Typeface . NORMAL ; String family Name = lookup . substring ( NUM , lookup . index Of ( STRING ) ) ; String style = lookup . substring ( lookup . index Of ( STRING ) + NUM , lookup . last Index Of ( STRI... | public Object loadNativeFont ( String lookup ) { try { lookup = lookup . split ( STRING ) [ _NUM ] ; int typeface = Typeface . NORMAL ; String familyName = lookup . substring ( _NUM , lookup . indexOf ( STRING ) ) ; String style = lookup . substring ( lookup . indexOf ( STRING ) + _NUM , lookup . lastIndexOf ( STRING )... | 226 |
java-test-11481 | java | What does the code create ? | a new instance of the methodsourcesinkdefinition class | public Source Sink Definition ( Soot Method And Class am , Set < Access Path Tuple > base Objects , Set < Access Path Tuple > [ ] parameters , Set < Access Path Tuple > return Values ) { this . method = am ; this . base Objects = base Objects == null || base Objects . is Empty ( ) ? null : base Objects ; this . paramet... | public SourceSinkDefinition ( SootMethodAndClass am , Set < AccessPathTuple > baseObjects , Set < AccessPathTuple > [ ] parameters , Set < AccessPathTuple > returnValues ) { this . method = am ; this . baseObjects = baseObjects == null || baseObjects . isEmpty ( ) ? null : baseObjects ; this . parameters = parameters ;... | 99 |
java-test-11483 | java | What do a method wrap ? | given element | @ Nullable public static List < Psi Element > search For Wrapping Method ( Psi Element start , boolean deep ) { Psi Element seeker = start ; List < Psi Element > ret = new Array List < Psi Element > ( NUM ) ; while ( seeker != null ) { Py Function func = Psi Tree Util . get Parent Of Type ( seeker , Py Function . class... | @ Nullable public static List < PsiElement > searchForWrappingMethod ( PsiElement start , boolean deep ) { PsiElement seeker = start ; List < PsiElement > ret = new ArrayList < PsiElement > ( _NUM ) ; while ( seeker != null ) { PyFunction func = PsiTreeUtil . getParentOfType ( seeker , PyFunction . class , _BOOL , PyCl... | 161 |
java-test-11484 | java | What does the code create ? | a migrationclient to be used with a distributedsystem and cache that are created using gemfire apis | public Migration Client ( String bind Address Name , int server Port ) { this . port = server Port ; try { this . server Address = Inet Address . get By Name ( bind Address Name ) ; } catch ( IO Exception e ) { throw new Illegal Argument Exception ( STRING + bind Address Name + STRING ) ; } } | public MigrationClient ( String bindAddressName , int serverPort ) { this . port = serverPort ; try { this . serverAddress = InetAddress . getByName ( bindAddressName ) ; } catch ( IOException e ) { throw new IllegalArgumentException ( STRING + bindAddressName + STRING ) ; } } | 65 |
java-test-11485 | java | How are a distributedsystem and cache created ? | using gemfire apis | public Migration Client ( String bind Address Name , int server Port ) { this . port = server Port ; try { this . server Address = Inet Address . get By Name ( bind Address Name ) ; } catch ( IO Exception e ) { throw new Illegal Argument Exception ( STRING + bind Address Name + STRING ) ; } } | public MigrationClient ( String bindAddressName , int serverPort ) { this . port = serverPort ; try { this . serverAddress = InetAddress . getByName ( bindAddressName ) ; } catch ( IOException e ) { throw new IllegalArgumentException ( STRING + bindAddressName + STRING ) ; } } | 65 |
java-test-11486 | java | What will be done in a distance attack ( bow and arrows , spear , etc . ? | the damage | public static int apply Distance Attack Modifiers ( final int damage , final double square Distance , final double maxrange ) { final double max Range Squared = maxrange * maxrange ; if ( max Range Squared < square Distance ) { return NUM ; } else if ( square Distance == NUM ) { return ( int ) ( NUM * damage ) ; } fina... | public static int applyDistanceAttackModifiers ( final int damage , final double squareDistance , final double maxrange ) { final double maxRangeSquared = maxrange * maxrange ; if ( maxRangeSquared < squareDistance ) { return _NUM ; } else if ( squareDistance == _NUM ) { return ( int ) ( _NUM * damage ) ; } final doubl... | 124 |
java-test-11487 | java | What does the code calculate ? | the damage that will be done in a distance attack ( bow and arrows , spear , etc . ) | public static int apply Distance Attack Modifiers ( final int damage , final double square Distance , final double maxrange ) { final double max Range Squared = maxrange * maxrange ; if ( max Range Squared < square Distance ) { return NUM ; } else if ( square Distance == NUM ) { return ( int ) ( NUM * damage ) ; } fina... | public static int applyDistanceAttackModifiers ( final int damage , final double squareDistance , final double maxrange ) { final double maxRangeSquared = maxrange * maxrange ; if ( maxRangeSquared < squareDistance ) { return _NUM ; } else if ( squareDistance == _NUM ) { return ( int ) ( _NUM * damage ) ; } final doubl... | 124 |
java-test-11488 | java | Where will the damage be done ? | in a distance attack ( bow and arrows , spear , etc . | public static int apply Distance Attack Modifiers ( final int damage , final double square Distance , final double maxrange ) { final double max Range Squared = maxrange * maxrange ; if ( max Range Squared < square Distance ) { return NUM ; } else if ( square Distance == NUM ) { return ( int ) ( NUM * damage ) ; } fina... | public static int applyDistanceAttackModifiers ( final int damage , final double squareDistance , final double maxrange ) { final double maxRangeSquared = maxrange * maxrange ; if ( maxRangeSquared < squareDistance ) { return _NUM ; } else if ( squareDistance == _NUM ) { return ( int ) ( _NUM * damage ) ; } final doubl... | 124 |
java-test-11489 | java | In which direction does any of the elements make ? | through the filter | private boolean compute Any Visible ( Viewer viewer , Object [ ] elements ) { boolean element Found = BOOL ; for ( int i = NUM ; i < elements . length && ! element Found ; i ++ ) { Object element = elements [ i ] ; element Found = is Element Visible ( viewer , element ) ; } return element Found ; } | private boolean computeAnyVisible ( Viewer viewer , Object [ ] elements ) { boolean elementFound = _BOOL ; for ( int i = _NUM ; i < elements . length && ! elementFound ; i ++ ) { Object element = elements [ i ] ; elementFound = isElementVisible ( viewer , element ) ; } return elementFound ; } | 68 |
java-test-11491 | java | What does convenience method remove from the wakeupmanager ? | all pending tasks | private void terminate Task Mgr ( ) { if ( discovery Wakeup Mgr != null ) { discovery Wakeup Mgr . stop ( ) ; discovery Wakeup Mgr . cancel All ( ) ; } if ( discovery Task Mgr != null ) { List pending Tasks = discovery Task Mgr . get Pending ( ) ; for ( int i = NUM ; i < pending Tasks . size ( ) ; i ++ ) { Retry Task p... | private void terminateTaskMgr ( ) { if ( discoveryWakeupMgr != null ) { discoveryWakeupMgr . stop ( ) ; discoveryWakeupMgr . cancelAll ( ) ; } if ( discoveryTaskMgr != null ) { List pendingTasks = discoveryTaskMgr . getPending ( ) ; for ( int i = _NUM ; i < pendingTasks . size ( ) ; i ++ ) { RetryTask pendingTask = ( R... | 134 |
java-test-11492 | java | What does the code send ? | the end event | synchronized public Event end ( ) { if ( complete ) { throw new Illegal State Exception ( ) ; } complete = BOOL ; end Time = System . current Time Millis ( ) ; if ( start Time == NUM ) { start Time = end Time ; } try { send Event ( ) ; } catch ( Throwable t ) { log . warn ( t ) ; } return this ; } | synchronized public Event end ( ) { if ( complete ) { throw new IllegalStateException ( ) ; } complete = _BOOL ; endTime = System . currentTimeMillis ( ) ; if ( startTime == _NUM ) { startTime = endTime ; } try { sendEvent ( ) ; } catch ( Throwable t ) { log . warn ( t ) ; } return this ; } | 77 |
java-test-11493 | java | What does the code call this method ? | to create local testing using one or more proxies | public static Test Suite suite When Standalone ( final Class < ? extends Test Case > clazz , final String regex , final Set < Buffer Mode > buffer Modes , final Test Mode ... test Modes ) { if ( ! proxy Index Manager Testing Has Started ) { final Pattern pat = Pattern . compile ( regex ) ; proxy Index Manager Testing H... | public static TestSuite suiteWhenStandalone ( final Class < ? extends TestCase > clazz , final String regex , final Set < BufferMode > bufferModes , final TestMode ... testModes ) { if ( ! proxyIndexManagerTestingHasStarted ) { final Pattern pat = Pattern . compile ( regex ) ; proxyIndexManagerTestingHasStarted = _BOOL... | 124 |
java-test-11494 | java | What do local use ? | one or more proxies | public static Test Suite suite When Standalone ( final Class < ? extends Test Case > clazz , final String regex , final Set < Buffer Mode > buffer Modes , final Test Mode ... test Modes ) { if ( ! proxy Index Manager Testing Has Started ) { final Pattern pat = Pattern . compile ( regex ) ; proxy Index Manager Testing H... | public static TestSuite suiteWhenStandalone ( final Class < ? extends TestCase > clazz , final String regex , final Set < BufferMode > bufferModes , final TestMode ... testModes ) { if ( ! proxyIndexManagerTestingHasStarted ) { final Pattern pat = Pattern . compile ( regex ) ; proxyIndexManagerTestingHasStarted = _BOOL... | 124 |
java-test-11495 | java | Where does this use ? | within a testsuite | public static Test Suite suite When Standalone ( final Class < ? extends Test Case > clazz , final String regex , final Set < Buffer Mode > buffer Modes , final Test Mode ... test Modes ) { if ( ! proxy Index Manager Testing Has Started ) { final Pattern pat = Pattern . compile ( regex ) ; proxy Index Manager Testing H... | public static TestSuite suiteWhenStandalone ( final Class < ? extends TestCase > clazz , final String regex , final Set < BufferMode > bufferModes , final TestMode ... testModes ) { if ( ! proxyIndexManagerTestingHasStarted ) { final Pattern pat = Pattern . compile ( regex ) ; proxyIndexManagerTestingHasStarted = _BOOL... | 124 |
java-test-11496 | java | What must you release yourself ? | the return cas | public CAS process ( String text ) { CAS cas = retrieve ( ) ; cas . set Document Text ( text ) ; try { analysis Engine . process ( cas ) ; } catch ( Analysis Engine Process Exception e ) { if ( text != null && ! text . is Empty ( ) ) return process ( text ) ; throw new Runtime Exception ( e ) ; } return cas ; } | public CAS process ( String text ) { CAS cas = retrieve ( ) ; cas . setDocumentText ( text ) ; try { analysisEngine . process ( cas ) ; } catch ( AnalysisEngineProcessException e ) { if ( text != null && ! text . isEmpty ( ) ) return process ( text ) ; throw new RuntimeException ( e ) ; } return cas ; } | 77 |
java-test-11498 | java | What does the code clear ? | the speech queue | private void clear Current And Queued Utterances ( ) { m Feedback Queue . clear ( ) ; m Current Fragment Iterator = null ; if ( m Current Feedback Item != null ) { final String utterance Id = m Current Feedback Item . get Utterance Id ( ) ; on Fragment Completed ( utterance Id , BOOL , BOOL ) ; m Current Feedback Item ... | private void clearCurrentAndQueuedUtterances ( ) { mFeedbackQueue . clear ( ) ; mCurrentFragmentIterator = null ; if ( mCurrentFeedbackItem != null ) { final String utteranceId = mCurrentFeedbackItem . getUtteranceId ( ) ; onFragmentCompleted ( utteranceId , _BOOL , _BOOL ) ; mCurrentFeedbackItem = null ; } } | 72 |
java-test-11499 | java | What does the code complete if any ? | the current speech item | private void clear Current And Queued Utterances ( ) { m Feedback Queue . clear ( ) ; m Current Fragment Iterator = null ; if ( m Current Feedback Item != null ) { final String utterance Id = m Current Feedback Item . get Utterance Id ( ) ; on Fragment Completed ( utterance Id , BOOL , BOOL ) ; m Current Feedback Item ... | private void clearCurrentAndQueuedUtterances ( ) { mFeedbackQueue . clear ( ) ; mCurrentFragmentIterator = null ; if ( mCurrentFeedbackItem != null ) { final String utteranceId = mCurrentFeedbackItem . getUtteranceId ( ) ; onFragmentCompleted ( utteranceId , _BOOL , _BOOL ) ; mCurrentFeedbackItem = null ; } } | 72 |
java-test-11500 | java | How did experiments format ? | mal | @ Data Provider public Object [ ] [ ] bad Experiments DELETE ( ) { Experiment experiment = new Experiment ( ) ; return new Object [ ] [ ] { new Object [ ] { new Experiment ( experiment . set Id ( STRING ) ) , STRING , Http Status . SC NOT FOUND } , new Object [ ] { new Experiment ( experiment . set Id ( STRING ) ) , ST... | @ DataProvider public Object [ ] [ ] badExperimentsDELETE ( ) { Experiment experiment = new Experiment ( ) ; return new Object [ ] [ ] { new Object [ ] { new Experiment ( experiment . setId ( STRING ) ) , STRING , HttpStatus . SC_NOT_FOUND } , new Object [ ] { new Experiment ( experiment . setId ( STRING ) ) , STRING ,... | 116 |
java-test-11504 | java | Where do a dynamic proxy class define ? | in a class loader with urls supplied in the given location | public static Class < ? > load Proxy Class ( String codebase , String [ ] interfaces , Class Loader default Loader ) throws Malformed URL Exception , Class Not Found Exception { if ( loader Log . is Loggable ( Log . BRIEF ) ) { loader Log . log ( Log . BRIEF , STRING + Arrays . as List ( interfaces ) + STRING + STRING ... | public static Class < ? > loadProxyClass ( String codebase , String [ ] interfaces , ClassLoader defaultLoader ) throws MalformedURLException , ClassNotFoundException { if ( loaderLog . isLoggable ( Log . BRIEF ) ) { loaderLog . log ( Log . BRIEF , STRING + Arrays . asList ( interfaces ) + STRING + STRING + ( codebase ... | 582 |
java-test-11505 | java | Where do a dynamic proxy class return with urls supplied in the given location ? | in a class loader | public static Class < ? > load Proxy Class ( String codebase , String [ ] interfaces , Class Loader default Loader ) throws Malformed URL Exception , Class Not Found Exception { if ( loader Log . is Loggable ( Log . BRIEF ) ) { loader Log . log ( Log . BRIEF , STRING + Arrays . as List ( interfaces ) + STRING + STRING ... | public static Class < ? > loadProxyClass ( String codebase , String [ ] interfaces , ClassLoader defaultLoader ) throws MalformedURLException , ClassNotFoundException { if ( loaderLog . isLoggable ( Log . BRIEF ) ) { loaderLog . log ( Log . BRIEF , STRING + Arrays . asList ( interfaces ) + STRING + STRING + ( codebase ... | 582 |
java-test-11506 | java | How do a dynamic proxy class return in a class loader ? | with urls supplied in the given location | public static Class < ? > load Proxy Class ( String codebase , String [ ] interfaces , Class Loader default Loader ) throws Malformed URL Exception , Class Not Found Exception { if ( loader Log . is Loggable ( Log . BRIEF ) ) { loader Log . log ( Log . BRIEF , STRING + Arrays . as List ( interfaces ) + STRING + STRING ... | public static Class < ? > loadProxyClass ( String codebase , String [ ] interfaces , ClassLoader defaultLoader ) throws MalformedURLException , ClassNotFoundException { if ( loaderLog . isLoggable ( Log . BRIEF ) ) { loaderLog . log ( Log . BRIEF , STRING + Arrays . asList ( interfaces ) + STRING + STRING + ( codebase ... | 582 |
java-test-11507 | java | What does parent style not need cases ? | to be visited | static String build Style ( String style , String parent Style , String default Style ) { String res ; if ( ! style . is Empty ( ) ) { if ( style . starts With ( STRING ) ) { String add Styles = style . substring ( NUM ) ; String inherited Styles ; if ( parent Style != null ) { inherited Styles = parent Style ; } else ... | static String buildStyle ( String style , String parentStyle , String defaultStyle ) { String res ; if ( ! style . isEmpty ( ) ) { if ( style . startsWith ( STRING ) ) { String addStyles = style . substring ( _NUM ) ; String inheritedStyles ; if ( parentStyle != null ) { inheritedStyles = parentStyle ; } else { inherit... | 202 |
java-test-11508 | java | What are removed in the final string ? | the + / = styles | static String build Style ( String style , String parent Style , String default Style ) { String res ; if ( ! style . is Empty ( ) ) { if ( style . starts With ( STRING ) ) { String add Styles = style . substring ( NUM ) ; String inherited Styles ; if ( parent Style != null ) { inherited Styles = parent Style ; } else ... | static String buildStyle ( String style , String parentStyle , String defaultStyle ) { String res ; if ( ! style . isEmpty ( ) ) { if ( style . startsWith ( STRING ) ) { String addStyles = style . substring ( _NUM ) ; String inheritedStyles ; if ( parentStyle != null ) { inheritedStyles = parentStyle ; } else { inherit... | 202 |
java-test-11509 | java | Where is this inefficient ? | in cases where parent style does not need to be visited , but can ' t change easily in java | static String build Style ( String style , String parent Style , String default Style ) { String res ; if ( ! style . is Empty ( ) ) { if ( style . starts With ( STRING ) ) { String add Styles = style . substring ( NUM ) ; String inherited Styles ; if ( parent Style != null ) { inherited Styles = parent Style ; } else ... | static String buildStyle ( String style , String parentStyle , String defaultStyle ) { String res ; if ( ! style . isEmpty ( ) ) { if ( style . startsWith ( STRING ) ) { String addStyles = style . substring ( _NUM ) ; String inheritedStyles ; if ( parentStyle != null ) { inheritedStyles = parentStyle ; } else { inherit... | 202 |
java-test-11510 | java | Where are the + / = styles removed always ? | in the final string | static String build Style ( String style , String parent Style , String default Style ) { String res ; if ( ! style . is Empty ( ) ) { if ( style . starts With ( STRING ) ) { String add Styles = style . substring ( NUM ) ; String inherited Styles ; if ( parent Style != null ) { inherited Styles = parent Style ; } else ... | static String buildStyle ( String style , String parentStyle , String defaultStyle ) { String res ; if ( ! style . isEmpty ( ) ) { if ( style . startsWith ( STRING ) ) { String addStyles = style . substring ( _NUM ) ; String inheritedStyles ; if ( parentStyle != null ) { inheritedStyles = parentStyle ; } else { inherit... | 202 |
java-test-11511 | java | What is here ? | a loss of information | static String build Style ( String style , String parent Style , String default Style ) { String res ; if ( ! style . is Empty ( ) ) { if ( style . starts With ( STRING ) ) { String add Styles = style . substring ( NUM ) ; String inherited Styles ; if ( parent Style != null ) { inherited Styles = parent Style ; } else ... | static String buildStyle ( String style , String parentStyle , String defaultStyle ) { String res ; if ( ! style . isEmpty ( ) ) { if ( style . startsWith ( STRING ) ) { String addStyles = style . substring ( _NUM ) ; String inheritedStyles ; if ( parentStyle != null ) { inheritedStyles = parentStyle ; } else { inherit... | 202 |
java-test-11512 | java | For what purpose should the + / = styles are always removed in the final string preserve ? | so macros can use | static String build Style ( String style , String parent Style , String default Style ) { String res ; if ( ! style . is Empty ( ) ) { if ( style . starts With ( STRING ) ) { String add Styles = style . substring ( NUM ) ; String inherited Styles ; if ( parent Style != null ) { inherited Styles = parent Style ; } else ... | static String buildStyle ( String style , String parentStyle , String defaultStyle ) { String res ; if ( ! style . isEmpty ( ) ) { if ( style . startsWith ( STRING ) ) { String addStyles = style . substring ( _NUM ) ; String inheritedStyles ; if ( parentStyle != null ) { inheritedStyles = parentStyle ; } else { inherit... | 202 |
java-test-11513 | java | How do byte - array write ? | to out | public static void write Byte Array ( final Data Output out , final byte [ ] b , final int offset , final int length ) throws IO Exception { Writable Utils . write V Int ( out , length ) ; out . write ( b , offset , length ) ; } | public static void writeByteArray ( final DataOutput out , final byte [ ] b , final int offset , final int length ) throws IOException { WritableUtils . writeVInt ( out , length ) ; out . write ( b , offset , length ) ; } | 54 |
java-test-11514 | java | What does the code take ? | a bunch of stuff that has already been calculated | protected void check Colortable ( Rpf Frame frame , Rpf Frame Entry frame Entry , Rpf Toc Entry entry , int toc Number , int entry Number ) { if ( BOOL ) { if ( Debug . debugging ( STRING ) ) { Debug . output ( STRING ) ; Debug . output ( STRING + entry . Cib ) ; } colortable . set From ( frame . get Colortable ( ) ) ;... | protected void checkColortable ( RpfFrame frame , RpfFrameEntry frameEntry , RpfTocEntry entry , int tocNumber , int entryNumber ) { if ( _BOOL ) { if ( Debug . debugging ( STRING ) ) { Debug . output ( STRING ) ; Debug . output ( STRING + entry . Cib ) ; } colortable . setFrom ( frame . getColortable ( ) ) ; colortabl... | 141 |
java-test-11515 | java | What did the code set based on the command provided in the supplied document ? | the indent of a new line | protected void smart Indent After New Line ( I Document document , Document Command command ) { int doc Length = document . get Length ( ) ; if ( command . offset == - NUM || doc Length == NUM ) { return ; } try { int p = ( command . offset == doc Length ? command . offset - NUM : command . offset ) ; int line = docume... | protected void smartIndentAfterNewLine ( IDocument document , DocumentCommand command ) { int docLength = document . getLength ( ) ; if ( command . offset == - _NUM || docLength == _NUM ) { return ; } try { int p = ( command . offset == docLength ? command . offset - _NUM : command . offset ) ; int line = document . ge... | 283 |
java-test-11518 | java | What does the code display ? | a message in a pop - up window | public void display Message ( String title , String message ) { if ( Environment . get Boolean ( Environment . Use Internal Frames ) ) { J Option Pane . show Internal Message Dialog ( Environment . get Internal Frame Desktop ( ) , message , title , J Option Pane . INFORMATION MESSAGE ) ; } else { J Option Pane . show M... | public void displayMessage ( String title , String message ) { if ( Environment . getBoolean ( Environment . UseInternalFrames ) ) { JOptionPane . showInternalMessageDialog ( Environment . getInternalFrameDesktop ( ) , message , title , JOptionPane . INFORMATION_MESSAGE ) ; } else { JOptionPane . showMessageDialog ( nu... | 84 |
java-test-11519 | java | What do an extension point allow ? | derived classes to change the behavior of resource closing | protected void close Resources ( Connection connection , Statement statement , Result Set results ) { if ( results != null ) { try { results . close ( ) ; } catch ( SQL Exception e ) { LOG . finest ( STRING + e . get Message ( ) + STRING ) ; } } close Resources ( connection , statement ) ; } | protected void closeResources ( Connection connection , Statement statement , ResultSet results ) { if ( results != null ) { try { results . close ( ) ; } catch ( SQLException e ) { LOG . finest ( STRING + e . getMessage ( ) + STRING ) ; } } closeResources ( connection , statement ) ; } | 66 |
java-test-11520 | java | What do derived classes change ? | the behavior of resource closing | protected void close Resources ( Connection connection , Statement statement , Result Set results ) { if ( results != null ) { try { results . close ( ) ; } catch ( SQL Exception e ) { LOG . finest ( STRING + e . get Message ( ) + STRING ) ; } } close Resources ( connection , statement ) ; } | protected void closeResources ( Connection connection , Statement statement , ResultSet results ) { if ( results != null ) { try { results . close ( ) ; } catch ( SQLException e ) { LOG . finest ( STRING + e . getMessage ( ) + STRING ) ; } } closeResources ( connection , statement ) ; } | 66 |
java-test-11523 | java | What does the code create ? | a new connectionrecordsearchterm representing the given string | public Connection Record Search Term ( String term ) { if ( term == null ) throw new Null Pointer Exception ( STRING ) ; this . term = term ; Matcher matcher = DATE PATTERN . matcher ( term ) ; if ( matcher . matches ( ) ) { String year = matcher . group ( YEAR GROUP ) ; String month = matcher . group ( MONTH GROUP ) ;... | public ConnectionRecordSearchTerm ( String term ) { if ( term == null ) throw new NullPointerException ( STRING ) ; this . term = term ; Matcher matcher = DATE_PATTERN . matcher ( term ) ; if ( matcher . matches ( ) ) { String year = matcher . group ( YEAR_GROUP ) ; String month = matcher . group ( MONTH_GROUP ) ; Stri... | 239 |
java-test-11524 | java | What is representing the given string ? | a new connectionrecordsearchterm | public Connection Record Search Term ( String term ) { if ( term == null ) throw new Null Pointer Exception ( STRING ) ; this . term = term ; Matcher matcher = DATE PATTERN . matcher ( term ) ; if ( matcher . matches ( ) ) { String year = matcher . group ( YEAR GROUP ) ; String month = matcher . group ( MONTH GROUP ) ;... | public ConnectionRecordSearchTerm ( String term ) { if ( term == null ) throw new NullPointerException ( STRING ) ; this . term = term ; Matcher matcher = DATE_PATTERN . matcher ( term ) ; if ( matcher . matches ( ) ) { String year = matcher . group ( YEAR_GROUP ) ; String month = matcher . group ( MONTH_GROUP ) ; Stri... | 239 |
java-test-11525 | java | When is a beancontextmembershiplistener interface method called ? | when new objects are removed from the beancontext | public void find And Undo ( Object some Obj ) { if ( some Obj instanceof Layer Listener ) { logger . fine ( STRING ) ; remove Layer Listener ( ( Layer Listener ) some Obj ) ; } if ( some Obj instanceof Layer Configuration Listener ) { logger . fine ( STRING ) ; remove Layer Configuration Listener ( ( Layer Configuratio... | public void findAndUndo ( Object someObj ) { if ( someObj instanceof LayerListener ) { logger . fine ( STRING ) ; removeLayerListener ( ( LayerListener ) someObj ) ; } if ( someObj instanceof LayerConfigurationListener ) { logger . fine ( STRING ) ; removeLayerConfigurationListener ( ( LayerConfigurationListener ) some... | 175 |
java-test-11526 | java | Where is a layerlistener or layer found ? | on this list | public void find And Undo ( Object some Obj ) { if ( some Obj instanceof Layer Listener ) { logger . fine ( STRING ) ; remove Layer Listener ( ( Layer Listener ) some Obj ) ; } if ( some Obj instanceof Layer Configuration Listener ) { logger . fine ( STRING ) ; remove Layer Configuration Listener ( ( Layer Configuratio... | public void findAndUndo ( Object someObj ) { if ( someObj instanceof LayerListener ) { logger . fine ( STRING ) ; removeLayerListener ( ( LayerListener ) someObj ) ; } if ( someObj instanceof LayerConfigurationListener ) { logger . fine ( STRING ) ; removeLayerConfigurationListener ( ( LayerConfigurationListener ) some... | 175 |
java-test-11527 | java | What is found on this list ? | a layerlistener or layer | public void find And Undo ( Object some Obj ) { if ( some Obj instanceof Layer Listener ) { logger . fine ( STRING ) ; remove Layer Listener ( ( Layer Listener ) some Obj ) ; } if ( some Obj instanceof Layer Configuration Listener ) { logger . fine ( STRING ) ; remove Layer Configuration Listener ( ( Layer Configuratio... | public void findAndUndo ( Object someObj ) { if ( someObj instanceof LayerListener ) { logger . fine ( STRING ) ; removeLayerListener ( ( LayerListener ) someObj ) ; } if ( someObj instanceof LayerConfigurationListener ) { logger . fine ( STRING ) ; removeLayerConfigurationListener ( ( LayerConfigurationListener ) some... | 175 |
java-test-11528 | java | How does the code create an ident server on port 113 ? | with the specified encoding | protected Ident Server ( Charset encoding , Inet Address local Address , int port ) { try { this . encoding = encoding ; this . local Address = local Address ; this . server Socket = new Server Socket ( port , NUM , local Address ) ; this . port = port ; } catch ( Exception e ) { throw new Runtime Exception ( STRING + ... | protected IdentServer ( Charset encoding , InetAddress localAddress , int port ) { try { this . encoding = encoding ; this . localAddress = localAddress ; this . serverSocket = new ServerSocket ( port , _NUM , localAddress ) ; this . port = port ; } catch ( Exception e ) { throw new RuntimeException ( STRING + localAdd... | 86 |
java-test-11529 | java | Where does the code create an ident server with the specified encoding ? | on port 113 | protected Ident Server ( Charset encoding , Inet Address local Address , int port ) { try { this . encoding = encoding ; this . local Address = local Address ; this . server Socket = new Server Socket ( port , NUM , local Address ) ; this . port = port ; } catch ( Exception e ) { throw new Runtime Exception ( STRING + ... | protected IdentServer ( Charset encoding , InetAddress localAddress , int port ) { try { this . encoding = encoding ; this . localAddress = localAddress ; this . serverSocket = new ServerSocket ( port , _NUM , localAddress ) ; this . port = port ; } catch ( Exception e ) { throw new RuntimeException ( STRING + localAdd... | 86 |
java-test-11530 | java | What does the code create on port 113 with the specified encoding ? | an ident server | protected Ident Server ( Charset encoding , Inet Address local Address , int port ) { try { this . encoding = encoding ; this . local Address = local Address ; this . server Socket = new Server Socket ( port , NUM , local Address ) ; this . port = port ; } catch ( Exception e ) { throw new Runtime Exception ( STRING + ... | protected IdentServer ( Charset encoding , InetAddress localAddress , int port ) { try { this . encoding = encoding ; this . localAddress = localAddress ; this . serverSocket = new ServerSocket ( port , _NUM , localAddress ) ; this . port = port ; } catch ( Exception e ) { throw new RuntimeException ( STRING + localAdd... | 86 |
java-test-11532 | java | For what purpose did convenience method mean primarily ? | for use in quick control notification | public void select Next Overlay ( ) { if ( m Current Overlay Index == NO OVERLAY ) { if ( m Overlays . is Empty ( ) ) { return ; } m Current Overlay Index = NUM ; } else { m Current Overlay Index = ++ m Current Overlay Index % m Overlays . size ( ) ; if ( m Current Overlay Index == NUM ) { m Current Overlay Index = NO ... | public void selectNextOverlay ( ) { if ( mCurrentOverlayIndex == NO_OVERLAY ) { if ( mOverlays . isEmpty ( ) ) { return ; } mCurrentOverlayIndex = _NUM ; } else { mCurrentOverlayIndex = ++ mCurrentOverlayIndex % mOverlays . size ( ) ; if ( mCurrentOverlayIndex == _NUM ) { mCurrentOverlayIndex = NO_OVERLAY ; } } doSetOv... | 93 |
java-test-11535 | java | How does them submit to the executorservice then ? | as individual jobs | @ Override public Future < Void > write Result ( Segmented Scan Result result ) { Future < Void > job Submission = null ; List < Batch Write Item Request > batches = split Result Into Batches ( result . get Scan Result ( ) , table Name ) ; Iterator < Batch Write Item Request > batches Iterator = batches . iterator ( ) ... | @ Override public Future < Void > writeResult ( SegmentedScanResult result ) { Future < Void > jobSubmission = null ; List < BatchWriteItemRequest > batches = splitResultIntoBatches ( result . getScanResult ( ) , tableName ) ; Iterator < BatchWriteItemRequest > batchesIterator = batches . iterator ( ) ; while ( batches... | 135 |
java-test-11536 | java | What does splitresultintobatches turn into several batchwriteitemrequests ? | the segmentedscanresult | @ Override public Future < Void > write Result ( Segmented Scan Result result ) { Future < Void > job Submission = null ; List < Batch Write Item Request > batches = split Result Into Batches ( result . get Scan Result ( ) , table Name ) ; Iterator < Batch Write Item Request > batches Iterator = batches . iterator ( ) ... | @ Override public Future < Void > writeResult ( SegmentedScanResult result ) { Future < Void > jobSubmission = null ; List < BatchWriteItemRequest > batches = splitResultIntoBatches ( result . getScanResult ( ) , tableName ) ; Iterator < BatchWriteItemRequest > batchesIterator = batches . iterator ( ) ; while ( batches... | 135 |
java-test-11537 | java | What does splitresultintobatches call ? | to turn the segmentedscanresult into several batchwriteitemrequests | @ Override public Future < Void > write Result ( Segmented Scan Result result ) { Future < Void > job Submission = null ; List < Batch Write Item Request > batches = split Result Into Batches ( result . get Scan Result ( ) , table Name ) ; Iterator < Batch Write Item Request > batches Iterator = batches . iterator ( ) ... | @ Override public Future < Void > writeResult ( SegmentedScanResult result ) { Future < Void > jobSubmission = null ; List < BatchWriteItemRequest > batches = splitResultIntoBatches ( result . getScanResult ( ) , tableName ) ; Iterator < BatchWriteItemRequest > batchesIterator = batches . iterator ( ) ; while ( batches... | 135 |
java-test-11539 | java | What does the code create ? | a notification with the given message | public void show Message ( String title , String message , T data ) { Notification n = new Notification ( title , message , listener , expire Time ) ; n . set Hide Method ( hide Method ) ; n . set Fallback Timeout ( max Display Time ) ; n . set Activity Time ( activity Time ) ; if ( displayed . size ( ) < max Items ) {... | public void showMessage ( String title , String message , T data ) { Notification n = new Notification ( title , message , listener , expireTime ) ; n . setHideMethod ( hideMethod ) ; n . setFallbackTimeout ( maxDisplayTime ) ; n . setActivityTime ( activityTime ) ; if ( displayed . size ( ) < maxItems ) { showNotifica... | 108 |
java-test-11540 | java | What does the code add to the list of volumes that should be updated when this recoverpoint ingestion process is committed ? | a target volume | public void add Unmanaged Target Volume To Update ( Un Managed Volume volume ) { if ( null == unmanaged Target Volumes To Update ) { unmanaged Target Volumes To Update = new Array List < Un Managed Volume > ( ) ; } unmanaged Target Volumes To Update . add ( volume ) ; } | public void addUnmanagedTargetVolumeToUpdate ( UnManagedVolume volume ) { if ( null == _unmanagedTargetVolumesToUpdate ) { _unmanagedTargetVolumesToUpdate = new ArrayList < UnManagedVolume > ( ) ; } _unmanagedTargetVolumesToUpdate . add ( volume ) ; } | 56 |
java-test-11545 | java | For what purpose did the word add to the gaz matches if this is a leaf ( or match more aptly ) ? | for the word | final public void compile Matches ( List < Constituent > words , int start , int index , Span Label View view ) { if ( names != null ) { for ( String dn : names ) { view . add Span Label ( start , index + NUM , dn , NUM ) ; } } if ( required Children != null ) { index ++ ; if ( index == words . size ( ) ) return ; Cons... | final public void compileMatches ( List < Constituent > words , int start , int index , SpanLabelView view ) { if ( names != null ) { for ( String dn : names ) { view . addSpanLabel ( start , index + _NUM , dn , _NUM ) ; } } if ( requiredChildren != null ) { index ++ ; if ( index == words . size ( ) ) return ; Constitu... | 138 |
java-test-11546 | java | When do this use ? | after getting a random port to ensure that an old locator state file isn ' t picked up by the new locator you ' re starting | public static void delete Locator State File ( final int ... ports ) { for ( int index = NUM ; index < ports . length ; index ++ ) { File state File = new File ( STRING + ports [ index ] + STRING ) ; if ( state File . exists ( ) ) { state File . delete ( ) ; } } } | public static void deleteLocatorStateFile ( final int ... ports ) { for ( int index = _NUM ; index < ports . length ; index ++ ) { File stateFile = new File ( STRING + ports [ index ] + STRING ) ; if ( stateFile . exists ( ) ) { stateFile . delete ( ) ; } } } | 68 |
java-test-11547 | java | What do x get firstly then ? | y = a * e ^ ( - b * x ) * sin ( c * x + d ) | public static float vibration ( float x , float total Length , float A , float B , float C , float D ) { x *= total Length ; return ( float ) ( A * Math . exp ( - B * x ) * Math . sin ( C * x + D ) ) ; } | public static float vibration ( float x , float totalLength , float A , float B , float C , float D ) { x *= totalLength ; return ( float ) ( A * Math . exp ( - B * x ) * Math . sin ( C * x + D ) ) ; } | 60 |
java-test-11548 | java | What does method take ? | an omgraphic | public static Iterator create Shape 3 D ( OM Graphic graphic , double baseline Height ) { Debug . message ( STRING , STRING ) ; boolean DEBUG SHAPE = Debug . debugging ( STRING ) ; if ( graphic == null ) { return NULL ITERATOR ; } if ( graphic instanceof OM Graphic List ) { Hash Set set = new Hash Set ( ) ; for ( OM Gr... | public static Iterator createShape3D ( OMGraphic graphic , double baselineHeight ) { Debug . message ( STRING , STRING ) ; boolean DEBUG_SHAPE = Debug . debugging ( STRING ) ; if ( graphic == null ) { return NULL_ITERATOR ; } if ( graphic instanceof OMGraphicList ) { HashSet set = new HashSet ( ) ; for ( OMGraphic subg... | 275 |
java-test-11549 | java | What does method create out of it ? | one or more shape3d objects | public static Iterator create Shape 3 D ( OM Graphic graphic , double baseline Height ) { Debug . message ( STRING , STRING ) ; boolean DEBUG SHAPE = Debug . debugging ( STRING ) ; if ( graphic == null ) { return NULL ITERATOR ; } if ( graphic instanceof OM Graphic List ) { Hash Set set = new Hash Set ( ) ; for ( OM Gr... | public static Iterator createShape3D ( OMGraphic graphic , double baselineHeight ) { Debug . message ( STRING , STRING ) ; boolean DEBUG_SHAPE = Debug . debugging ( STRING ) ; if ( graphic == null ) { return NULL_ITERATOR ; } if ( graphic instanceof OMGraphicList ) { HashSet set = new HashSet ( ) ; for ( OMGraphic subg... | 275 |
java-test-11550 | java | What does method return ? | an iterator containing them | public static Iterator create Shape 3 D ( OM Graphic graphic , double baseline Height ) { Debug . message ( STRING , STRING ) ; boolean DEBUG SHAPE = Debug . debugging ( STRING ) ; if ( graphic == null ) { return NULL ITERATOR ; } if ( graphic instanceof OM Graphic List ) { Hash Set set = new Hash Set ( ) ; for ( OM Gr... | public static Iterator createShape3D ( OMGraphic graphic , double baselineHeight ) { Debug . message ( STRING , STRING ) ; boolean DEBUG_SHAPE = Debug . debugging ( STRING ) ; if ( graphic == null ) { return NULL_ITERATOR ; } if ( graphic instanceof OMGraphicList ) { HashSet set = new HashSet ( ) ; for ( OMGraphic subg... | 275 |
java-test-11551 | java | What does the code overwrite if it exists ? | the existing entry | private final void add User ( String channel , User user ) { channel = channel . to Lower Case ( ) ; synchronized ( channels ) { Hashtable < User , User > users = channels . get ( channel ) ; if ( users == null ) { users = new Hashtable < User , User > ( ) ; channels . put ( channel , users ) ; } users . put ( user , u... | private final void addUser ( String channel , User user ) { channel = channel . toLowerCase ( ) ; synchronized ( _channels ) { Hashtable < User , User > users = _channels . get ( channel ) ; if ( users == null ) { users = new Hashtable < User , User > ( ) ; _channels . put ( channel , users ) ; } users . put ( user , u... | 83 |
java-test-11552 | java | What mean what ? | the extra arguments | public void load Traces ( Reader r ) throws Trace Exception , java . io . IO Exception { Trim Line Reader reader = new Log File Traces . Trim Line Reader ( r ) ; String Tokenizer tokens = reader . tokenize Line ( ) ; if ( tokens == null ) { throw new Trace Exception ( STRING ) ; } while ( ! tokens . has More Tokens ( )... | public void loadTraces ( Reader r ) throws TraceException , java . io . IOException { TrimLineReader reader = new LogFileTraces . TrimLineReader ( r ) ; StringTokenizer tokens = reader . tokenizeLine ( ) ; if ( tokens == null ) { throw new TraceException ( STRING ) ; } while ( ! tokens . hasMoreTokens ( ) ) { tokens = ... | 560 |
java-test-11555 | java | How do message send to groups ? | via zk | public void send ( Jetstream Message msg ) throws Exception { if ( msg == null ) { throw new Exception ( STRING ) ; } Request req = new ZK Send Message Request ( this , msg ) ; if ( ! m request Queue . offer ( req ) ) LOGGER . warn ( STRING ) ; } | public void send ( JetstreamMessage msg ) throws Exception { if ( msg == null ) { throw new Exception ( STRING ) ; } Request req = new ZKSendMessageRequest ( this , msg ) ; if ( ! m_requestQueue . offer ( req ) ) LOGGER . warn ( STRING ) ; } | 60 |
java-test-11556 | java | What does the code wrap in a random order ? | the specified iterator | public Unsorted Input Iterator ( Input Iterator source ) throws IO Exception { super ( source ) ; ords = new int [ entries . size ( ) ] ; Random random = new Random ( ) ; for ( int i = NUM ; i < ords . length ; i ++ ) { ords [ i ] = i ; } for ( int i = NUM ; i < ords . length ; i ++ ) { int random Position = random . n... | public UnsortedInputIterator ( InputIterator source ) throws IOException { super ( source ) ; ords = new int [ entries . size ( ) ] ; Random random = new Random ( ) ; for ( int i = _NUM ; i < ords . length ; i ++ ) { ords [ i ] = i ; } for ( int i = _NUM ; i < ords . length ; i ++ ) { int randomPosition = random . next... | 123 |
java-test-11557 | java | What do power key click quickly then ? | to lock phone | private void power Up Auto If Need ( ) { if ( ( NUM == m Value Head Set Plug ) ) { if ( ! m Is Power Uping && ! m Is Power Up && s Activity Is On Stop ) { Log . w ( TAG , STRING ) ; int i Current Station = Fm Radio Station . get Current Station ( m Context ) ; power Up Async ( Fm Radio Utils . compute Frequency ( i Cur... | private void powerUpAutoIfNeed ( ) { if ( ( _NUM == mValueHeadSetPlug ) ) { if ( ! mIsPowerUping && ! mIsPowerUp && sActivityIsOnStop ) { Log . w ( TAG , STRING ) ; int iCurrentStation = FmRadioStation . getCurrentStation ( mContext ) ; powerUpAsync ( FmRadioUtils . computeFrequency ( iCurrentStation ) ) ; } } } | 90 |
java-test-11558 | java | What clicks to lock phone quickly then ? | power key | private void power Up Auto If Need ( ) { if ( ( NUM == m Value Head Set Plug ) ) { if ( ! m Is Power Uping && ! m Is Power Up && s Activity Is On Stop ) { Log . w ( TAG , STRING ) ; int i Current Station = Fm Radio Station . get Current Station ( m Context ) ; power Up Async ( Fm Radio Utils . compute Frequency ( i Cur... | private void powerUpAutoIfNeed ( ) { if ( ( _NUM == mValueHeadSetPlug ) ) { if ( ! mIsPowerUping && ! mIsPowerUp && sActivityIsOnStop ) { Log . w ( TAG , STRING ) ; int iCurrentStation = FmRadioStation . getCurrentStation ( mContext ) ; powerUpAsync ( FmRadioUtils . computeFrequency ( iCurrentStation ) ) ; } } } | 90 |
java-test-11559 | java | For what purpose do auto power ? | for two cases | private void power Up Auto If Need ( ) { if ( ( NUM == m Value Head Set Plug ) ) { if ( ! m Is Power Uping && ! m Is Power Up && s Activity Is On Stop ) { Log . w ( TAG , STRING ) ; int i Current Station = Fm Radio Station . get Current Station ( m Context ) ; power Up Async ( Fm Radio Utils . compute Frequency ( i Cur... | private void powerUpAutoIfNeed ( ) { if ( ( _NUM == mValueHeadSetPlug ) ) { if ( ! mIsPowerUping && ! mIsPowerUp && sActivityIsOnStop ) { Log . w ( TAG , STRING ) ; int iCurrentStation = FmRadioStation . getCurrentStation ( mContext ) ; powerUpAsync ( FmRadioUtils . computeFrequency ( iCurrentStation ) ) ; } } } | 90 |
java-test-11560 | java | How is these two cases will not callback ? | onserviceconnected | private void power Up Auto If Need ( ) { if ( ( NUM == m Value Head Set Plug ) ) { if ( ! m Is Power Uping && ! m Is Power Up && s Activity Is On Stop ) { Log . w ( TAG , STRING ) ; int i Current Station = Fm Radio Station . get Current Station ( m Context ) ; power Up Async ( Fm Radio Utils . compute Frequency ( i Cur... | private void powerUpAutoIfNeed ( ) { if ( ( _NUM == mValueHeadSetPlug ) ) { if ( ! mIsPowerUping && ! mIsPowerUp && sActivityIsOnStop ) { Log . w ( TAG , STRING ) ; int iCurrentStation = FmRadioStation . getCurrentStation ( mContext ) ; powerUpAsync ( FmRadioUtils . computeFrequency ( iCurrentStation ) ) ; } } } | 90 |
java-test-11567 | java | Where do the tenant credentials / signers copy under services ? | at new location | private void copy Signer To New Location ( ) { String tenant Ldu Dn = get Ldu Dn ( ) ; I Ldap Message creds Objects = null ; try { creds Objects = get Tenant Credentials ( tenant Ldu Dn ) ; int max Index = get Curr Max Index ( TRUSTED CRED OBJECT CLASS , null ) + NUM ; String cn = get Tenant Credential Cn ( max Index )... | private void copySignerToNewLocation ( ) { String tenantLduDn = getLduDn ( ) ; ILdapMessage credsObjects = null ; try { credsObjects = getTenantCredentials ( tenantLduDn ) ; int maxIndex = getCurrMaxIndex ( TRUSTED_CRED_OBJECT_CLASS , null ) + _NUM ; String cn = getTenantCredentialCn ( maxIndex ) ; ILdapEntry lastSigne... | 213 |
java-test-11568 | java | How do the tenant credentials / signers copy at new location ? | under services | private void copy Signer To New Location ( ) { String tenant Ldu Dn = get Ldu Dn ( ) ; I Ldap Message creds Objects = null ; try { creds Objects = get Tenant Credentials ( tenant Ldu Dn ) ; int max Index = get Curr Max Index ( TRUSTED CRED OBJECT CLASS , null ) + NUM ; String cn = get Tenant Credential Cn ( max Index )... | private void copySignerToNewLocation ( ) { String tenantLduDn = getLduDn ( ) ; ILdapMessage credsObjects = null ; try { credsObjects = getTenantCredentials ( tenantLduDn ) ; int maxIndex = getCurrMaxIndex ( TRUSTED_CRED_OBJECT_CLASS , null ) + _NUM ; String cn = getTenantCredentialCn ( maxIndex ) ; ILdapEntry lastSigne... | 213 |
java-test-11569 | java | What copy at new location ? | the tenant credentials / signers | private void copy Signer To New Location ( ) { String tenant Ldu Dn = get Ldu Dn ( ) ; I Ldap Message creds Objects = null ; try { creds Objects = get Tenant Credentials ( tenant Ldu Dn ) ; int max Index = get Curr Max Index ( TRUSTED CRED OBJECT CLASS , null ) + NUM ; String cn = get Tenant Credential Cn ( max Index )... | private void copySignerToNewLocation ( ) { String tenantLduDn = getLduDn ( ) ; ILdapMessage credsObjects = null ; try { credsObjects = getTenantCredentials ( tenantLduDn ) ; int maxIndex = getCurrMaxIndex ( TRUSTED_CRED_OBJECT_CLASS , null ) + _NUM ; String cn = getTenantCredentialCn ( maxIndex ) ; ILdapEntry lastSigne... | 213 |
java-test-11570 | java | For what purpose is we declare a dummy script here ? | so there is no warning in the ij run / debug configuration window about " missing shutdown script " | @ Override public OS Process Handler create Process Handler ( String working Directory , Map < String , String > env Variables ) throws Execution Exception { startup Process Handler . destroy Process ( ) ; Process Builder dummy Process = new Process Builder ( STRING ) ; try { return new OS Process Handler ( dummy Proce... | @ Override public OSProcessHandler createProcessHandler ( String workingDirectory , Map < String , String > envVariables ) throws ExecutionException { startupProcessHandler . destroyProcess ( ) ; ProcessBuilder dummyProcess = new ProcessBuilder ( STRING ) ; try { return new OSProcessHandler ( dummyProcess . start ( ) ,... | 91 |
java-test-11571 | java | What is we declare here so there is no warning in the ij run / debug configuration window about " missing shutdown script " ? | a dummy script | @ Override public OS Process Handler create Process Handler ( String working Directory , Map < String , String > env Variables ) throws Execution Exception { startup Process Handler . destroy Process ( ) ; Process Builder dummy Process = new Process Builder ( STRING ) ; try { return new OS Process Handler ( dummy Proce... | @ Override public OSProcessHandler createProcessHandler ( String workingDirectory , Map < String , String > envVariables ) throws ExecutionException { startupProcessHandler . destroyProcess ( ) ; ProcessBuilder dummyProcess = new ProcessBuilder ( STRING ) ; try { return new OSProcessHandler ( dummyProcess . start ( ) ,... | 91 |
java-test-11572 | java | What indicated in the query ? | the identifier scheme meta data property | private void apply Id Scheme ( Data Query Params params , Grid grid ) { if ( ! params . is Skip Meta ( ) && params . has Non Uid Output Id Scheme ( ) ) { List < Dimensional Item Object > items = params . get All Dimension Items ( ) ; Map < String , String > map = Identifiable Object Utils . get Uid Property Map ( items... | private void applyIdScheme ( DataQueryParams params , Grid grid ) { if ( ! params . isSkipMeta ( ) && params . hasNonUidOutputIdScheme ( ) ) { List < DimensionalItemObject > items = params . getAllDimensionItems ( ) ; Map < String , String > map = IdentifiableObjectUtils . getUidPropertyMap ( items , params . getOutput... | 95 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.