bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWi... | public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWi... | 32,763 |
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWi... | public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWi... | 32,764 |
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWi... | public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWi... | 32,765 |
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWi... | public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWi... | 32,766 |
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWi... | public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWi... | 32,767 |
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWi... | public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWi... | 32,768 |
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWi... | public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWi... | 32,769 |
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWi... | public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWi... | 32,770 |
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWi... | public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { //Graphics g = c.getGraphics(); //CalculatedStyle style = c.getCurrentStyle(); BorderColor border_color = style.getBorderColor(); //int width = (int) bounds.getWi... | 32,771 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final BorderPropertySet border, final Graphics g, final Rectangle bounds, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideStyle == IdentValue.GROO... | 32,772 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 32,773 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 32,774 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 32,775 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 32,776 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 32,777 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 32,778 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 32,779 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 32,780 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 32,781 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 32,782 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 32,783 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 32,784 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 32,785 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 32,786 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 32,787 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 32,788 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 32,789 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 32,790 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 32,791 |
private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | private static void paintBorderSide(final Border border, final Graphics g, final Rectangle bounds, final BorderColor border_color, final int sides, int currentSide, final IdentValue borderSideStyle, int xOffset) { Graphics2D g2 = (Graphics2D) g; if (borderSideStyle == IdentValue.RIDGE || borderSideSty... | 32,792 |
private static void paintGoodBevel(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor high, final BorderColor low, final int sides, int currentSide) { if (currentSide == TOP) { paintSolid(g2, bounds, border, high, sides, currentSide); } else if (currentSide ... | private static void paintGoodBevel(final Graphics2D g2, final Rectangle bounds, final BorderPropertySet border, final BorderPropertySet high, final BorderPropertySet low, final int sides, int currentSide) { if (currentSide == TOP) { paintSolid(g2, bounds, border, high, sides, currentSide); ... | 32,793 |
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); Shape old_clip = ... | private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final BorderPropertySet border, final BorderPropertySet color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); ... | 32,794 |
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); Shape old_clip = ... | private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); Shape old_clip = ... | 32,795 |
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); Shape old_clip = ... | private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); Shape old_clip = ... | 32,796 |
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); Shape old_clip = ... | private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); Shape old_clip = ... | 32,797 |
private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); Shape old_clip = ... | private static void paintPatternedRect(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final float[] pattern, final int sides, final int currentSide, int xOffset) { Polygon clip = getBevelledPolygon(bounds, border, sides, currentSide, true); Shape old_clip = ... | 32,798 |
private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBevelledPolygon(boun... | private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final BorderPropertySet border, final BorderPropertySet bcolor, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBe... | 32,799 |
private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBevelledPolygon(boun... | private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBevelledPolygon(boun... | 32,800 |
private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBevelledPolygon(boun... | private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBevelledPolygon(boun... | 32,801 |
private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBevelledPolygon(boun... | private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBevelledPolygon(boun... | 32,802 |
private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBevelledPolygon(boun... | private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBevelledPolygon(boun... | 32,803 |
private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBevelledPolygon(boun... | private static void paintSolid(final Graphics2D g2, final Rectangle bounds, final Border border, final BorderColor color, final int sides, int currentSide) { //Bug in polygon painting paints an extra pixel to the right and bottom //But clipping works fine! Polygon poly = getBevelledPolygon(boun... | 32,804 |
public static Rectangle shrinkRect(final Rectangle rect, final Border border, int sides) { Rectangle r2 = new Rectangle(); r2.x = rect.x + ((sides & LEFT) == 0 ? 0 : border.left); r2.width = rect.width - ((sides & LEFT) == 0 ? 0 : border.left) - ((sides & RIGHT) == 0 ? 0 : border.right); ... | public static Rectangle shrinkRect(final Rectangle rect, final BorderPropertySet border, int sides) { Rectangle r2 = new Rectangle(); r2.x = rect.x + ((sides & LEFT) == 0 ? 0 : border.left); r2.width = rect.width - ((sides & LEFT) == 0 ? 0 : border.left) - ((sides & RIGHT) == 0 ? 0 : border.rig... | 32,805 |
public static Rectangle shrinkRect(final Rectangle rect, final Border border, int sides) { Rectangle r2 = new Rectangle(); r2.x = rect.x + ((sides & LEFT) == 0 ? 0 : border.left); r2.width = rect.width - ((sides & LEFT) == 0 ? 0 : border.left) - ((sides & RIGHT) == 0 ? 0 : border.right); ... | public static Rectangle shrinkRect(final Rectangle rect, final Border border, int sides) { Rectangle r2 = new Rectangle(); r2.x = rect.x + ((sides & LEFT) == 0 ? 0 : border.left); r2.width = rect.width - ((sides & LEFT) == 0 ? 0 : border.left) - ((sides & RIGHT) == 0 ? 0 : border.right); ... | 32,806 |
public Subject authenticate(String user, String password) throws JMSSecurityException { boolean trace = log.isTraceEnabled(); if (trace) { log.trace("Authenticating, username=" + user); } SimplePrincipal principal = new SimplePrincipal(user); char[] passwordChars =... | public Subject authenticate(String user, String password) throws JMSSecurityException { boolean trace = log.isTraceEnabled(); if (trace) { log.trace("Authenticating, username=" + user); } SimplePrincipal principal = new SimplePrincipal(user); char[] passwordChars =... | 32,807 |
public Subject authenticate(String user, String password) throws JMSSecurityException { boolean trace = log.isTraceEnabled(); if (trace) { log.trace("Authenticating, username=" + user); } SimplePrincipal principal = new SimplePrincipal(user); char[] passwordChars =... | public Subject authenticate(String user, String password) throws JMSSecurityException { boolean trace = log.isTraceEnabled(); if (trace) { log.trace("Authenticating, username=" + user); } SimplePrincipal principal = new SimplePrincipal(user); char[] passwordChars =... | 32,808 |
public boolean authorize(String user, Set rolePrincipals) { if (log.isTraceEnabled()) log.trace( "Checking authorize on user: " + user + " for rolePrincipals " + rolePrincipals.toString()); Principal principal = user == null ? null ... | public boolean authorize(String user, Set rolePrincipals) { if (log.isTraceEnabled()) log.trace( "Checking authorize on user: " + user + " for rolePrincipals " + rolePrincipals.toString()); Principal principal = user == null ? null ... | 32,809 |
public Object handleCreateConnectionDelegate(Invocation invocation) throws Throwable { ConnectionDelegate conn = (ConnectionDelegate)invocation.invokeNext(); ClientStubBase csb = (ClientStubBase)conn; csb.init(); csb.setState(new ConnectionState(conn)); ... | public Object handleCreateConnectionDelegate(Invocation invocation) throws Throwable { ConnectionDelegate conn = (ConnectionDelegate)invocation.invokeNext(); ConnectionStub csb = (ConnectionStub)conn; csb.init(); csb.setState(new ConnectionState(conn)); ... | 32,810 |
public Object handleCreateConnectionDelegate(Invocation invocation) throws Throwable { ConnectionDelegate conn = (ConnectionDelegate)invocation.invokeNext(); ClientStubBase csb = (ClientStubBase)conn; csb.init(); csb.setState(new ConnectionState(conn)); ... | public Object handleCreateConnectionDelegate(Invocation invocation) throws Throwable { ConnectionDelegate conn = (ConnectionDelegate)invocation.invokeNext(); ClientStubBase csb = (ClientStubBase)conn; csb.init(); csb.setState(new ConnectionState(conn, csb.getServerId())); ... | 32,811 |
public CoreDurableSubscription createDurableSubscription(String topicName, String clientID, String subscriptionName, String selector, ... | public CoreDurableSubscription createDurableSubscription(String topicName, String clientID, String subscriptionName, String selector, ... | 32,812 |
public CoreSubscription createSubscription(String topicName, String selector, boolean noLocal, MessageStore ms, PersistenceManager pm) throws JMSException { try { //First insert a row in the db long id = getNextId(); Topic topic = (Topic)getCoreDestinationInternal... | public CoreSubscription createSubscription(String topicName, String selector, boolean noLocal, MessageStore ms, PersistenceManager pm) throws JMSException { try { //First insert a row in the db long id = this.getNextId(); Topic topic = (Topic)getCoreDestinationInt... | 32,813 |
public void deployCoreDestination(boolean isQueue, String destName, MessageStore ms, PersistenceManager pm, int fullSize, int pageSize... | public void deployCoreDestination(boolean isQueue, String destName, MessageStore ms, PersistenceManager pm, int fullSize, int pageSize... | 32,814 |
protected synchronized long getNextId() { //TODO Use IdManager return idCounter++; } | protected long getNextId() throws Exception { //TODO Use IdManager return idCounter++; } | 32,815 |
protected synchronized long getNextId() { //TODO Use IdManager return idCounter++; } | protected synchronized long getNextId() { //TODO Use IdManager long id = this.channelIDManager.getId(); return id; } | 32,816 |
protected void initSqlProperties() { createUserTable = sqlProperties.getProperty("CREATE_USER_TABLE", createUserTable); createRoleTable = sqlProperties.getProperty("CREATE_ROLE_TABLE", createRoleTable); selectPreConfClientId = sqlProperties.getProperty("SELECT_PRECONF_CLIENTID", selectPreConfClientI... | protected void initSqlProperties() { createUserTable = sqlProperties.getProperty("CREATE_USER_TABLE", createUserTable); createRoleTable = sqlProperties.getProperty("CREATE_ROLE_TABLE", createRoleTable); selectPreConfClientId = sqlProperties.getProperty("SELECT_PRECONF_CLIENTID", selectPreConfClientI... | 32,817 |
protected long insertMappingRow(char type, String jmsDestName, String jmsSubName, String clientID, String selector, Boolean noLocal) throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new Tran... | protected void insertMappingRow(long id, char type, String jmsDestName, String jmsSubName, String clientID, String selector, Boolean noLocal) throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap =... | 32,818 |
protected long insertMappingRow(char type, String jmsDestName, String jmsSubName, String clientID, String selector, Boolean noLocal) throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new Tran... | protected long insertMappingRow(char type, String jmsDestName, String jmsSubName, String clientID, String selector, Boolean noLocal) throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new Tran... | 32,819 |
protected long insertMappingRow(char type, String jmsDestName, String jmsSubName, String clientID, String selector, Boolean noLocal) throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new Tran... | protected long insertMappingRow(char type, String jmsDestName, String jmsSubName, String clientID, String selector, Boolean noLocal) throws Exception { Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper wrap = new Tran... | 32,820 |
protected void addRemoveGetReferences(boolean batch) throws Throwable { doSetup(false, 100); Channel channel1 = new SimpleChannel(0, ms); Channel channel2 = new SimpleChannel(1, ms); Message[] m = createMessages(10); MessageReference ref1 = ms.reference(m[0]); ... | protected void addRemoveGetReferences(boolean batch) throws Throwable { doSetup(false, 100); Channel channel1 = new SimpleChannel(0, ms); Channel channel2 = new SimpleChannel(1, ms); Message[] m = createMessages(10); MessageReference ref1 = ms.reference(m[0]); ... | 32,821 |
protected void addRemoveGetReferences(boolean batch) throws Throwable { doSetup(false, 100); Channel channel1 = new SimpleChannel(0, ms); Channel channel2 = new SimpleChannel(1, ms); Message[] m = createMessages(10); MessageReference ref1 = ms.reference(m[0]); ... | protected void addRemoveGetReferences(boolean batch) throws Throwable { doSetup(false, 100); Channel channel1 = new SimpleChannel(0, ms); Channel channel2 = new SimpleChannel(1, ms); Message[] m = createMessages(10); MessageReference ref1 = ms.reference(m[0]); ... | 32,822 |
protected void addRemoveGetReferences(boolean batch) throws Throwable { doSetup(false, 100); Channel channel1 = new SimpleChannel(0, ms); Channel channel2 = new SimpleChannel(1, ms); Message[] m = createMessages(10); MessageReference ref1 = ms.reference(m[0]); ... | protected void addRemoveGetReferences(boolean batch) throws Throwable { doSetup(false, 100); Channel channel1 = new SimpleChannel(0, ms); Channel channel2 = new SimpleChannel(1, ms); Message[] m = createMessages(10); MessageReference ref1 = ms.reference(m[0]); ... | 32,823 |
protected void addRemoveGetReferences(boolean batch) throws Throwable { doSetup(false, 100); Channel channel1 = new SimpleChannel(0, ms); Channel channel2 = new SimpleChannel(1, ms); Message[] m = createMessages(10); MessageReference ref1 = ms.reference(m[0]); ... | protected void addRemoveGetReferences(boolean batch) throws Throwable { doSetup(false, 100); Channel channel1 = new SimpleChannel(0, ms); Channel channel2 = new SimpleChannel(1, ms); Message[] m = createMessages(10); MessageReference ref1 = ms.reference(m[0]); ... | 32,824 |
public void testGetInitialRefInfos() throws Throwable { doSetup(false, 100); Channel channel = new SimpleChannel(0, ms); Message[] m = createMessages(10); List refs = new ArrayList(); MessageReference ref1 = ms.reference(m[0]); MessageReference ref2 = ms.refere... | public void testGetInitialRefInfos() throws Throwable { doSetup(false, 100); Channel channel = new SimpleChannel(0, ms); Message[] m = createMessages(10); List refs = new ArrayList(); MessageReference ref1 = ms.reference(m[0]); MessageReference ref2 = ms.refere... | 32,825 |
public void testPageOrders() throws Throwable { doSetup(false, 100); Channel channel = new SimpleChannel(0, ms); Message[] m = createMessages(10); List refs = new ArrayList(); MessageReference ref1 = ms.reference(m[0]); MessageReference ref2 = ms.reference(m[1]... | public void testPageOrders() throws Throwable { doSetup(false, 100); Channel channel = new SimpleChannel(0, ms); Message[] m = createMessages(10); List refs = new ArrayList(); MessageReference ref1 = ms.reference(m[0]); MessageReference ref2 = ms.reference(m[1]... | 32,826 |
public static void main(String[] args) throws Exception { Toolkit.getDefaultToolkit().setDynamicLayout(true); XHTMLPanel panel = new XHTMLPanel(); Dimension size = new Dimension(200,200); panel.setPreferredSize(size); panel.setDocument(new File("demos/photogallery/... | public static void main(String[] args) throws Exception { Toolkit.getDefaultToolkit().setDynamicLayout(true); XHTMLPanel panel = new XHTMLPanel(); Dimension size = new Dimension(200,200); panel.setPreferredSize(size); panel.setDocument(new File("demos/photogallery/... | 32,827 |
protected String paramString() { return "JPanel"; } | protected String paramString() { return super.paramString(); } | 32,828 |
public void translate(int x, int y) { //Uu.p("trans: " + x + "," + y); getGraphics().translate(x, y);//TODO: is this healthy and thread-safe enough? if (bfc != null) { bfc.translate(x, y); } xoff += x; yoff += y; } | public void translate(int x, int y) { //Uu.p("trans: " + x + "," + y); getGraphics().translate(x, y);//TODO: is this healthy and thread-safe enough? if (bfc != null) { bfc.translate(x, y); } xoff += x; yoff += y; } | 32,829 |
public int capacity() { return elements.size(); } // capacity() | public int capacity() { return elements.size(); } // capacity() | 32,830 |
public void copyInto(Object[] array) { // Variables int index; int size; Object[] srcArray; // Initialize size = size(); srcArray = toArray(); // Process Elements for (index = 0; index < size; index++) { array[index] = srcArray[index]; } // for } // copyInto() | public void copyInto(Object[] array) { // Variables int index; int size; Object[] srcArray; // Initialize size = size(); srcArray = toArray(); // Process Elements for (index = 0; index < size; index++) { array[index] = srcArray[index]; } // for } // copyInto() | 32,831 |
public Object elementAt(int index) { return elements.get(index); } // elementAt() | public Object elementAt(int index) { return elements.get(index); } // elementAt() | 32,832 |
public Enumeration elements() { // TODO // Note: This is a pathetic implementation. If Vector // was used for storage, this wouldn't be an issue. I'll // have to implement an Enumeration inner class sometime. // Variables Vector vector; // Get Enumeration vector = new Vector(elements); return vector.element... | public Enumeration elements() { // TODO // Note: This is a pathetic implementation. If Vector // was used for storage, this wouldn't be an issue. I'll // have to implement an Enumeration inner class sometime. // Variables Vector vector; // Get Enumeration vector = new Vector(elements); return vector.element... | 32,833 |
public Object firstElement() { // Variables Object element; try { element = elements.get(0); return element; } catch (IndexOutOfBoundsException e) { throw new NoSuchElementException(); } // try } // firstElement() | public Object firstElement() { // Variables Object element; try { element = elements.get(0); return element; } catch (IndexOutOfBoundsException e) { throw new NoSuchElementException(); } // try } // firstElement() | 32,834 |
public void insertElementAt(Object element, int index) { // Process Action elements.add(index, element); // Send event fireIntervalRemoved(this, index, index); } // insertElementAt() | public void insertElementAt(Object element, int index) { // Process Action elements.add(index, element); // Send event fireIntervalRemoved(this, index, index); } // insertElementAt() | 32,835 |
public Object lastElement() { // Variables Object element; try { element = elements.get(elements.size() - 1); return element; } catch (ArrayIndexOutOfBoundsException e) { throw new NoSuchElementException(); } // try } // lastElement() | public Object lastElement() { // Variables Object element; try { element = elements.get(elements.size() - 1); return element; } catch (ArrayIndexOutOfBoundsException e) { throw new NoSuchElementException(); } // try } // lastElement() | 32,836 |
public void removeRange(int startIndex, int endIndex) { // Variables int index; // Check Indices if (startIndex > endIndex) { throw new IllegalArgumentException(); } // if // Process Elements for (index = endIndex; index >= startIndex; index--) { elements.remove(index); } // for // Send event fireInterv... | public void removeRange(int startIndex, int endIndex) { // Variables int index; // Check Indices if (startIndex > endIndex) { throw new IllegalArgumentException(); } // if // Process Elements for (index = endIndex; index >= startIndex; index--) { elements.remove(index); } // for // Send event fireInterv... | 32,837 |
public void setElementAt(Object element, int index) { // Process Action elements.set(index, element); // Send event fireContentsChanged(this, index, index); } // setElementAt() | public void setElementAt(Object element, int index) { // Process Action elements.set(index, element); // Send event fireContentsChanged(this, index, index); } // setElementAt() | 32,838 |
public void setSize(int size) { elements.ensureCapacity(size); } // setSize() | public void setSize(int size) { elements.ensureCapacity(size); } // setSize() | 32,839 |
public Name parse (String name) throws NamingException; | Name parse (String name) throws NamingException; | 32,840 |
public Class getCategory() { return Compression.class; } | public final Class getCategory() { return Compression.class; } | 32,842 |
public String getName() { return "compression"; } | public final String getName() { return "compression"; } | 32,843 |
public void addAsfMessage(Message m, String receiverID) { log.warn("addAsfMessage should not be handled at the server endpoint"); } | public void addAsfMessage(Message m, String receiverID, ConsumerDelegate cons) { log.warn("addAsfMessage should not be handled at the server endpoint"); } | 32,844 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 32,845 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 32,846 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 32,847 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 32,848 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 32,849 |
public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(Destination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 32,850 |
public void unsubscribe(String subscriptionName) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (subscriptionName == null) { throw new InvalidDestinationException("Destination is null"); } DurableSubscription subscri... | public void unsubscribe(String subscriptionName) throws JMSException { if (closed) { throw new IllegalStateException("Session is closed"); } if (subscriptionName == null) { throw new InvalidDestinationException("Destination is null"); } DurableSubscription subscri... | 32,851 |
public AccessibleRole getAccessibleRole() { return null; } | public AccessibleRole getAccessibleRole() { return AccessibleRole.SCROLL_BAR; } | 32,853 |
public AccessibleStateSet getAccessibleStateSet() { return null; } | public AccessibleStateSet getAccessibleStateSet() { AccessibleStateSet result = super.getAccessibleStateSet(); if (orientation == JScrollBar.HORIZONTAL) result.add(AccessibleState.HORIZONTAL); else if (orientation == JScrollBar.VERTICAL) result.add(AccessibleState.VERTICAL); return result; } | 32,854 |
public Number getMaximumAccessibleValue() { return null; } | public Number getMaximumAccessibleValue() { return new Integer(getMaximum() - model.getExtent()); } | 32,855 |
protected void chartVariableBenchmark(String bmName, String variableName, String xLabel, String yLabel, String title, String imageFileName) throws Exception { log.info("Charting benchmark:" + bmName); Benchmark bm = pm.getBenchmark(bmName); if (bm == null) { return; } ... | protected void chartVariableBenchmark(String bmName, String variableName, String xLabel, String yLabel, String title, String imageFileName) throws Exception { log.info("Charting benchmark:" + bmName); Benchmark bm = pm.getBenchmark(bmName); if (bm == null) { return; } ... | 32,856 |
protected void doCharts() throws Exception { chartSimpleBenchmark("Queue1", "Date", "Send rate (messages/sec)", "Non transactional, Non-persistent send only of messages to queue", "Queue1.jpg"); chartSimpleBenchmark("Queue2", "Date", "Send rate (messages/sec)", ... | protected void doCharts() throws Exception { chartSimpleBenchmark("Queue1", "Date", "Send rate (messages/sec)", "Non transactional, Non-persistent send only of messages to queue", "Queue1.jpg"); chartSimpleBenchmark("Queue2", "Date", "Send rate (messages/sec)", ... | 32,857 |
protected void doCharts() throws Exception { chartSimpleBenchmark("Queue1", "Date", "Send rate (messages/sec)", "Non transactional, Non-persistent send only of messages to queue", "Queue1.jpg"); chartSimpleBenchmark("Queue2", "Date", "Send rate (messages/sec)", ... | protected void doCharts() throws Exception { chartSimpleBenchmark("Queue1", "Date", "Send rate (messages/sec)", "Non transactional, Non-persistent send only of messages to queue", "Queue1.jpg"); chartSimpleBenchmark("Queue2", "Date", "Send rate (messages/sec)", ... | 32,858 |
protected void doCharts() throws Exception { chartSimpleBenchmark("Queue1", "Date", "Send rate (messages/sec)", "Non transactional, Non-persistent send only of messages to queue", "Queue1.jpg"); chartSimpleBenchmark("Queue2", "Date", "Send rate (messages/sec)", ... | protected void doCharts() throws Exception { chartSimpleBenchmark("Queue1", "Date", "Send rate (messages/sec)", "Non transactional, Non-persistent send only of messages to queue", "Queue1.jpg"); chartSimpleBenchmark("Queue2", "Date", "Send rate (messages/sec)", ... | 32,859 |
protected void installKeyboardActions() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); InputMap ancestorMap = (InputMap)defaults.get("Table.ancestorInputMap"); InputMapUIResource parentInputMap = new InputMapUIResource(); // FIXME: The JDK uses a LazyActionMap for parentActionMap ActionM... | protected void installKeyboardActions() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); InputMap ancestorMap = (InputMap)defaults.get("Table.ancestorInputMap"); InputMapUIResource parentInputMap = new InputMapUIResource(); // FIXME: The JDK uses a LazyActionMap for parentActionMap ActionM... | 32,862 |
protected void installKeyboardActions() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); InputMap ancestorMap = (InputMap)defaults.get("Table.ancestorInputMap"); InputMapUIResource parentInputMap = new InputMapUIResource(); // FIXME: The JDK uses a LazyActionMap for parentActionMap ActionM... | protected void installKeyboardActions() { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); InputMap ancestorMap = (InputMap)defaults.get("Table.ancestorInputMap"); InputMapUIResource parentInputMap = new InputMapUIResource(); // FIXME: The JDK uses a LazyActionMap for parentActionMap ActionM... | 32,863 |
public void setSelectionInterval(int index0, int index1) { if (mode == SINGLE_SELECTION) { sel.removeAllElements(); } sel.addElement(new Range(index0, index1)); } | public void setSelectionInterval(int index0, int index1) { if (mode == SINGLE_SELECTION) { sel.removeAllElements(); } sel.addElement(new Range(index0, index1)); } | 32,864 |
public void setSelectionInterval(int index0, int index1) { if (mode == SINGLE_SELECTION) { sel.removeAllElements(); } sel.addElement(new Range(index0, index1)); } | public void setSelectionInterval(int index0, int index1) { if (mode == SINGLE_SELECTION) { sel.removeAllElements(); } sel.addElement(new Range(index0, index1)); } | 32,865 |
public int getMinSelectionIndex() { if (isSelectionEmpty()) return -1; boolean first = true; int min = -1; for (int i=0;i<sel.size();i++) { Range r = (Range) sel.get(i); if (first) { min = r.i0; first = false; } else { if (r.i0 > min) { min = r.i0; } } } ... | public int getMinSelectionIndex() { if (isSelectionEmpty()) return -1; boolean first = true; int min = -1; for (int i=0;i<sel.size();i++) { Range r = (Range) sel.get(i); if (first) { min = r.i0; first = false; } else { if (r.i0 > min) { min = r.i0; } } } ... | 32,866 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.