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-8543 | java | What do a connection match ? | the client i d specified | public RTMP Connection remove Connection ( int client Id ) { RTMP Connection conn Return = null ; for ( RTMP Connection conn : rtmp Connections ) { if ( conn . get Id ( ) == client Id ) { conn Return = conn ; break ; } } if ( conn Return != null ) { rtmp Connections . remove ( conn Return ) ; } return conn Return ; } | public RTMPConnection removeConnection ( int clientId ) { RTMPConnection connReturn = null ; for ( RTMPConnection conn : rtmpConnections ) { if ( conn . getId ( ) == clientId ) { connReturn = conn ; break ; } } if ( connReturn != null ) { rtmpConnections . remove ( connReturn ) ; } return connReturn ; } | 73 |
java-test-8544 | java | What does the code add ? | an array of stats | public void add Stats ( long [ ] msg 1 Unique Msg Id Stats , long [ ] msg 1 Total Stats , long [ ] msg 2 Unique Msg Id Stats , long [ ] msg 2 Total Stats ) { m number Of Intervals += msg 1 Unique Msg Id Stats . length ; for ( int i = NUM ; i < msg 1 Unique Msg Id Stats . length ; i ++ ) { final long msg 1 Unique Msg Id... | public void addStats ( long [ ] msg1UniqueMsgIdStats , long [ ] msg1TotalStats , long [ ] msg2UniqueMsgIdStats , long [ ] msg2TotalStats ) { m_numberOfIntervals += msg1UniqueMsgIdStats . length ; for ( int i = _NUM ; i < msg1UniqueMsgIdStats . length ; i ++ ) { final long msg1UniqueMsgIdStat = msg1UniqueMsgIdStats [ i ... | 312 |
java-test-8547 | java | What does this operation support only through the " remove " patch operation currently ? | deletion of objects | @ PATCH public void patch Objects ( List < API Patch < String > > patches ) throws Guacamole Exception { for ( API Patch < String > patch : patches ) { if ( patch . get Op ( ) != API Patch . Operation . remove ) throw new Guacamole Unsupported Exception ( STRING + STRING ) ; String path = patch . get Path ( ) ; if ( ! ... | @ PATCH public void patchObjects ( List < APIPatch < String > > patches ) throws GuacamoleException { for ( APIPatch < String > patch : patches ) { if ( patch . getOp ( ) != APIPatch . Operation . remove ) throw new GuacamoleUnsupportedException ( STRING + STRING ) ; String path = patch . getPath ( ) ; if ( ! path . st... | 104 |
java-test-8548 | java | Where is i the identifier of the object being modified ? | " / i | @ PATCH public void patch Objects ( List < API Patch < String > > patches ) throws Guacamole Exception { for ( API Patch < String > patch : patches ) { if ( patch . get Op ( ) != API Patch . Operation . remove ) throw new Guacamole Unsupported Exception ( STRING + STRING ) ; String path = patch . get Path ( ) ; if ( ! ... | @ PATCH public void patchObjects ( List < APIPatch < String > > patches ) throws GuacamoleException { for ( APIPatch < String > patch : patches ) { if ( patch . getOp ( ) != APIPatch . Operation . remove ) throw new GuacamoleUnsupportedException ( STRING + STRING ) ; String path = patch . getPath ( ) ; if ( ! path . st... | 104 |
java-test-8549 | java | How does this operation support deletion of objects only currently ? | through the " remove " patch operation | @ PATCH public void patch Objects ( List < API Patch < String > > patches ) throws Guacamole Exception { for ( API Patch < String > patch : patches ) { if ( patch . get Op ( ) != API Patch . Operation . remove ) throw new Guacamole Unsupported Exception ( STRING + STRING ) ; String path = patch . get Path ( ) ; if ( ! ... | @ PATCH public void patchObjects ( List < APIPatch < String > > patches ) throws GuacamoleException { for ( APIPatch < String > patch : patches ) { if ( patch . getOp ( ) != APIPatch . Operation . remove ) throw new GuacamoleUnsupportedException ( STRING + STRING ) ; String path = patch . getPath ( ) ; if ( ! path . st... | 104 |
java-test-8553 | java | For what purpose does the code show a dialog with ok and cancel actions ? | to prompt for confirmation from user | public static boolean show Confirmation Dialog ( @ Not Null final Project project , final String message , final String title , final Icon logo , final String ok Action Message , final String cancel Action Message ) { final int result = Messages . show Yes No Dialog ( project , message , title , ok Action Message , can... | public static boolean showConfirmationDialog ( @ NotNull final Project project , final String message , final String title , final Icon logo , final String okActionMessage , final String cancelActionMessage ) { final int result = Messages . showYesNoDialog ( project , message , title , okActionMessage , cancelActionMes... | 77 |
java-test-8554 | java | What does the code show to prompt for confirmation from user ? | a dialog with ok and cancel actions | public static boolean show Confirmation Dialog ( @ Not Null final Project project , final String message , final String title , final Icon logo , final String ok Action Message , final String cancel Action Message ) { final int result = Messages . show Yes No Dialog ( project , message , title , ok Action Message , can... | public static boolean showConfirmationDialog ( @ NotNull final Project project , final String message , final String title , final Icon logo , final String okActionMessage , final String cancelActionMessage ) { final int result = Messages . showYesNoDialog ( project , message , title , okActionMessage , cancelActionMes... | 77 |
java-test-8555 | java | What does the code create ? | a new object that synchronizes between a raw view and a visible graph | public C View Graph Synchronizer ( final Zy Graph graph , final I Zy Graph Internals graph Internals , final Zy Graph Mappings < Navi Node , Navi Edge > mappings ) { m graph = Preconditions . check Not Null ( graph , STRING ) ; m graph Internals = Preconditions . check Not Null ( graph Internals , STRING ) ; m mappings... | public CViewGraphSynchronizer ( final ZyGraph graph , final IZyGraphInternals graphInternals , final ZyGraphMappings < NaviNode , NaviEdge > mappings ) { m_graph = Preconditions . checkNotNull ( graph , STRING ) ; m_graphInternals = Preconditions . checkNotNull ( graphInternals , STRING ) ; m_mappings = Preconditions .... | 158 |
java-test-8558 | java | For what purpose does the code compare the receiver to the specified string ? | to determine the relative ordering when the case of the characters is ignored | public int compare To Ignore Case ( String string ) { int o1 = offset , o2 = string . offset , result ; int end = offset + ( count < string . count ? count : string . count ) ; char c1 , c2 ; char [ ] target = string . value ; while ( o1 < end ) { if ( ( c1 = value [ o1 ++ ] ) == ( c2 = target [ o2 ++ ] ) ) { continue ... | public int compareToIgnoreCase ( String string ) { int o1 = offset , o2 = string . offset , result ; int end = offset + ( count < string . count ? count : string . count ) ; char c1 , c2 ; char [ ] target = string . value ; while ( o1 < end ) { if ( ( c1 = value [ o1 ++ ] ) == ( c2 = target [ o2 ++ ] ) ) { continue ; }... | 152 |
java-test-8559 | java | When does the code determine the relative ordering ? | when the case of the characters is ignored | public int compare To Ignore Case ( String string ) { int o1 = offset , o2 = string . offset , result ; int end = offset + ( count < string . count ? count : string . count ) ; char c1 , c2 ; char [ ] target = string . value ; while ( o1 < end ) { if ( ( c1 = value [ o1 ++ ] ) == ( c2 = target [ o2 ++ ] ) ) { continue ... | public int compareToIgnoreCase ( String string ) { int o1 = offset , o2 = string . offset , result ; int end = offset + ( count < string . count ? count : string . count ) ; char c1 , c2 ; char [ ] target = string . value ; while ( o1 < end ) { if ( ( c1 = value [ o1 ++ ] ) == ( c2 = target [ o2 ++ ] ) ) { continue ; }... | 152 |
java-test-8560 | java | What did every label in the label table use ? | to draw the labels for horizontal sliders | protected void paint Horizontal Label ( Graphics g , int value , Component label ) { int label Center = x Position For Value ( value ) ; int label Left = label Center - ( label . get Preferred Size ( ) . width / NUM ) ; g . translate ( label Left , NUM ) ; label . paint ( g ) ; g . translate ( - label Left , NUM ) ; } | protected void paintHorizontalLabel ( Graphics g , int value , Component label ) { int labelCenter = xPositionForValue ( value ) ; int labelLeft = labelCenter - ( label . getPreferredSize ( ) . width / _NUM ) ; g . translate ( labelLeft , _NUM ) ; label . paint ( g ) ; g . translate ( - labelLeft , _NUM ) ; } | 78 |
java-test-8561 | java | What have the graphics been translated already ? | to labelrect | protected void paint Horizontal Label ( Graphics g , int value , Component label ) { int label Center = x Position For Value ( value ) ; int label Left = label Center - ( label . get Preferred Size ( ) . width / NUM ) ; g . translate ( label Left , NUM ) ; label . paint ( g ) ; g . translate ( - label Left , NUM ) ; } | protected void paintHorizontalLabel ( Graphics g , int value , Component label ) { int labelCenter = xPositionForValue ( value ) ; int labelLeft = labelCenter - ( label . getPreferredSize ( ) . width / _NUM ) ; g . translate ( labelLeft , _NUM ) ; label . paint ( g ) ; g . translate ( - labelLeft , _NUM ) ; } | 78 |
java-test-8562 | java | What used to draw the labels for horizontal sliders ? | every label in the label table | protected void paint Horizontal Label ( Graphics g , int value , Component label ) { int label Center = x Position For Value ( value ) ; int label Left = label Center - ( label . get Preferred Size ( ) . width / NUM ) ; g . translate ( label Left , NUM ) ; label . paint ( g ) ; g . translate ( - label Left , NUM ) ; } | protected void paintHorizontalLabel ( Graphics g , int value , Component label ) { int labelCenter = xPositionForValue ( value ) ; int labelLeft = labelCenter - ( label . getPreferredSize ( ) . width / _NUM ) ; g . translate ( labelLeft , _NUM ) ; label . paint ( g ) ; g . translate ( - labelLeft , _NUM ) ; } | 78 |
java-test-8563 | java | What does the code ensure so that we can scan it ? | that directory exists | protected File ensure Directory Exists ( final Logger default Log , final Logger shop Log , final File shop Dir , final Shop shop , final String dirname ) throws IO Exception { final File dir = new File ( shop Dir , dirname ) ; if ( ! dir . exists ( ) ) { default Log . info ( STRING , dir . get Absolute Path ( ) , shop... | protected File ensureDirectoryExists ( final Logger defaultLog , final Logger shopLog , final File shopDir , final Shop shop , final String dirname ) throws IOException { final File dir = new File ( shopDir , dirname ) ; if ( ! dir . exists ( ) ) { defaultLog . info ( STRING , dir . getAbsolutePath ( ) , shop . getCode... | 143 |
java-test-8564 | java | For what purpose does the code ensure that directory exists ? | so that we can scan it | protected File ensure Directory Exists ( final Logger default Log , final Logger shop Log , final File shop Dir , final Shop shop , final String dirname ) throws IO Exception { final File dir = new File ( shop Dir , dirname ) ; if ( ! dir . exists ( ) ) { default Log . info ( STRING , dir . get Absolute Path ( ) , shop... | protected File ensureDirectoryExists ( final Logger defaultLog , final Logger shopLog , final File shopDir , final Shop shop , final String dirname ) throws IOException { final File dir = new File ( shopDir , dirname ) ; if ( ! dir . exists ( ) ) { defaultLog . info ( STRING , dir . getAbsolutePath ( ) , shop . getCode... | 143 |
java-test-8569 | java | What does the code not lose beyond what the size reduction would cause ? | current elements | private Linked List reduce Buffer ( int new Size ) { Linked List new Buffer = new Linked List ( ) ; List original = buffer Holder . get Ordered Collection ( ) ; Collections . reverse ( original ) ; Iterator iter = original . iterator ( ) ; int i = NUM ; while ( iter . has Next ( ) && i < new Size ) { new Buffer . add (... | private LinkedList reduceBuffer ( int newSize ) { LinkedList newBuffer = new LinkedList ( ) ; List original = bufferHolder . getOrderedCollection ( ) ; Collections . reverse ( original ) ; Iterator iter = original . iterator ( ) ; int i = _NUM ; while ( iter . hasNext ( ) && i < newSize ) { newBuffer . add ( iter . nex... | 91 |
java-test-8570 | java | What does the code reduce while not losing current elements beyond what the size reduction would cause ? | size of buffer | private Linked List reduce Buffer ( int new Size ) { Linked List new Buffer = new Linked List ( ) ; List original = buffer Holder . get Ordered Collection ( ) ; Collections . reverse ( original ) ; Iterator iter = original . iterator ( ) ; int i = NUM ; while ( iter . has Next ( ) && i < new Size ) { new Buffer . add (... | private LinkedList reduceBuffer ( int newSize ) { LinkedList newBuffer = new LinkedList ( ) ; List original = bufferHolder . getOrderedCollection ( ) ; Collections . reverse ( original ) ; Iterator iter = original . iterator ( ) ; int i = _NUM ; while ( iter . hasNext ( ) && i < newSize ) { newBuffer . add ( iter . nex... | 91 |
java-test-8571 | java | What would cause what ? | the size reduction | private Linked List reduce Buffer ( int new Size ) { Linked List new Buffer = new Linked List ( ) ; List original = buffer Holder . get Ordered Collection ( ) ; Collections . reverse ( original ) ; Iterator iter = original . iterator ( ) ; int i = NUM ; while ( iter . has Next ( ) && i < new Size ) { new Buffer . add (... | private LinkedList reduceBuffer ( int newSize ) { LinkedList newBuffer = new LinkedList ( ) ; List original = bufferHolder . getOrderedCollection ( ) ; Collections . reverse ( original ) ; Iterator iter = original . iterator ( ) ; int i = _NUM ; while ( iter . hasNext ( ) && i < newSize ) { newBuffer . add ( iter . nex... | 91 |
java-test-8572 | java | When do cookie save ? | when response header contains set - cookie add cookie header when sending request | public void enable Cookie ( ) { is Enable Cookie = BOOL ; if ( m Cookie Manager == null ) { m Cookie Manager = new Cookie Manager ( new Persistent Cookie Store ( m Context ) , Cookie Policy . ACCEPT ALL ) ; Cookie Handler . set Default ( m Cookie Manager ) ; } } | public void enableCookie ( ) { isEnableCookie = _BOOL ; if ( mCookieManager == null ) { mCookieManager = new CookieManager ( new PersistentCookieStore ( mContext ) , CookiePolicy . ACCEPT_ALL ) ; CookieHandler . setDefault ( mCookieManager ) ; } } | 59 |
java-test-8573 | java | When do cookie header add ? | when response header | public void enable Cookie ( ) { is Enable Cookie = BOOL ; if ( m Cookie Manager == null ) { m Cookie Manager = new Cookie Manager ( new Persistent Cookie Store ( m Context ) , Cookie Policy . ACCEPT ALL ) ; Cookie Handler . set Default ( m Cookie Manager ) ; } } | public void enableCookie ( ) { isEnableCookie = _BOOL ; if ( mCookieManager == null ) { mCookieManager = new CookieManager ( new PersistentCookieStore ( mContext ) , CookiePolicy . ACCEPT_ALL ) ; CookieHandler . setDefault ( mCookieManager ) ; } } | 59 |
java-test-8574 | java | Where do checksum calculate ? | over the page | private void calculate Checksum Over Page ( Byte Buffer page ) { page . put Int ( Ogg Page Header . FIELD PAGE CHECKSUM POS , NUM ) ; byte [ ] crc = Ogg CRC Factory . compute CRC ( page . array ( ) ) ; for ( int i = NUM ; i < crc . length ; i ++ ) { page . put ( Ogg Page Header . FIELD PAGE CHECKSUM POS + i , crc [ i ]... | private void calculateChecksumOverPage ( ByteBuffer page ) { page . putInt ( OggPageHeader . FIELD_PAGE_CHECKSUM_POS , _NUM ) ; byte [ ] crc = OggCRCFactory . computeCRC ( page . array ( ) ) ; for ( int i = _NUM ; i < crc . length ; i ++ ) { page . put ( OggPageHeader . FIELD_PAGE_CHECKSUM_POS + i , crc [ i ] ) ; } pag... | 94 |
java-test-8576 | java | What does the code initialize ? | the tree structure for hack force calculation | private void make Tree ( int nstep ) { for ( Enumeration < Body > e = bodies Rev ( ) ; e . has More Elements ( ) ; ) { Body q = e . next Element ( ) ; if ( q . mass != NUM ) { q . expand Box ( this , nstep ) ; Math Vector xqic = intcoord ( q . pos ) ; if ( root == null ) { root = q ; } else { root = root . load Tree ( ... | private void makeTree ( int nstep ) { for ( Enumeration < Body > e = bodiesRev ( ) ; e . hasMoreElements ( ) ; ) { Body q = e . nextElement ( ) ; if ( q . mass != _NUM ) { q . expandBox ( this , nstep ) ; MathVector xqic = intcoord ( q . pos ) ; if ( root == null ) { root = q ; } else { root = root . loadTree ( q , xqi... | 117 |
java-test-8577 | java | What did the code read ? | a message header | public T Message read Message Begin ( ) throws T Exception { byte protocol Id = read Byte ( ) ; if ( protocol Id != PROTOCOL ID ) { throw new T Protocol Exception ( STRING + Integer . to Hex String ( PROTOCOL ID ) + STRING + Integer . to Hex String ( protocol Id ) ) ; } byte version And Type = read Byte ( ) ; byte vers... | public TMessage readMessageBegin ( ) throws TException { byte protocolId = readByte ( ) ; if ( protocolId != PROTOCOL_ID ) { throw new TProtocolException ( STRING + Integer . toHexString ( PROTOCOL_ID ) + STRING + Integer . toHexString ( protocolId ) ) ; } byte versionAndType = readByte ( ) ; byte version = ( byte ) ( ... | 164 |
java-test-8582 | java | What creates at test index ? | with a numeric field | public static final Index create Test Index Numeric Field ( ) { Index index = new Index ( STRING ) ; index . set Table ( DB , STRING ) ; Array List < Index Field > fields = new Array List < > ( ) ; fields . add ( new Index Field ( STRING , Field Data Type . INTEGER ) ) ; index . set Fields ( fields ) ; index . is Uniqu... | public static final Index createTestIndexNumericField ( ) { Index index = new Index ( STRING ) ; index . setTable ( DB , STRING ) ; ArrayList < IndexField > fields = new ArrayList < > ( ) ; fields . add ( new IndexField ( STRING , FieldDataType . INTEGER ) ) ; index . setFields ( fields ) ; index . isUnique ( _BOOL ) ;... | 85 |
java-test-8584 | java | What does tile generate in original game ? | one - ups | public Secret Block ( Mario player , Group parent , int stage Zone , float x Pos , float y Pos , float yolo Width , Image ... hit State ) { super ( BLOCK COLLISION DATA , x Pos , y Pos , NUM , NUM , ( Image ) null ) ; this . hit State = hit State [ NUM ] ; yolo View = new Image View ( hit State [ NUM ] ) ; yolo View . ... | public SecretBlock ( Mario player , Group parent , int stageZone , float xPos , float yPos , float yoloWidth , Image ... hitState ) { super ( BLOCK_COLLISION_DATA , xPos , yPos , _NUM , _NUM , ( Image ) null ) ; this . hitState = hitState [ _NUM ] ; yoloView = new ImageView ( hitState [ _NUM ] ) ; yoloView . setFitWidt... | 102 |
java-test-8585 | java | What generates one - ups in original game ? | tile | public Secret Block ( Mario player , Group parent , int stage Zone , float x Pos , float y Pos , float yolo Width , Image ... hit State ) { super ( BLOCK COLLISION DATA , x Pos , y Pos , NUM , NUM , ( Image ) null ) ; this . hit State = hit State [ NUM ] ; yolo View = new Image View ( hit State [ NUM ] ) ; yolo View . ... | public SecretBlock ( Mario player , Group parent , int stageZone , float xPos , float yPos , float yoloWidth , Image ... hitState ) { super ( BLOCK_COLLISION_DATA , xPos , yPos , _NUM , _NUM , ( Image ) null ) ; this . hitState = hitState [ _NUM ] ; yoloView = new ImageView ( hitState [ _NUM ] ) ; yoloView . setFitWidt... | 102 |
java-test-8586 | java | Where does tile generate one - ups ? | in original game | public Secret Block ( Mario player , Group parent , int stage Zone , float x Pos , float y Pos , float yolo Width , Image ... hit State ) { super ( BLOCK COLLISION DATA , x Pos , y Pos , NUM , NUM , ( Image ) null ) ; this . hit State = hit State [ NUM ] ; yolo View = new Image View ( hit State [ NUM ] ) ; yolo View . ... | public SecretBlock ( Mario player , Group parent , int stageZone , float xPos , float yPos , float yoloWidth , Image ... hitState ) { super ( BLOCK_COLLISION_DATA , xPos , yPos , _NUM , _NUM , ( Image ) null ) ; this . hitState = hitState [ _NUM ] ; yoloView = new ImageView ( hitState [ _NUM ] ) ; yoloView . setFitWidt... | 102 |
java-test-8588 | java | What do introspection of the passed in class find ? | the associations of it | private void analyze Class Fields ( String class Name , int action ) { try { Class < ? > dynamic Class = Class . for Name ( class Name ) ; Field [ ] fields = dynamic Class . get Declared Fields ( ) ; for ( Field field : fields ) { if ( is Private And Non Primitive ( field ) ) { one To Any Conditions ( class Name , fiel... | private void analyzeClassFields ( String className , int action ) { try { Class < ? > dynamicClass = Class . forName ( className ) ; Field [ ] fields = dynamicClass . getDeclaredFields ( ) ; for ( Field field : fields ) { if ( isPrivateAndNonPrimitive ( field ) ) { oneToAnyConditions ( className , field , action ) ; ma... | 132 |
java-test-8589 | java | What finds the associations of it ? | introspection of the passed in class | private void analyze Class Fields ( String class Name , int action ) { try { Class < ? > dynamic Class = Class . for Name ( class Name ) ; Field [ ] fields = dynamic Class . get Declared Fields ( ) ; for ( Field field : fields ) { if ( is Private And Non Primitive ( field ) ) { one To Any Conditions ( class Name , fiel... | private void analyzeClassFields ( String className , int action ) { try { Class < ? > dynamicClass = Class . forName ( className ) ; Field [ ] fields = dynamicClass . getDeclaredFields ( ) ; for ( Field field : fields ) { if ( isPrivateAndNonPrimitive ( field ) ) { oneToAnyConditions ( className , field , action ) ; ma... | 132 |
java-test-8590 | java | What does the code compare ? | the in scope exception handlers of two blocks | public final boolean is Exception Handler Equivalent ( Basic Block other ) { if ( exception Handlers != other . exception Handlers ) { Enumeration < Basic Block > e1 = get Exception Handlers ( ) ; Enumeration < Basic Block > e2 = other . get Exception Handlers ( ) ; while ( e1 . has More Elements ( ) ) { if ( ! e2 . ha... | public final boolean isExceptionHandlerEquivalent ( BasicBlock other ) { if ( exceptionHandlers != other . exceptionHandlers ) { Enumeration < BasicBlock > e1 = getExceptionHandlers ( ) ; Enumeration < BasicBlock > e2 = other . getExceptionHandlers ( ) ; while ( e1 . hasMoreElements ( ) ) { if ( ! e2 . hasMoreElements ... | 115 |
java-test-8591 | java | What does the code populate for testing ? | a stream blob | protected void populate Stream Blob ( int test Id , byte [ ] base Content , int required Size ) throws SQL Exception { final byte [ ] test Bytes = generate Blob Content ( base Content , required Size ) ; try ( Fb Database db = create Database Connection ( ) ) { listener = new Simple Statement Listener ( ) ; transaction... | protected void populateStreamBlob ( int testId , byte [ ] baseContent , int requiredSize ) throws SQLException { final byte [ ] testBytes = generateBlobContent ( baseContent , requiredSize ) ; try ( FbDatabase db = createDatabaseConnection ( ) ) { listener = new SimpleStatementListener ( ) ; transaction = getTransactio... | 348 |
java-test-8592 | java | Where does the code draw the text ? | under the graphics | protected void draw Text ( String text 1 , String text 2 , int x , int y , Canvas c ) { if ( text Paint == null ) { Paint p = new Paint ( ) ; p . set Typeface ( Roboto Light Typeface . get Instance ( context ) ) ; p . set Color ( text Color ) ; p . set Text Size ( NUM * pixel Density ) ; this . text Paint = p ; } float... | protected void drawText ( String text1 , String text2 , int x , int y , Canvas c ) { if ( textPaint == null ) { Paint p = new Paint ( ) ; p . setTypeface ( RobotoLightTypeface . getInstance ( context ) ) ; p . setColor ( textColor ) ; p . setTextSize ( _NUM * pixelDensity ) ; this . textPaint = p ; } float w = textPain... | 197 |
java-test-8594 | java | What is accumulating the result ? | all nested files | @ Nullable public static String md 5 ( @ Nullable File file , @ Nullable Ignite Logger log ) { if ( file != null ) return file . is File ( ) ? file Md 5 ( file , log ) : directory Md 5 ( file , log ) ; return null ; } | @ Nullable public static String md5 ( @ Nullable File file , @ Nullable IgniteLogger log ) { if ( file != null ) return file . isFile ( ) ? fileMd5 ( file , log ) : directoryMd5 ( file , log ) ; return null ; } | 56 |
java-test-8595 | java | What is this used ? | to make windowsl & f jfilechooser act like native dialogs | public static boolean point Outside Pref Size ( J Table table , int row , int column , Point p ) { if ( table . convert Column Index To Model ( column ) != NUM || row == - NUM ) { return BOOL ; } Table Cell Renderer tcr = table . get Cell Renderer ( row , column ) ; Object value = table . get Value At ( row , column ) ... | public static boolean pointOutsidePrefSize ( JTable table , int row , int column , Point p ) { if ( table . convertColumnIndexToModel ( column ) != _NUM || row == - _NUM ) { return _BOOL ; } TableCellRenderer tcr = table . getCellRenderer ( row , column ) ; Object value = table . getValueAt ( row , column ) ; Component... | 201 |
java-test-8597 | java | What does this method validate raising an exception if the response reflects an operation failure ? | a deletevmresponse object | private static Delete Vm Response check Delete Vm Response ( Delete Vm Response delete Vm Response ) throws Rpc Exception { logger . info ( STRING , delete Vm Response ) ; switch ( delete Vm Response . get Result ( ) ) { case OK : break ; case SYSTEM ERROR : throw new System Error Exception ( delete Vm Response . get E... | private static DeleteVmResponse checkDeleteVmResponse ( DeleteVmResponse deleteVmResponse ) throws RpcException { logger . info ( STRING , deleteVmResponse ) ; switch ( deleteVmResponse . getResult ( ) ) { case OK : break ; case SYSTEM_ERROR : throw new SystemErrorException ( deleteVmResponse . getError ( ) ) ; case VM... | 146 |
java-test-8598 | java | What does the code flipping move to the front buffer either by copying or by moving the video pointer ? | the contents of the back buffer | protected void flip ( Buffer Capabilities . Flip Contents flip Action ) { if ( peer != null ) { Image back Buffer = get Back Buffer ( ) ; if ( back Buffer != null ) { peer . flip ( NUM , NUM , back Buffer . get Width ( null ) , back Buffer . get Height ( null ) , flip Action ) ; } } else { throw new Illegal State Excep... | protected void flip ( BufferCapabilities . FlipContents flipAction ) { if ( peer != null ) { Image backBuffer = getBackBuffer ( ) ; if ( backBuffer != null ) { peer . flip ( _NUM , _NUM , backBuffer . getWidth ( null ) , backBuffer . getHeight ( null ) , flipAction ) ; } } else { throw new IllegalStateException ( STRIN... | 83 |
java-test-8599 | java | How does the code flipping move the contents of the back buffer to the front buffer ? | either by copying or by moving the video pointer | protected void flip ( Buffer Capabilities . Flip Contents flip Action ) { if ( peer != null ) { Image back Buffer = get Back Buffer ( ) ; if ( back Buffer != null ) { peer . flip ( NUM , NUM , back Buffer . get Width ( null ) , back Buffer . get Height ( null ) , flip Action ) ; } } else { throw new Illegal State Excep... | protected void flip ( BufferCapabilities . FlipContents flipAction ) { if ( peer != null ) { Image backBuffer = getBackBuffer ( ) ; if ( backBuffer != null ) { peer . flip ( _NUM , _NUM , backBuffer . getWidth ( null ) , backBuffer . getHeight ( null ) , flipAction ) ; } } else { throw new IllegalStateException ( STRIN... | 83 |
java-test-8600 | java | What moves the contents of the back buffer to the front buffer either by copying or by moving the video pointer ? | the code flipping | protected void flip ( Buffer Capabilities . Flip Contents flip Action ) { if ( peer != null ) { Image back Buffer = get Back Buffer ( ) ; if ( back Buffer != null ) { peer . flip ( NUM , NUM , back Buffer . get Width ( null ) , back Buffer . get Height ( null ) , flip Action ) ; } } else { throw new Illegal State Excep... | protected void flip ( BufferCapabilities . FlipContents flipAction ) { if ( peer != null ) { Image backBuffer = getBackBuffer ( ) ; if ( backBuffer != null ) { peer . flip ( _NUM , _NUM , backBuffer . getWidth ( null ) , backBuffer . getHeight ( null ) , flipAction ) ; } } else { throw new IllegalStateException ( STRIN... | 83 |
java-test-8602 | java | What does the code remove ? | model change listener | public void remove Model Change ( String table Name , Model Validator listener ) { if ( table Name == null || listener == null ) return ; String property Name = m global Validators . contains ( listener ) ? table Name + STRING : table Name + listener . get AD Client ID ( ) ; Array List < Model Validator > list = m mode... | public void removeModelChange ( String tableName , ModelValidator listener ) { if ( tableName == null || listener == null ) return ; String propertyName = m_globalValidators . contains ( listener ) ? tableName + STRING : tableName + listener . getAD_Client_ID ( ) ; ArrayList < ModelValidator > list = m_modelChangeListe... | 114 |
java-test-8608 | java | What does returns string contain without events etc without events etc ? | given components as legacy text | public static String to Legacy Text ( Base Component ... components ) { String Builder builder = new String Builder ( ) ; for ( Base Component msg : components ) { builder . append ( msg . to Legacy Text ( ) ) ; } return builder . to String ( ) ; } | public static String toLegacyText ( BaseComponent ... components ) { StringBuilder builder = new StringBuilder ( ) ; for ( BaseComponent msg : components ) { builder . append ( msg . toLegacyText ( ) ) ; } return builder . toString ( ) ; } | 55 |
java-test-8609 | java | How does returns string contain given components as legacy text ? | without events etc | public static String to Legacy Text ( Base Component ... components ) { String Builder builder = new String Builder ( ) ; for ( Base Component msg : components ) { builder . append ( msg . to Legacy Text ( ) ) ; } return builder . to String ( ) ; } | public static String toLegacyText ( BaseComponent ... components ) { StringBuilder builder = new StringBuilder ( ) ; for ( BaseComponent msg : components ) { builder . append ( msg . toLegacyText ( ) ) ; } return builder . toString ( ) ; } | 55 |
java-test-8610 | java | What contains given components as legacy text without events etc without events etc ? | returns string | public static String to Legacy Text ( Base Component ... components ) { String Builder builder = new String Builder ( ) ; for ( Base Component msg : components ) { builder . append ( msg . to Legacy Text ( ) ) ; } return builder . to String ( ) ; } | public static String toLegacyText ( BaseComponent ... components ) { StringBuilder builder = new StringBuilder ( ) ; for ( BaseComponent msg : components ) { builder . append ( msg . toLegacyText ( ) ) ; } return builder . toString ( ) ; } | 55 |
java-test-8611 | java | What does the code create ? | a secure server socket | public static Server Socket create Server Socket ( int port , Inet Address bind Address ) throws IO Exception { Server Socket socket = null ; if ( Sys Properties . ENABLE ANONYMOUS TLS ) { remove Anon From Legacy Algorithms ( ) ; } set Keystore ( ) ; Server Socket Factory f = SSL Server Socket Factory . get Default ( )... | public static ServerSocket createServerSocket ( int port , InetAddress bindAddress ) throws IOException { ServerSocket socket = null ; if ( SysProperties . ENABLE_ANONYMOUS_TLS ) { removeAnonFromLegacyAlgorithms ( ) ; } setKeystore ( ) ; ServerSocketFactory f = SSLServerSocketFactory . getDefault ( ) ; SSLServerSocket ... | 203 |
java-test-8612 | java | For what purpose did the security property modify ? | to allow anonymous tls | public static Server Socket create Server Socket ( int port , Inet Address bind Address ) throws IO Exception { Server Socket socket = null ; if ( Sys Properties . ENABLE ANONYMOUS TLS ) { remove Anon From Legacy Algorithms ( ) ; } set Keystore ( ) ; Server Socket Factory f = SSL Server Socket Factory . get Default ( )... | public static ServerSocket createServerSocket ( int port , InetAddress bindAddress ) throws IOException { ServerSocket socket = null ; if ( SysProperties . ENABLE_ANONYMOUS_TLS ) { removeAnonFromLegacyAlgorithms ( ) ; } setKeystore ( ) ; ServerSocketFactory f = SSLServerSocketFactory . getDefault ( ) ; SSLServerSocket ... | 203 |
java-test-8613 | java | When is this system change effectively permanent ? | for the lifetime of the jvm | public static Server Socket create Server Socket ( int port , Inet Address bind Address ) throws IO Exception { Server Socket socket = null ; if ( Sys Properties . ENABLE ANONYMOUS TLS ) { remove Anon From Legacy Algorithms ( ) ; } set Keystore ( ) ; Server Socket Factory f = SSL Server Socket Factory . get Default ( )... | public static ServerSocket createServerSocket ( int port , InetAddress bindAddress ) throws IOException { ServerSocket socket = null ; if ( SysProperties . ENABLE_ANONYMOUS_TLS ) { removeAnonFromLegacyAlgorithms ( ) ; } setKeystore ( ) ; ServerSocketFactory f = SSLServerSocketFactory . getDefault ( ) ; SSLServerSocket ... | 203 |
java-test-8614 | java | For what purpose is an attempt made ? | to modify the security property jdk . tls . legacyalgorithms ( in newer jvms ) to allow anonymous tls | public static Server Socket create Server Socket ( int port , Inet Address bind Address ) throws IO Exception { Server Socket socket = null ; if ( Sys Properties . ENABLE ANONYMOUS TLS ) { remove Anon From Legacy Algorithms ( ) ; } set Keystore ( ) ; Server Socket Factory f = SSL Server Socket Factory . get Default ( )... | public static ServerSocket createServerSocket ( int port , InetAddress bindAddress ) throws IOException { ServerSocket socket = null ; if ( SysProperties . ENABLE_ANONYMOUS_TLS ) { removeAnonFromLegacyAlgorithms ( ) ; } setKeystore ( ) ; ServerSocketFactory f = SSLServerSocketFactory . getDefault ( ) ; SSLServerSocket ... | 203 |
java-test-8617 | java | What does the code delete ? | a vv set or consistency group | public void delete V Vset ( String native Id ) throws Exception { log . info ( STRING ) ; Client Response client Resp = null ; final String path = Message Format . format ( URI DELETE CG , native Id ) ; log . info ( STRING + path ) ; try { client Resp = delete ( path ) ; if ( client Resp == null ) { log . error ( STRIN... | public void deleteVVset ( String nativeId ) throws Exception { _log . info ( STRING ) ; ClientResponse clientResp = null ; final String path = MessageFormat . format ( URI_DELETE_CG , nativeId ) ; _log . info ( STRING + path ) ; try { clientResp = delete ( path ) ; if ( clientResp == null ) { _log . error ( STRING ) ; ... | 175 |
java-test-8618 | java | What does the code create ? | the virtual machines | private static Array List < Container Vm > create Vm List ( int broker Id , int container Vms Number ) { Array List < Container Vm > container Vms = new Array List < Container Vm > ( ) ; for ( int i = NUM ; i < container Vms Number ; ++ i ) { Array List < Container Pe > pe List = new Array List < Container Pe > ( ) ; i... | private static ArrayList < ContainerVm > createVmList ( int brokerId , int containerVmsNumber ) { ArrayList < ContainerVm > containerVms = new ArrayList < ContainerVm > ( ) ; for ( int i = _NUM ; i < containerVmsNumber ; ++ i ) { ArrayList < ContainerPe > peList = new ArrayList < ContainerPe > ( ) ; int vmType = i / ( ... | 281 |
java-test-8619 | java | What does the code add to a port , which indicates one initiator is using the port this is public static because the storageportsassignertest uses it ? | a use count | public static void add Port Use ( Map < Storage Port , Integer > port Use Counts , Storage Port port ) { if ( ! port Use Counts . contains Key ( port ) ) { port Use Counts . put ( port , NUM ) ; } else { Integer new Count = port Use Counts . get ( port ) + NUM ; port Use Counts . put ( port , new Count ) ; } } | public static void addPortUse ( Map < StoragePort , Integer > portUseCounts , StoragePort port ) { if ( ! portUseCounts . containsKey ( port ) ) { portUseCounts . put ( port , _NUM ) ; } else { Integer newCount = portUseCounts . get ( port ) + _NUM ; portUseCounts . put ( port , newCount ) ; } } | 80 |
java-test-8620 | java | What is using the port ? | one initiator | public static void add Port Use ( Map < Storage Port , Integer > port Use Counts , Storage Port port ) { if ( ! port Use Counts . contains Key ( port ) ) { port Use Counts . put ( port , NUM ) ; } else { Integer new Count = port Use Counts . get ( port ) + NUM ; port Use Counts . put ( port , new Count ) ; } } | public static void addPortUse ( Map < StoragePort , Integer > portUseCounts , StoragePort port ) { if ( ! portUseCounts . containsKey ( port ) ) { portUseCounts . put ( port , _NUM ) ; } else { Integer newCount = portUseCounts . get ( port ) + _NUM ; portUseCounts . put ( port , newCount ) ; } } | 80 |
java-test-8621 | java | What does which indicate ? | one initiator is using the port this is public static because the storageportsassignertest uses it | public static void add Port Use ( Map < Storage Port , Integer > port Use Counts , Storage Port port ) { if ( ! port Use Counts . contains Key ( port ) ) { port Use Counts . put ( port , NUM ) ; } else { Integer new Count = port Use Counts . get ( port ) + NUM ; port Use Counts . put ( port , new Count ) ; } } | public static void addPortUse ( Map < StoragePort , Integer > portUseCounts , StoragePort port ) { if ( ! portUseCounts . containsKey ( port ) ) { portUseCounts . put ( port , _NUM ) ; } else { Integer newCount = portUseCounts . get ( port ) + _NUM ; portUseCounts . put ( port , newCount ) ; } } | 80 |
java-test-8622 | java | What uses it ? | the storageportsassignertest | public static void add Port Use ( Map < Storage Port , Integer > port Use Counts , Storage Port port ) { if ( ! port Use Counts . contains Key ( port ) ) { port Use Counts . put ( port , NUM ) ; } else { Integer new Count = port Use Counts . get ( port ) + NUM ; port Use Counts . put ( port , new Count ) ; } } | public static void addPortUse ( Map < StoragePort , Integer > portUseCounts , StoragePort port ) { if ( ! portUseCounts . containsKey ( port ) ) { portUseCounts . put ( port , _NUM ) ; } else { Integer newCount = portUseCounts . get ( port ) + _NUM ; portUseCounts . put ( port , newCount ) ; } } | 80 |
java-test-8623 | java | What does the code test ? | thread - safe behavior | public static void run Concurrently ( final Callable < Void > task , final int times ) throws Exception { final Executor Service service = Executors . new Fixed Thread Pool ( NUM ) ; final List < Future < ? > > futures = new Array List < Future < ? > > ( ) ; for ( int i = NUM ; i < times ; i ++ ) { futures . add ( serv... | public static void runConcurrently ( final Callable < Void > task , final int times ) throws Exception { final ExecutorService service = Executors . newFixedThreadPool ( _NUM ) ; final List < Future < ? > > futures = new ArrayList < Future < ? > > ( ) ; for ( int i = _NUM ; i < times ; i ++ ) { futures . add ( service ... | 105 |
java-test-8624 | java | What do the index of the specified key within the array contain ? | key / value comments | private int find Key Comment Index ( String key Name ) { for ( int i = NUM ; i < key Val Comments . size ( ) ; i ++ ) { String t = key Val Comments . get ( i ) ; String targeted Key = STRING + key Name + STRING ; if ( t . starts With ( targeted Key ) ) { return i ; } } if ( log . is Debug Enabled ( ) ) { log . debug ( ... | private int findKeyCommentIndex ( String keyName ) { for ( int i = _NUM ; i < keyValComments . size ( ) ; i ++ ) { String t = keyValComments . get ( i ) ; String targetedKey = STRING + keyName + STRING ; if ( t . startsWith ( targetedKey ) ) { return i ; } } if ( log . isDebugEnabled ( ) ) { log . debug ( STRING + keyN... | 100 |
java-test-8625 | java | What does the code find ? | the index of the specified key within the array containing key / value comments | private int find Key Comment Index ( String key Name ) { for ( int i = NUM ; i < key Val Comments . size ( ) ; i ++ ) { String t = key Val Comments . get ( i ) ; String targeted Key = STRING + key Name + STRING ; if ( t . starts With ( targeted Key ) ) { return i ; } } if ( log . is Debug Enabled ( ) ) { log . debug ( ... | private int findKeyCommentIndex ( String keyName ) { for ( int i = _NUM ; i < keyValComments . size ( ) ; i ++ ) { String t = keyValComments . get ( i ) ; String targetedKey = STRING + keyName + STRING ; if ( t . startsWith ( targetedKey ) ) { return i ; } } if ( log . isDebugEnabled ( ) ) { log . debug ( STRING + keyN... | 100 |
java-test-8626 | java | What is containing key / value comments ? | the index of the specified key within the array | private int find Key Comment Index ( String key Name ) { for ( int i = NUM ; i < key Val Comments . size ( ) ; i ++ ) { String t = key Val Comments . get ( i ) ; String targeted Key = STRING + key Name + STRING ; if ( t . starts With ( targeted Key ) ) { return i ; } } if ( log . is Debug Enabled ( ) ) { log . debug ( ... | private int findKeyCommentIndex ( String keyName ) { for ( int i = _NUM ; i < keyValComments . size ( ) ; i ++ ) { String t = keyValComments . get ( i ) ; String targetedKey = STRING + keyName + STRING ; if ( t . startsWith ( targetedKey ) ) { return i ; } } if ( log . isDebugEnabled ( ) ) { log . debug ( STRING + keyN... | 100 |
java-test-8628 | java | Where did by reader thread call the code ? | on reader end of file | @ Override public State Connection on Close Read ( ) { Connection Protocol request = request ( ) ; if ( request != null ) { request . on Close Read ( ) ; } sequence Close . set ( sequence Read . get ( ) ) ; if ( sequence Flush . get ( ) < sequence Close . get ( ) ) { is Close Pending . set ( BOOL ) ; if ( sequence Flus... | @ Override public StateConnection onCloseRead ( ) { ConnectionProtocol request = request ( ) ; if ( request != null ) { request . onCloseRead ( ) ; } _sequenceClose . set ( _sequenceRead . get ( ) ) ; if ( _sequenceFlush . get ( ) < _sequenceClose . get ( ) ) { _isClosePending . set ( _BOOL ) ; if ( _sequenceFlush . ge... | 129 |
java-test-8629 | java | What called the code on reader end of file ? | by reader thread | @ Override public State Connection on Close Read ( ) { Connection Protocol request = request ( ) ; if ( request != null ) { request . on Close Read ( ) ; } sequence Close . set ( sequence Read . get ( ) ) ; if ( sequence Flush . get ( ) < sequence Close . get ( ) ) { is Close Pending . set ( BOOL ) ; if ( sequence Flus... | @ Override public StateConnection onCloseRead ( ) { ConnectionProtocol request = request ( ) ; if ( request != null ) { request . onCloseRead ( ) ; } _sequenceClose . set ( _sequenceRead . get ( ) ) ; if ( _sequenceFlush . get ( ) < _sequenceClose . get ( ) ) { _isClosePending . set ( _BOOL ) ; if ( _sequenceFlush . ge... | 129 |
java-test-8631 | java | What does the code compute given an enumeration of its point given an enumeration of its point ? | the area of a polygon on the surface of a unit sphere | public static double area ( Enumeration < Geo > vs ) { int count = NUM ; double area = NUM ; Geo v0 = vs . next Element ( ) ; Geo v1 = vs . next Element ( ) ; Geo p0 = v0 ; Geo p1 = v1 ; Geo p2 = null ; while ( vs . has More Elements ( ) ) { count ++ ; p2 = ( Geo ) vs . next Element ( ) ; area += angle ( p0 , p1 , p2 )... | public static double area ( Enumeration < Geo > vs ) { int count = _NUM ; double area = _NUM ; Geo v0 = vs . nextElement ( ) ; Geo v1 = vs . nextElement ( ) ; Geo p0 = v0 ; Geo p1 = v1 ; Geo p2 = null ; while ( vs . hasMoreElements ( ) ) { count ++ ; p2 = ( Geo ) vs . nextElement ( ) ; area += angle ( p0 , p1 , p2 ) ; ... | 161 |
java-test-8632 | java | What equals the last ? | the first point | public static double area ( Enumeration < Geo > vs ) { int count = NUM ; double area = NUM ; Geo v0 = vs . next Element ( ) ; Geo v1 = vs . next Element ( ) ; Geo p0 = v0 ; Geo p1 = v1 ; Geo p2 = null ; while ( vs . has More Elements ( ) ) { count ++ ; p2 = ( Geo ) vs . next Element ( ) ; area += angle ( p0 , p1 , p2 )... | public static double area ( Enumeration < Geo > vs ) { int count = _NUM ; double area = _NUM ; Geo v0 = vs . nextElement ( ) ; Geo v1 = vs . nextElement ( ) ; Geo p0 = v0 ; Geo p1 = v1 ; Geo p2 = null ; while ( vs . hasMoreElements ( ) ) { count ++ ; p2 = ( Geo ) vs . nextElement ( ) ; area += angle ( p0 , p1 , p2 ) ; ... | 161 |
java-test-8633 | java | What does the code append to the header , already created ? | the vm ergo message | static void append Vm Ergo Message ( boolean is Server Class , String vm ) { out Buf = out Buf . append ( get Localized Message ( STRING , vm ) ) ; out Buf = ( is Server Class ) ? out Buf . append ( STRING + get Localized Message ( STRING ) + STRING ) : out Buf . append ( STRING ) ; } | static void appendVmErgoMessage ( boolean isServerClass , String vm ) { outBuf = outBuf . append ( getLocalizedMessage ( STRING , vm ) ) ; outBuf = ( isServerClass ) ? outBuf . append ( STRING + getLocalizedMessage ( STRING ) + STRING ) : outBuf . append ( STRING ) ; } | 69 |
java-test-8640 | java | What does the code add to the dialogue state ? | the user input | public Set < String > add User Input ( Map < String , Double > user Input ) { String var = ( ! settings . inverted Role ) ? settings . user Input : settings . system Output ; Categorical Table . Builder builder = new Categorical Table . Builder ( var ) ; for ( String input : user Input . key Set ( ) ) { builder . add R... | public Set < String > addUserInput ( Map < String , Double > userInput ) { String var = ( ! settings . invertedRole ) ? settings . userInput : settings . systemOutput ; CategoricalTable . Builder builder = new CategoricalTable . Builder ( var ) ; for ( String input : userInput . keySet ( ) ) { builder . addRow ( input ... | 98 |
java-test-8641 | java | What is associated with a probability a n - best list ? | each hypothesis | public Set < String > add User Input ( Map < String , Double > user Input ) { String var = ( ! settings . inverted Role ) ? settings . user Input : settings . system Output ; Categorical Table . Builder builder = new Categorical Table . Builder ( var ) ; for ( String input : user Input . key Set ( ) ) { builder . add R... | public Set < String > addUserInput ( Map < String , Double > userInput ) { String var = ( ! settings . invertedRole ) ? settings . userInput : settings . systemOutput ; CategoricalTable . Builder builder = new CategoricalTable . Builder ( var ) ; for ( String input : userInput . keySet ( ) ) { builder . addRow ( input ... | 98 |
java-test-8642 | java | Where is each hypothesis associated with a probability ? | a n - best list | public Set < String > add User Input ( Map < String , Double > user Input ) { String var = ( ! settings . inverted Role ) ? settings . user Input : settings . system Output ; Categorical Table . Builder builder = new Categorical Table . Builder ( var ) ; for ( String input : user Input . key Set ( ) ) { builder . add R... | public Set < String > addUserInput ( Map < String , Double > userInput ) { String var = ( ! settings . invertedRole ) ? settings . userInput : settings . systemOutput ; CategoricalTable . Builder builder = new CategoricalTable . Builder ( var ) ; for ( String input : userInput . keySet ( ) ) { builder . addRow ( input ... | 98 |
java-test-8644 | java | What saves to file ? | log data | private void record Log Data ( ) { try { int size = m Recording Data . size ( ) ; if ( size == NUM ) { return ; } Vector < String > recording Data = new Vector < > ( m Recording Data ) ; File log Dir = Constants . get Record Dir ( this ) ; log Dir . mkdirs ( ) ; File log File = new File ( log Dir , m Recording Filename... | private void recordLogData ( ) { try { int size = mRecordingData . size ( ) ; if ( size == _NUM ) { return ; } Vector < String > recordingData = new Vector < > ( mRecordingData ) ; File logDir = Constants . getRecordDir ( this ) ; logDir . mkdirs ( ) ; File logFile = new File ( logDir , mRecordingFilename ) ; FileWrite... | 187 |
java-test-8645 | java | What does a writableraster with the specified width and height have ? | a data layout ( samplemodel ) compatible with this colormodel | public Writable Raster create Compatible Writable Raster ( int w , int h ) { int [ ] b Offs = { NUM , NUM , NUM } ; return Raster . create Interleaved Raster ( Data Buffer . TYPE BYTE , w , h , w * NUM , NUM , b Offs , null ) ; } | public WritableRaster createCompatibleWritableRaster ( int w , int h ) { int [ ] bOffs = { _NUM , _NUM , _NUM } ; return Raster . createInterleavedRaster ( DataBuffer . TYPE_BYTE , w , h , w * _NUM , _NUM , bOffs , null ) ; } | 59 |
java-test-8646 | java | What does the code create ? | a writableraster with the specified width and height , that has a data layout ( samplemodel ) compatible with this colormodel | public Writable Raster create Compatible Writable Raster ( int w , int h ) { int [ ] b Offs = { NUM , NUM , NUM } ; return Raster . create Interleaved Raster ( Data Buffer . TYPE BYTE , w , h , w * NUM , NUM , b Offs , null ) ; } | public WritableRaster createCompatibleWritableRaster ( int w , int h ) { int [ ] bOffs = { _NUM , _NUM , _NUM } ; return Raster . createInterleavedRaster ( DataBuffer . TYPE_BYTE , w , h , w * _NUM , _NUM , bOffs , null ) ; } | 59 |
java-test-8647 | java | What has a data layout ( samplemodel ) compatible with this colormodel ? | a writableraster with the specified width and height | public Writable Raster create Compatible Writable Raster ( int w , int h ) { int [ ] b Offs = { NUM , NUM , NUM } ; return Raster . create Interleaved Raster ( Data Buffer . TYPE BYTE , w , h , w * NUM , NUM , b Offs , null ) ; } | public WritableRaster createCompatibleWritableRaster ( int w , int h ) { int [ ] bOffs = { _NUM , _NUM , _NUM } ; return Raster . createInterleavedRaster ( DataBuffer . TYPE_BYTE , w , h , w * _NUM , _NUM , bOffs , null ) ; } | 59 |
java-test-8648 | java | In which direction do an entire directory copy to another ? | from one location | private void copy Directory ( File source , File dest ) throws IO Exception { for ( File f : source . list Files ( ) ) { File source File = new File ( source , f . get Name ( ) ) ; File dest File = new File ( dest , f . get Name ( ) ) ; if ( f . is Directory ( ) ) { dest File . mkdirs ( ) ; copy Directory ( source File... | private void copyDirectory ( File source , File dest ) throws IOException { for ( File f : source . listFiles ( ) ) { File sourceFile = new File ( source , f . getName ( ) ) ; File destFile = new File ( dest , f . getName ( ) ) ; if ( f . isDirectory ( ) ) { destFile . mkdirs ( ) ; copyDirectory ( sourceFile , destFile... | 103 |
java-test-8649 | java | What do a table describe ? | all tasks performed | public String pretty Print ( ) { final String Buffer sb = new String Buffer ( short Summary ( ) ) ; sb . append ( STRING ) ; if ( ! this . keep Task List ) { sb . append ( STRING ) ; } else { final Task Info [ ] tasks = get Task Info ( ) ; sb . append ( STRING ) ; sb . append ( STRING ) ; sb . append ( STRING ) ; final... | public String prettyPrint ( ) { final StringBuffer sb = new StringBuffer ( shortSummary ( ) ) ; sb . append ( STRING ) ; if ( ! this . keepTaskList ) { sb . append ( STRING ) ; } else { final TaskInfo [ ] tasks = getTaskInfo ( ) ; sb . append ( STRING ) ; sb . append ( STRING ) ; sb . append ( STRING ) ; final NumberFo... | 256 |
java-test-8650 | java | How does the code return a string for custom reporting ? | with a table describing all tasks performed . | public String pretty Print ( ) { final String Buffer sb = new String Buffer ( short Summary ( ) ) ; sb . append ( STRING ) ; if ( ! this . keep Task List ) { sb . append ( STRING ) ; } else { final Task Info [ ] tasks = get Task Info ( ) ; sb . append ( STRING ) ; sb . append ( STRING ) ; sb . append ( STRING ) ; final... | public String prettyPrint ( ) { final StringBuffer sb = new StringBuffer ( shortSummary ( ) ) ; sb . append ( STRING ) ; if ( ! this . keepTaskList ) { sb . append ( STRING ) ; } else { final TaskInfo [ ] tasks = getTaskInfo ( ) ; sb . append ( STRING ) ; sb . append ( STRING ) ; sb . append ( STRING ) ; final NumberFo... | 256 |
java-test-8651 | java | What does the code use directly ? | the task info | public String pretty Print ( ) { final String Buffer sb = new String Buffer ( short Summary ( ) ) ; sb . append ( STRING ) ; if ( ! this . keep Task List ) { sb . append ( STRING ) ; } else { final Task Info [ ] tasks = get Task Info ( ) ; sb . append ( STRING ) ; sb . append ( STRING ) ; sb . append ( STRING ) ; final... | public String prettyPrint ( ) { final StringBuffer sb = new StringBuffer ( shortSummary ( ) ) ; sb . append ( STRING ) ; if ( ! this . keepTaskList ) { sb . append ( STRING ) ; } else { final TaskInfo [ ] tasks = getTaskInfo ( ) ; sb . append ( STRING ) ; sb . append ( STRING ) ; sb . append ( STRING ) ; final NumberFo... | 256 |
java-test-8652 | java | For what purpose does the code return a string with a table describing all tasks performed . ? | for custom reporting | public String pretty Print ( ) { final String Buffer sb = new String Buffer ( short Summary ( ) ) ; sb . append ( STRING ) ; if ( ! this . keep Task List ) { sb . append ( STRING ) ; } else { final Task Info [ ] tasks = get Task Info ( ) ; sb . append ( STRING ) ; sb . append ( STRING ) ; sb . append ( STRING ) ; final... | public String prettyPrint ( ) { final StringBuffer sb = new StringBuffer ( shortSummary ( ) ) ; sb . append ( STRING ) ; if ( ! this . keepTaskList ) { sb . append ( STRING ) ; } else { final TaskInfo [ ] tasks = getTaskInfo ( ) ; sb . append ( STRING ) ; sb . append ( STRING ) ; sb . append ( STRING ) ; final NumberFo... | 256 |
java-test-8653 | java | What does the code show ? | a file chooser for opening a design file | private Design File open dialog ( Stat stat , String p design dir name ) { J File Chooser file chooser = new J File Chooser ( p design dir name ) ; File Filter file filter = new File Filter ( Design File . all file extensions ) ; file chooser . set File Filter ( file filter ) ; file chooser . show Open Dialog ( null ) ... | private DesignFile open_dialog ( Stat stat , String p_design_dir_name ) { JFileChooser file_chooser = new JFileChooser ( p_design_dir_name ) ; FileFilter file_filter = new FileFilter ( DesignFile . all_file_extensions ) ; file_chooser . setFileFilter ( file_filter ) ; file_chooser . showOpenDialog ( null ) ; File curr_... | 112 |
java-test-8656 | java | What does each line indicate ? | the headrule for a specific phrase | public Head Rule Map ( Input Stream in ) { Buffered Reader reader = IO Utils . create Buffered Reader ( in ) ; String line , p Tag , dir , rule ; String [ ] tmp ; try { while ( ( line = reader . read Line ( ) ) != null ) { tmp = P COLUMN . split ( line ) ; p Tag = tmp [ NUM ] ; dir = tmp [ NUM ] ; rule = tmp [ NUM ] ; ... | public HeadRuleMap ( InputStream in ) { BufferedReader reader = IOUtils . createBufferedReader ( in ) ; String line , pTag , dir , rule ; String [ ] tmp ; try { while ( ( line = reader . readLine ( ) ) != null ) { tmp = P_COLUMN . split ( line ) ; pTag = tmp [ _NUM ] ; dir = tmp [ _NUM ] ; rule = tmp [ _NUM ] ; put ( p... | 123 |
java-test-8657 | java | What does a new resource use to process requests ? | the specified amount of threads | public Concurrent Coap Resource ( String name , int threads ) { super ( name ) ; this . threads = threads ; set Executor ( Executors . new Fixed Thread Pool ( threads , new Utils . Named Thread Factory ( STRING + name + STRING ) ) ) ; } | public ConcurrentCoapResource ( String name , int threads ) { super ( name ) ; this . threads = threads ; setExecutor ( Executors . newFixedThreadPool ( threads , new Utils . NamedThreadFactory ( STRING + name + STRING ) ) ) ; } | 52 |
java-test-8658 | java | What does a new resource use the specified amount of threads ? | to process requests | public Concurrent Coap Resource ( String name , int threads ) { super ( name ) ; this . threads = threads ; set Executor ( Executors . new Fixed Thread Pool ( threads , new Utils . Named Thread Factory ( STRING + name + STRING ) ) ) ; } | public ConcurrentCoapResource ( String name , int threads ) { super ( name ) ; this . threads = threads ; setExecutor ( Executors . newFixedThreadPool ( threads , new Utils . NamedThreadFactory ( STRING + name + STRING ) ) ) ; } | 52 |
java-test-8659 | java | What is saved on the m_context stack ? | the xml nesting structure | public void start Element ( String uri , String local Name , String q Name , Attributes attributes ) throws org . xml . sax . SAX Exception { boolean valid OFX = BOOL ; if ( ! valid OFX ) { m error Description = STRING + q Name ; throw new SAX Exception ( STRING + q Name ) ; } if ( q Name . equals ( XML STMTTRN TAG ) )... | public void startElement ( String uri , String localName , String qName , Attributes attributes ) throws org . xml . sax . SAXException { boolean validOFX = _BOOL ; if ( ! validOFX ) { m_errorDescription = STRING + qName ; throw new SAXException ( STRING + qName ) ; } if ( qName . equals ( XML_STMTTRN_TAG ) ) { m_line ... | 108 |
java-test-8660 | java | Where is the xml nesting structure saved ? | on the m_context stack | public void start Element ( String uri , String local Name , String q Name , Attributes attributes ) throws org . xml . sax . SAX Exception { boolean valid OFX = BOOL ; if ( ! valid OFX ) { m error Description = STRING + q Name ; throw new SAX Exception ( STRING + q Name ) ; } if ( q Name . equals ( XML STMTTRN TAG ) )... | public void startElement ( String uri , String localName , String qName , Attributes attributes ) throws org . xml . sax . SAXException { boolean validOFX = _BOOL ; if ( ! validOFX ) { m_errorDescription = STRING + qName ; throw new SAXException ( STRING + qName ) ; } if ( qName . equals ( XML_STMTTRN_TAG ) ) { m_line ... | 108 |
java-test-8661 | java | What does the code verify finally ? | the write on the reopened store | public void test restart Safe one Write ( ) { I Atomic Store store = ( I Atomic Store ) get Store ( ) ; try { assert True ( store . is Stable ( ) ) ; final Random r = new Random ( ) ; final int len = NUM ; final byte [ ] expected = new byte [ len ] ; r . next Bytes ( expected ) ; final Byte Buffer tmp = Byte Buffer . w... | public void test_restartSafe_oneWrite ( ) { IAtomicStore store = ( IAtomicStore ) getStore ( ) ; try { assertTrue ( store . isStable ( ) ) ; final Random r = new Random ( ) ; final int len = _NUM ; final byte [ ] expected = new byte [ len ] ; r . nextBytes ( expected ) ; final ByteBuffer tmp = ByteBuffer . wrap ( expec... | 231 |
java-test-8662 | java | When must this or addrollbacktimmytable be called for all tables in database ? | before open | public Timmy Table add Timmy Table ( String filename , int record Size ) throws Sync Failed Exception , IO Exception { if ( is Open ) throw new Illegal State Exception ( STRING ) ; Timmy Table tt = new Timmy Table ( filename , record Size , this ) ; tables . add ( tt ) ; return tt ; } | public TimmyTable addTimmyTable ( String filename , int recordSize ) throws SyncFailedException , IOException { if ( isOpen ) throw new IllegalStateException ( STRING ) ; TimmyTable tt = new TimmyTable ( filename , recordSize , this ) ; tables . add ( tt ) ; return tt ; } | 63 |
java-test-8663 | java | What does the code calculate ? | the empirical variance | @ Override public double variance ( double total Weight , double total Positive Weight , Hypothesis hypo ) { double fp = hypo . get Covered Weight ( ) - hypo . get Positive Weight ( ) ; double tn = total Weight - total Positive Weight - fp ; double correct Predictions = hypo . get Positive Weight ( ) + tn ; double mean... | @ Override public double variance ( double totalWeight , double totalPositiveWeight , Hypothesis hypo ) { double fp = hypo . getCoveredWeight ( ) - hypo . getPositiveWeight ( ) ; double tn = totalWeight - totalPositiveWeight - fp ; double correctPredictions = hypo . getPositiveWeight ( ) + tn ; double mean = correctPre... | 123 |
java-test-8664 | java | What did the code put in the list of shared styles , associated to its styleid ? | the styleselector ( style or stylemap ) | public void put Style ( String style Id , Style Selector style Selector ) { try { int id = Integer . parse Int ( style Id ) ; m Max Style Id = Math . max ( m Max Style Id , id ) ; } catch ( Number Format Exception e ) { } m Styles . put ( style Id , style Selector ) ; } | public void putStyle ( String styleId , StyleSelector styleSelector ) { try { int id = Integer . parseInt ( styleId ) ; mMaxStyleId = Math . max ( mMaxStyleId , id ) ; } catch ( NumberFormatException e ) { } mStyles . put ( styleId , styleSelector ) ; } | 69 |
java-test-8665 | java | Where do button continue ? | in diagnostic frame | public void continue Button Action Performed ( java . awt . event . Action Event e ) { if ( test Running && test Suspended ) { test Suspended = BOOL ; if ( wrap Test ) { status Text 1 . set Text ( STRING ) ; status Text 1 . set Visible ( BOOL ) ; } } } | public void continueButtonActionPerformed ( java . awt . event . ActionEvent e ) { if ( testRunning && testSuspended ) { testSuspended = _BOOL ; if ( wrapTest ) { statusText1 . setText ( STRING ) ; statusText1 . setVisible ( _BOOL ) ; } } } | 61 |
java-test-8666 | java | What is extracts the client name from the client i d ? | client_name | private static String extract Client Name ( String client Id , String host ) { String host Excluded Id = STRING ; if ( ( is I Pv 6 ( host ) || is I Pv 4 ( host ) ) && client Id . starts With ( host ) ) { host Excluded Id = client Id . substring ( host . length ( ) ) ; } else { int first Dot Index = host . index Of ( ST... | private static String extractClientName ( String clientId , String host ) { String hostExcludedId = STRING ; if ( ( isIPv6 ( host ) || isIPv4 ( host ) ) && clientId . startsWith ( host ) ) { hostExcludedId = clientId . substring ( host . length ( ) ) ; } else { int firstDotIndex = host . indexOf ( STRING ) ; if ( first... | 227 |
java-test-8667 | java | What is client_name extracts from the client i d ? | the client name | private static String extract Client Name ( String client Id , String host ) { String host Excluded Id = STRING ; if ( ( is I Pv 6 ( host ) || is I Pv 4 ( host ) ) && client Id . starts With ( host ) ) { host Excluded Id = client Id . substring ( host . length ( ) ) ; } else { int first Dot Index = host . index Of ( ST... | private static String extractClientName ( String clientId , String host ) { String hostExcludedId = STRING ; if ( ( isIPv6 ( host ) || isIPv4 ( host ) ) && clientId . startsWith ( host ) ) { hostExcludedId = clientId . substring ( host . length ( ) ) ; } else { int firstDotIndex = host . indexOf ( STRING ) ; if ( first... | 227 |
java-test-8668 | java | Where does the code execute a query on the queries ? | inside the cld fusion enviroment | public Query execute ( Page Context pc , SQL sql , int maxrows , int fetchsize , Time Span timeout ) throws Page Exception { Stopwatch stopwatch = new Stopwatch ( Stopwatch . UNIT NANO ) ; stopwatch . start ( ) ; String pretty SQL = null ; Selects selects = null ; try { Select Parser parser = new Select Parser ( ) ; se... | public Query execute ( PageContext pc , SQL sql , int maxrows , int fetchsize , TimeSpan timeout ) throws PageException { Stopwatch stopwatch = new Stopwatch ( Stopwatch . UNIT_NANO ) ; stopwatch . start ( ) ; String prettySQL = null ; Selects selects = null ; try { SelectParser parser = new SelectParser ( ) ; selects ... | 413 |
java-test-8669 | java | What does the code execute inside the cld fusion enviroment ? | a query on the queries | public Query execute ( Page Context pc , SQL sql , int maxrows , int fetchsize , Time Span timeout ) throws Page Exception { Stopwatch stopwatch = new Stopwatch ( Stopwatch . UNIT NANO ) ; stopwatch . start ( ) ; String pretty SQL = null ; Selects selects = null ; try { Select Parser parser = new Select Parser ( ) ; se... | public Query execute ( PageContext pc , SQL sql , int maxrows , int fetchsize , TimeSpan timeout ) throws PageException { Stopwatch stopwatch = new Stopwatch ( Stopwatch . UNIT_NANO ) ; stopwatch . start ( ) ; String prettySQL = null ; Selects selects = null ; try { SelectParser parser = new SelectParser ( ) ; selects ... | 413 |
java-test-8670 | java | What does the code construct ? | a name for the connection using the connection type , host , and port | private String create Connection Name ( ) { String Builder name Buffer = new String Builder ( ) ; name Buffer . append ( get Connection Type ( ) ) ; name Buffer . append ( STRING ) ; name Buffer . append ( host ) ; name Buffer . append ( STRING ) ; name Buffer . append ( port ) ; return name Buffer . to String ( ) ; } | private String createConnectionName ( ) { StringBuilder nameBuffer = new StringBuilder ( ) ; nameBuffer . append ( getConnectionType ( ) ) ; nameBuffer . append ( STRING ) ; nameBuffer . append ( _host ) ; nameBuffer . append ( STRING ) ; nameBuffer . append ( _port ) ; return nameBuffer . toString ( ) ; } | 73 |
java-test-8673 | java | For what purpose should we improve this path ? | for our projection | private void draw Hook ( Canvas canvas ) { Path hook Path = new Path ( ) ; double sweep Angle = Math . PI / NUM * NUM ; float y = ( float ) Math . sin ( sweep Angle ) * ( get Big Circle Radius ( ) ) + rect F . height ( ) / NUM ; float x = ( float ) Math . cos ( sweep Angle ) * ( get Big Circle Radius ( ) ) + rect F . w... | private void drawHook ( Canvas canvas ) { Path hookPath = new Path ( ) ; double sweepAngle = Math . PI / _NUM * _NUM ; float y = ( float ) Math . sin ( sweepAngle ) * ( getBigCircleRadius ( ) ) + rectF . height ( ) / _NUM ; float x = ( float ) Math . cos ( sweepAngle ) * ( getBigCircleRadius ( ) ) + rectF . width ( ) /... | 299 |
java-test-8674 | java | What does the code draw ? | a circle of radius r , centered on ( x , y ) | public void circle ( double x , double y , double r ) { if ( r < NUM ) throw new Illegal Argument Exception ( STRING ) ; double xs = scale X ( x ) ; double ys = scale Y ( y ) ; double ws = factor X ( NUM * r ) ; double hs = factor Y ( NUM * r ) ; if ( ws <= NUM && hs <= NUM ) pixel ( x , y ) ; else offscreen . draw ( n... | public void circle ( double x , double y , double r ) { if ( r < _NUM ) throw new IllegalArgumentException ( STRING ) ; double xs = scaleX ( x ) ; double ys = scaleY ( y ) ; double ws = factorX ( _NUM * r ) ; double hs = factorY ( _NUM * r ) ; if ( ws <= _NUM && hs <= _NUM ) pixel ( x , y ) ; else offscreen . draw ( ne... | 121 |
java-test-8677 | java | How does the code restore the selection ? | in terms of the model | private void restore Selection ( Model Change change ) { syncing Selection = BOOL ; if ( last Model Selection != null ) { restore Sorting Selection ( last Model Selection , model Lead Index , change ) ; last Model Selection = null ; } else if ( model Selection != null ) { List Selection Model view Selection = get Selec... | private void restoreSelection ( ModelChange change ) { syncingSelection = _BOOL ; if ( lastModelSelection != null ) { restoreSortingSelection ( lastModelSelection , modelLeadIndex , change ) ; lastModelSelection = null ; } else if ( modelSelection != null ) { ListSelectionModel viewSelection = getSelectionModel ( ) ; v... | 278 |
java-test-8678 | java | When does the battery and memory usage monitor ? | during test | public static void moniter Test ( Context context , int interval , int test Time ) { long start Time = System . current Time Millis ( ) ; while ( ( System . current Time Millis ( ) - start Time ) < test Time ) { String memory Usage String = get My Tracks Pss Memory Info ( context ) ; String battery Usage String = get B... | public static void moniterTest ( Context context , int interval , int testTime ) { long startTime = System . currentTimeMillis ( ) ; while ( ( System . currentTimeMillis ( ) - startTime ) < testTime ) { String memoryUsageString = getMyTracksPssMemoryInfo ( context ) ; String batteryUsageString = getBatteryUsageInfo ( c... | 140 |
java-test-8679 | java | What does the code add terminating a line segment coming from p0 ? | an end cap around point p1 | public void add Line End Cap ( Coordinate p0 , Coordinate p1 ) { Line Segment seg = new Line Segment ( p0 , p1 ) ; Line Segment offset L = new Line Segment ( ) ; compute Offset Segment ( seg , Position . LEFT , distance , offset L ) ; Line Segment offset R = new Line Segment ( ) ; compute Offset Segment ( seg , Positio... | public void addLineEndCap ( Coordinate p0 , Coordinate p1 ) { LineSegment seg = new LineSegment ( p0 , p1 ) ; LineSegment offsetL = new LineSegment ( ) ; computeOffsetSegment ( seg , Position . LEFT , distance , offsetL ) ; LineSegment offsetR = new LineSegment ( ) ; computeOffsetSegment ( seg , Position . RIGHT , dist... | 388 |
java-test-8680 | java | What does the code write ? | a namespace - qualified xml attribute | protected void write Attribute ( String ns Alias , String name , String value ) throws IO Exception { writer . write ( STRING ) ; write Qualified Name ( ns Alias , name ) ; writer . write ( STRING ) ; writer . write ( STRING ) ; if ( value != null ) { writer . write ( String Util . xml Escape ( value ) ) ; } writer . w... | protected void writeAttribute ( String nsAlias , String name , String value ) throws IOException { writer . write ( STRING ) ; writeQualifiedName ( nsAlias , name ) ; writer . write ( STRING ) ; writer . write ( STRING ) ; if ( value != null ) { writer . write ( StringUtil . xmlEscape ( value ) ) ; } writer . write ( S... | 80 |
java-test-8682 | java | What does this not set to be visible or invisible ? | the upper left corner calendar label | private Array List < Calendar Border Properties > z Get Default Border Properties List ( ) { Array List < Calendar Border Properties > results = new Array List < Calendar Border Properties > ( ) ; Color default Date Box Border Color = new Color ( NUM , NUM , NUM ) ; Color default Weekday Endcaps Border Color = color Ba... | private ArrayList < CalendarBorderProperties > zGetDefaultBorderPropertiesList ( ) { ArrayList < CalendarBorderProperties > results = new ArrayList < CalendarBorderProperties > ( ) ; Color defaultDateBoxBorderColor = new Color ( _NUM , _NUM , _NUM ) ; Color defaultWeekdayEndcapsBorderColor = colorBackgroundWeekdayLabel... | 229 |
java-test-8683 | java | What does this not apply to the calendar ? | the border properties list | private Array List < Calendar Border Properties > z Get Default Border Properties List ( ) { Array List < Calendar Border Properties > results = new Array List < Calendar Border Properties > ( ) ; Color default Date Box Border Color = new Color ( NUM , NUM , NUM ) ; Color default Weekday Endcaps Border Color = color Ba... | private ArrayList < CalendarBorderProperties > zGetDefaultBorderPropertiesList ( ) { ArrayList < CalendarBorderProperties > results = new ArrayList < CalendarBorderProperties > ( ) ; Color defaultDateBoxBorderColor = new Color ( _NUM , _NUM , _NUM ) ; Color defaultWeekdayEndcapsBorderColor = colorBackgroundWeekdayLabel... | 229 |
java-test-8684 | java | What are displayed in the calendar ? | the week numbers | private Array List < Calendar Border Properties > z Get Default Border Properties List ( ) { Array List < Calendar Border Properties > results = new Array List < Calendar Border Properties > ( ) ; Color default Date Box Border Color = new Color ( NUM , NUM , NUM ) ; Color default Weekday Endcaps Border Color = color Ba... | private ArrayList < CalendarBorderProperties > zGetDefaultBorderPropertiesList ( ) { ArrayList < CalendarBorderProperties > results = new ArrayList < CalendarBorderProperties > ( ) ; Color defaultDateBoxBorderColor = new Color ( _NUM , _NUM , _NUM ) ; Color defaultWeekdayEndcapsBorderColor = colorBackgroundWeekdayLabel... | 229 |
java-test-8685 | java | What does this not clear ? | the existing borders | private Array List < Calendar Border Properties > z Get Default Border Properties List ( ) { Array List < Calendar Border Properties > results = new Array List < Calendar Border Properties > ( ) ; Color default Date Box Border Color = new Color ( NUM , NUM , NUM ) ; Color default Weekday Endcaps Border Color = color Ba... | private ArrayList < CalendarBorderProperties > zGetDefaultBorderPropertiesList ( ) { ArrayList < CalendarBorderProperties > results = new ArrayList < CalendarBorderProperties > ( ) ; Color defaultDateBoxBorderColor = new Color ( _NUM , _NUM , _NUM ) ; Color defaultWeekdayEndcapsBorderColor = colorBackgroundWeekdayLabel... | 229 |
java-test-8686 | java | Where are the week numbers displayed currently ? | in the calendar | private Array List < Calendar Border Properties > z Get Default Border Properties List ( ) { Array List < Calendar Border Properties > results = new Array List < Calendar Border Properties > ( ) ; Color default Date Box Border Color = new Color ( NUM , NUM , NUM ) ; Color default Weekday Endcaps Border Color = color Ba... | private ArrayList < CalendarBorderProperties > zGetDefaultBorderPropertiesList ( ) { ArrayList < CalendarBorderProperties > results = new ArrayList < CalendarBorderProperties > ( ) ; Color defaultDateBoxBorderColor = new Color ( _NUM , _NUM , _NUM ) ; Color defaultWeekdayEndcapsBorderColor = colorBackgroundWeekdayLabel... | 229 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.