bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
void loadTo(EmitterContext ec, Register reg) { AbstractX86Stream os = ec.getStream(); X86RegisterPool pool = ec.getPool(); myAssert(!pool.isFree(reg)); switch (getKind()) { case REGISTER: if (this.reg != reg) { release(ec); os.writeMOV(INTSIZE, reg, this.reg); } break; case LOCAL: os.wr... | void loadTo(EmitterContext ec, Register reg) { AbstractX86Stream os = ec.getStream(); X86RegisterPool pool = ec.getPool(); myAssert(!pool.isFree(reg)); switch (getKind()) { case REGISTER: if (this.reg != reg) { release(ec); os.writeMOV(INTSIZE, reg, this.reg); } break; case LOCAL: os.wr... | 26,399 |
final static void convert(EmitterContext ec, VirtualStack vstack, int fromType, int toType) { final Item v = vstack.pop(fromType); if (v.isConstant()) { vstack.push(createConst(toType, ((FPItem) v).getFPValue())); } else { v.pushToFPU(ec); vstack.fpuS... | final static void convert(EmitterContext ec, VirtualStack vstack, int fromType, int toType) { final Item v = vstack.pop(fromType); if (v.isConstant()) { vstack.push(createConst(toType, getFPValue(v))); } else { v.pushToFPU(ec); vstack.fpuStack.pop(v);... | 26,400 |
final static void convert(EmitterContext ec, VirtualStack vstack, int fromType, int toType) { final Item v = vstack.pop(fromType); if (v.isConstant()) { vstack.push(createConst(toType, ((FPItem) v).getFPValue())); } else { v.pushToFPU(ec); vstack.fpuS... | final static void convert(EmitterContext ec, VirtualStack vstack, int fromType, int toType) { final Item v = vstack.pop(fromType); if (v.isConstant()) { vstack.push(createConst(toType, ((FPItem) v).getFPValue())); } else { v.pushToFPU(ec); vstack.fpuS... | 26,401 |
final static void add(AbstractX86Stream os, EmitterContext ec, VirtualStack vstack, int type) { final Item v2 = vstack.pop(type); final Item v1 = vstack.pop(type); if (v1.isConstant() && v2.isConstant()) { final double fpv1 = ((FPItem) v1).getFPValue(); final do... | final static void add(AbstractX86Stream os, EmitterContext ec, VirtualStack vstack, int type) { final Item v2 = vstack.pop(type); final Item v1 = vstack.pop(type); if (v1.isConstant() && v2.isConstant()) { final double fpv1 = ((FPItem) v1).getFPValue(); final do... | 26,402 |
final static void div(AbstractX86Stream os, EmitterContext ec, VirtualStack vstack, int type) { final Item v2 = vstack.pop(type); final Item v1 = vstack.pop(type); if (v1.isConstant() && v2.isConstant()) { final double fpv1 = ((FPItem) v1).getFPValue(); final do... | final static void div(AbstractX86Stream os, EmitterContext ec, VirtualStack vstack, int type) { final Item v2 = vstack.pop(type); final Item v1 = vstack.pop(type); if (v1.isConstant() && v2.isConstant()) { final double fpv1 = ((FPItem) v1).getFPValue(); final do... | 26,403 |
final static void mul(AbstractX86Stream os, EmitterContext ec, VirtualStack vstack, int type) { final Item v2 = vstack.pop(type); final Item v1 = vstack.pop(type); if (v1.isConstant() && v2.isConstant()) { final double fpv1 = ((FPItem) v1).getFPValue(); final do... | final static void mul(AbstractX86Stream os, EmitterContext ec, VirtualStack vstack, int type) { final Item v2 = vstack.pop(type); final Item v1 = vstack.pop(type); if (v1.isConstant() && v2.isConstant()) { final double fpv1 = ((FPItem) v1).getFPValue(); final do... | 26,404 |
final static void neg(AbstractX86Stream os, EmitterContext ec, VirtualStack vstack, int type) { final Item v = vstack.pop(type); if (v.isConstant()) { final double fpv = ((FPItem) v).getFPValue(); vstack.push(createConst(type, -fpv)); } else { // Prep... | final static void neg(AbstractX86Stream os, EmitterContext ec, VirtualStack vstack, int type) { final Item v = vstack.pop(type); if (v.isConstant()) { final double fpv = getFPValue(v); vstack.push(createConst(type, -fpv)); } else { // Prepare ... | 26,405 |
final static void rem(AbstractX86Stream os, EmitterContext ec, VirtualStack vstack, int type) { final Item v2 = vstack.pop(type); final Item v1 = vstack.pop(type); if (v1.isConstant() && v2.isConstant()) { final double fpv1 = ((FPItem) v1).getFPValue(); final do... | final static void rem(AbstractX86Stream os, EmitterContext ec, VirtualStack vstack, int type) { final Item v2 = vstack.pop(type); final Item v1 = vstack.pop(type); if (v1.isConstant() && v2.isConstant()) { final double fpv1 = ((FPItem) v1).getFPValue(); final do... | 26,406 |
final static void sub(AbstractX86Stream os, EmitterContext ec, VirtualStack vstack, int type) { final Item v2 = vstack.pop(type); final Item v1 = vstack.pop(type); if (v1.isConstant() && v2.isConstant()) { final double fpv1 = ((FPItem) v1).getFPValue(); final do... | final static void sub(AbstractX86Stream os, EmitterContext ec, VirtualStack vstack, int type) { final Item v2 = vstack.pop(type); final Item v1 = vstack.pop(type); if (v1.isConstant() && v2.isConstant()) { final double fpv1 = ((FPItem) v1).getFPValue(); final do... | 26,407 |
final Register getLsbRegister() { assertCondition(kind == Kind.REGISTER, "kind == Kind.REGISTER"); return lsb; } | final Register getLsbRegister() { assertCondition(kind == Kind.REGISTER, "kind == Kind.REGISTER"); return lsb; } | 26,408 |
final Register getMsbRegister() { assertCondition(kind == Kind.REGISTER, "kind == Kind.REGISTER"); return msb; } | final Register getMsbRegister() { assertCondition(kind == Kind.REGISTER, "kind == Kind.REGISTER"); return msb; } | 26,409 |
final void load(EmitterContext ec) { if (kind != Kind.REGISTER) { X86RegisterPool pool = ec.getPool(); Register l = pool.request(JvmType.INT, this); if (l == null) { final VirtualStack vstack = ec.getVStack(); vstack.push(ec); l = ... | final void load(EmitterContext ec) { if (kind != Kind.REGISTER) { X86RegisterPool pool = ec.getPool(); Register l = pool.request(JvmType.INT, this); if (l == null) { final VirtualStack vstack = ec.getVStack(); vstack.push(ec); l = ... | 26,410 |
final void load(EmitterContext ec) { if (kind != Kind.REGISTER) { X86RegisterPool pool = ec.getPool(); Register l = pool.request(JvmType.INT, this); if (l == null) { final VirtualStack vstack = ec.getVStack(); vstack.push(ec); l = ... | final void load(EmitterContext ec) { if (kind != Kind.REGISTER) { X86RegisterPool pool = ec.getPool(); Register l = pool.request(JvmType.INT, this); if (l == null) { final VirtualStack vstack = ec.getVStack(); vstack.push(ec); l = ... | 26,411 |
final void release(EmitterContext ec) { final X86RegisterPool pool = ec.getPool(); switch (getKind()) { case Kind.REGISTER: pool.release(lsb); pool.release(msb); break; case Kind.LOCAL: // nothing to do break; case Kind.CONSTA... | final void release(EmitterContext ec) { final X86RegisterPool pool = ec.getPool(); switch (getKind()) { case Kind.REGISTER: pool.release(lsb); pool.release(msb); break; case Kind.LOCAL: // nothing to do break; case Kind.CONST... | 26,412 |
final void release(EmitterContext ec) { final X86RegisterPool pool = ec.getPool(); switch (getKind()) { case Kind.REGISTER: pool.release(lsb); pool.release(msb); break; case Kind.LOCAL: // nothing to do break; case Kind.CONSTA... | final void release(EmitterContext ec) { final X86RegisterPool pool = ec.getPool(); switch (getKind()) { case Kind.REGISTER: pool.release(lsb); pool.release(msb); break; case Kind.LOCAL: // nothing to do break; case Kind.CONSTA... | 26,413 |
final void release(EmitterContext ec) { final X86RegisterPool pool = ec.getPool(); switch (getKind()) { case Kind.REGISTER: pool.release(lsb); pool.release(msb); break; case Kind.LOCAL: // nothing to do break; case Kind.CONSTA... | final void release(EmitterContext ec) { final X86RegisterPool pool = ec.getPool(); switch (getKind()) { case Kind.REGISTER: pool.release(lsb); pool.release(msb); break; case Kind.LOCAL: // nothing to do break; case Kind.CONSTA... | 26,414 |
final void release(EmitterContext ec) { final X86RegisterPool pool = ec.getPool(); switch (getKind()) { case Kind.REGISTER: pool.release(lsb); pool.release(msb); break; case Kind.LOCAL: // nothing to do break; case Kind.CONSTA... | final void release(EmitterContext ec) { final X86RegisterPool pool = ec.getPool(); switch (getKind()) { case Kind.REGISTER: pool.release(lsb); pool.release(msb); break; case Kind.LOCAL: // nothing to do break; case Kind.CONSTA... | 26,415 |
final void release(EmitterContext ec) { final X86RegisterPool pool = ec.getPool(); switch (getKind()) { case Kind.REGISTER: pool.release(lsb); pool.release(msb); break; case Kind.LOCAL: // nothing to do break; case Kind.CONSTA... | final void release(EmitterContext ec) { final X86RegisterPool pool = ec.getPool(); switch (getKind()) { case Kind.REGISTER: pool.release(lsb); pool.release(msb); break; case Kind.LOCAL: // nothing to do break; case Kind.CONSTA... | 26,416 |
final void release(EmitterContext ec) { final X86RegisterPool pool = ec.getPool(); switch (getKind()) { case Kind.REGISTER: pool.release(lsb); pool.release(msb); break; case Kind.LOCAL: // nothing to do break; case Kind.CONSTA... | final void release(EmitterContext ec) { final X86RegisterPool pool = ec.getPool(); switch (getKind()) { case Kind.REGISTER: pool.release(lsb); pool.release(msb); break; case Kind.LOCAL: // nothing to do break; case Kind.CONSTA... | 26,417 |
public void resolve(AbstractVmClassLoader clc) { if (!resolved) { doResolve(clc); resolved = true; } } | public void resolve(AbstractVmClassLoader clc) { if (!resolved) { doResolve(clc); resolved = true; } } | 26,418 |
public IncompatibleClassChangeError(String s) { super(s); } | public IncompatibleClassChangeError(String s) { super(s); } | 26,419 |
final Register getRegister() { assertCondition(kind == Kind.REGISTER, "Must be register"); return reg; } | final Register getRegister() { assertCondition(kind == Kind.REGISTER, "Must be register"); return reg; } | 26,420 |
public final void invokeJavaMethod(String signature) { os.writeCALL(Register.EAX, context.getVmMethodNativeCodeField() .getOffset()); pushReturnValue(signature); } | public final void invokeJavaMethod(String signature) { os.writeCALL(Register.EAX, context.getVmMethodNativeCodeField() .getOffset()); pushReturnValue(signature); } | 26,421 |
public static final int getArgSlotCount(String signature) { int ofs = 0; final int len = signature.length(); if (signature.charAt(ofs++) != '(') return 0; int count = 0; while (ofs < len) { char ch = signature.charAt(ofs++); switch (ch) { case ')' : return count; case 'B' : // Byte case 'Z' : /... | public static final int getArgSlotCount(String signature) { int ofs = 0; final int len = signature.length(); if (signature.charAt(ofs++) != '(') return 0; int count = 0; while (ofs < len) { char ch = signature.charAt(ofs++); switch (ch) { case ')' : return count; case 'B' : // Byte case 'Z' : /... | 26,422 |
public static final int getArgSlotCount(String signature) { int ofs = 0; final int len = signature.length(); if (signature.charAt(ofs++) != '(') return 0; int count = 0; while (ofs < len) { char ch = signature.charAt(ofs++); switch (ch) { case ')' : return count; case 'B' : // Byte case 'Z' : /... | public static final int getArgSlotCount(String signature) { int ofs = 0; final int len = signature.length(); if (signature.charAt(ofs++) != '(') return 0; int count = 0; while (ofs < len) { char ch = signature.charAt(ofs++); switch (ch) { case ')' : return count; case 'B' : // Byte case 'Z' : /... | 26,423 |
public static final int getArgSlotCount(String signature) { int ofs = 0; final int len = signature.length(); if (signature.charAt(ofs++) != '(') return 0; int count = 0; while (ofs < len) { char ch = signature.charAt(ofs++); switch (ch) { case ')' : return count; case 'B' : // Byte case 'Z' : /... | public static final int getArgSlotCount(String signature) { int ofs = 0; final int len = signature.length(); if (signature.charAt(ofs++) != '(') return 0; int count = 0; while (ofs < len) { char ch = signature.charAt(ofs++); switch (ch) { case ')' : return count; case 'B' : // Byte case 'Z' : /... | 26,424 |
public static final int getArgSlotCount(String signature) { int ofs = 0; final int len = signature.length(); if (signature.charAt(ofs++) != '(') return 0; int count = 0; while (ofs < len) { char ch = signature.charAt(ofs++); switch (ch) { case ')' : return count; case 'B' : // Byte case 'Z' : /... | public static final int getArgSlotCount(String signature) { int ofs = 0; final int len = signature.length(); if (signature.charAt(ofs++) != '(') return 0; int count = 0; while (ofs < len) { char ch = signature.charAt(ofs++); switch (ch) { case ')' : return count; case 'B' : // Byte case 'Z' : /... | 26,425 |
public static final int getArgSlotCount(String signature) { int ofs = 0; final int len = signature.length(); if (signature.charAt(ofs++) != '(') return 0; int count = 0; while (ofs < len) { char ch = signature.charAt(ofs++); switch (ch) { case ')' : return count; case 'B' : // Byte case 'Z' : /... | public static final int getArgSlotCount(String signature) { int ofs = 0; final int len = signature.length(); if (signature.charAt(ofs++) != '(') return 0; int count = 0; while (ofs < len) { char ch = signature.charAt(ofs++); switch (ch) { case ')' : return count; case 'B' : // Byte case 'Z' : /... | 26,426 |
public static final int getArgSlotCount(String signature) { int ofs = 0; final int len = signature.length(); if (signature.charAt(ofs++) != '(') return 0; int count = 0; while (ofs < len) { char ch = signature.charAt(ofs++); switch (ch) { case ')' : return count; case 'B' : // Byte case 'Z' : /... | public static final int getArgSlotCount(String signature) { int ofs = 0; final int len = signature.length(); if (signature.charAt(ofs++) != '(') return 0; int count = 0; while (ofs < len) { char ch = signature.charAt(ofs++); switch (ch) { case ')' : return count; case 'B' : // Byte case 'Z' : /... | 26,427 |
public static final int getArgSlotCount(String signature) { int ofs = 0; final int len = signature.length(); if (signature.charAt(ofs++) != '(') return 0; int count = 0; while (ofs < len) { char ch = signature.charAt(ofs++); switch (ch) { case ')' : return count; case 'B' : // Byte case 'Z' : /... | public static final int getArgSlotCount(String signature) { int ofs = 0; final int len = signature.length(); if (signature.charAt(ofs++) != '(') return 0; int count = 0; while (ofs < len) { char ch = signature.charAt(ofs++); switch (ch) { case ')' : return count; case 'B' : // Byte case 'Z' : /... | 26,428 |
public static final int getArgSlotCount(String signature) { int ofs = 0; final int len = signature.length(); if (signature.charAt(ofs++) != '(') return 0; int count = 0; while (ofs < len) { char ch = signature.charAt(ofs++); switch (ch) { case ')' : return count; case 'B' : // Byte case 'Z' : /... | public static final int getArgSlotCount(String signature) { int ofs = 0; final int len = signature.length(); if (signature.charAt(ofs++) != '(') return 0; int count = 0; while (ofs < len) { char ch = signature.charAt(ofs++); switch (ch) { case ')' : return count; case 'B' : // Byte case 'Z' : /... | 26,429 |
public QName(String namespaceURI, String localPart, String prefix) { if (namespaceURI == null) { namespaceURI = XMLConstants.NULL_NS_URI; } if (localPart == null) { throw new IllegalArgumentException(); } if (prefix == null) { prefix = XMLConstants.DEFAULT_NS_PR... | public QName(String namespaceURI, String localPart) { if (namespaceURI == null) { namespaceURI = XMLConstants.NULL_NS_URI; } if (localPart == null) { throw new IllegalArgumentException(); } if (prefix == null) { prefix = XMLConstants.DEFAULT_NS_PREFIX; } ... | 26,430 |
public QName(String namespaceURI, String localPart, String prefix) { if (namespaceURI == null) { namespaceURI = XMLConstants.NULL_NS_URI; } if (localPart == null) { throw new IllegalArgumentException(); } if (prefix == null) { prefix = XMLConstants.DEFAULT_NS_PR... | public QName(String namespaceURI, String localPart, String prefix) { if (namespaceURI == null) { namespaceURI = XMLConstants.NULL_NS_URI; } if (localPart == null) { throw new IllegalArgumentException(); } if (prefix == null) { prefix = XMLConstants.DEFAULT_NS_PR... | 26,431 |
public MidiUnavailableException(String s) { super(s); } | public MidiUnavailableException() { super(s); } | 26,432 |
public MidiUnavailableException(String s) { super(s); } | public MidiUnavailableException(String s) { super(); } | 26,433 |
public Action get(Object key) { Object result = actionMap.get(key); if (result == null) result = parent.get(key); return (Action) result; } | public Action get(Object key) { Object result = actionMap.get(key); if (result == null) result = parent.get(key); return (Action) result; } | 26,434 |
public TTFTextRenderer(TTFFontData fontData, int fontSize) { this.fontData = fontData; this.fontSize = fontSize; } | public TTFTextRenderer(TTFFontData fontData, int fontSize) { this.fontData = fontData; this.fontSize = fontSize; } | 26,435 |
public void render(Graphics2D g, String text, int x, int y) { try { final GeneralPath gp = new GeneralPath(); gp.moveTo(x, y); final TTFGlyphTable glyphTable = fontData.getGlyphTable(); final TTFCMapTable cmapTable = fontData.getCMapTable(); final TTFHorizontalHeaderTable hheadTable = fontData.getHorizon... | public void render(Graphics2D g, String text, int x, int y) { try { final GeneralPath gp = new GeneralPath(); gp.moveTo(x, y); final TTFGlyphTable glyphTable = fontData.getGlyphTable(); final TTFCMapTable cmapTable = fontData.getCMapTable(); final TTFHorizontalHeaderTable hheadTable = fontData.getHorizon... | 26,436 |
public void render(Graphics2D g, String text, int x, int y) { try { final GeneralPath gp = new GeneralPath(); gp.moveTo(x, y); final TTFGlyphTable glyphTable = fontData.getGlyphTable(); final TTFCMapTable cmapTable = fontData.getCMapTable(); final TTFHorizontalHeaderTable hheadTable = fontData.getHorizon... | public void render(Graphics2D g, String text, int x, int y) { try { final GeneralPath gp = new GeneralPath(); gp.moveTo(x, y); final TTFGlyphTable glyphTable = fontData.getGlyphTable(); final TTFCMapTable cmapTable = fontData.getCMapTable(); final TTFHorizontalHeaderTable hheadTable = fontData.getHorizon... | 26,437 |
public void render(Graphics2D g, String text, int x, int y) { try { final GeneralPath gp = new GeneralPath(); gp.moveTo(x, y); final TTFGlyphTable glyphTable = fontData.getGlyphTable(); final TTFCMapTable cmapTable = fontData.getCMapTable(); final TTFHorizontalHeaderTable hheadTable = fontData.getHorizon... | public void render(Graphics2D g, String text, int x, int y) { try { final GeneralPath gp = new GeneralPath(); gp.moveTo(x, y); final TTFGlyphTable glyphTable = fontData.getGlyphTable(); final TTFCMapTable cmapTable = fontData.getCMapTable(); final TTFHorizontalHeaderTable hheadTable = fontData.getHorizon... | 26,438 |
public void render(Graphics2D g, String text, int x, int y) { try { final GeneralPath gp = new GeneralPath(); gp.moveTo(x, y); final TTFGlyphTable glyphTable = fontData.getGlyphTable(); final TTFCMapTable cmapTable = fontData.getCMapTable(); final TTFHorizontalHeaderTable hheadTable = fontData.getHorizon... | public void render(Graphics2D g, String text, int x, int y) { try { final GeneralPath gp = new GeneralPath(); gp.moveTo(x, y); final TTFGlyphTable glyphTable = fontData.getGlyphTable(); final TTFCMapTable cmapTable = fontData.getCMapTable(); final TTFHorizontalHeaderTable hheadTable = fontData.getHorizon... | 26,439 |
public void render(Graphics2D g, String text, int x, int y) { try { final GeneralPath gp = new GeneralPath(); gp.moveTo(x, y); final TTFGlyphTable glyphTable = fontData.getGlyphTable(); final TTFCMapTable cmapTable = fontData.getCMapTable(); final TTFHorizontalHeaderTable hheadTable = fontData.getHorizon... | public void render(Graphics2D g, String text, int x, int y) { try { final GeneralPath gp = new GeneralPath(); gp.moveTo(x, y); final TTFGlyphTable glyphTable = fontData.getGlyphTable(); final TTFCMapTable cmapTable = fontData.getCMapTable(); final TTFHorizontalHeaderTable hheadTable = fontData.getHorizon... | 26,440 |
public void render(Graphics2D g, String text, int x, int y) { try { final GeneralPath gp = new GeneralPath(); gp.moveTo(x, y); final TTFGlyphTable glyphTable = fontData.getGlyphTable(); final TTFCMapTable cmapTable = fontData.getCMapTable(); final TTFHorizontalHeaderTable hheadTable = fontData.getHorizon... | public void render(Graphics2D g, String text, int x, int y) { try { final GeneralPath gp = new GeneralPath(); gp.moveTo(x, y); final TTFGlyphTable glyphTable = fontData.getGlyphTable(); final TTFCMapTable cmapTable = fontData.getCMapTable(); final TTFHorizontalHeaderTable hheadTable = fontData.getHorizon... | 26,441 |
public void render(Graphics2D g, String text, int x, int y); | public void render(Graphics2D g, String text, int x, int y); | 26,442 |
public void append(PathIterator iter, boolean connect) { // A bad implementation of this method had caused Classpath bug #6076. float[] f = new float[6]; while (! iter.isDone()) { switch (iter.currentSegment(f)) { case PathIterator.SEG_MOVETO: if (! connect || (index == 0)) { ... | public void append(Shape s, boolean connect) { // A bad implementation of this method had caused Classpath bug #6076. float[] f = new float[6]; while (! iter.isDone()) { switch (iter.currentSegment(f)) { case PathIterator.SEG_MOVETO: if (! connect || (index == 0)) { moveTo(... | 26,443 |
public void append(PathIterator iter, boolean connect) { // A bad implementation of this method had caused Classpath bug #6076. float[] f = new float[6]; while (! iter.isDone()) { switch (iter.currentSegment(f)) { case PathIterator.SEG_MOVETO: if (! connect || (index == 0)) { ... | public void append(PathIterator iter, boolean connect) { // A bad implementation of this method had caused Classpath bug #6076. float[] f = new float[6]; while (! iter.isDone()) { switch (iter.currentSegment(f)) { case PathIterator.SEG_MOVETO: if (! connect || (index == 0)) { ... | 26,444 |
protected void paintButtonNormal(Graphics g, Rectangle area, JComponent b) { if (((AbstractButton)b).isContentAreaFilled()) { g.setColor(b.getBackground()); g.fillRect(area.x, area.y, area.width, area.height); } } | protected void paintButtonNormal(Graphics g, Rectangle area, JComponent b) { if (((AbstractButton)b).isContentAreaFilled() && b.isOpaque()) { g.setColor(b.getBackground()); g.fillRect(area.x, area.y, area.width, area.height); } } | 26,445 |
protected void paintIcon(Graphics g, JComponent c, Rectangle iconRect) { AbstractButton b = (AbstractButton) c; Icon i = currentIcon(b); if (i != null) { int x = iconRect.x; int y = iconRect.y; i.paintIcon(c, g, x, y); } } | protected void paintIcon(Graphics g, JComponent c, Rectangle iconRect) { AbstractButton b = (AbstractButton) c; Icon i = currentIcon(b); if (i != null) { int x = iconRect.x; int y = iconRect.y; i.paintIcon(c, g, x, y); } } | 26,446 |
protected void paintText(Graphics g, JComponent c, Rectangle textRect, String text) { Font f = c.getFont(); g.setFont(f); FontMetrics fm = g.getFontMetrics(f); g.setColor(c.getForeground()); BasicGraphicsUtils.drawString(g, text, 0, textRect... | protected void paintText(Graphics g, JComponent c, Rectangle textRect, String text) { Font f = c.getFont(); g.setFont(f); FontMetrics fm = g.getFontMetrics(f); g.setColor(c.getForeground()); BasicGraphicsUtils.drawString(g, text, 0, textRect... | 26,447 |
public IllegalMonitorStateException() { super(); } | public IllegalMonitorStateException() { super(); } | 26,449 |
public static TypeCode type() { if (typeCode == null) { String[] members = new String[] { "SET_OVERRIDE" ,"ADD_OVERRIDE" }; typeCode = Restricted_ORB.Singleton.create_enum_tc(id(), "SetOverrideType", ... | public static TypeCode type() { if (typeCode == null) { String[] members = new String[] { "SET_OVERRIDE" ,"ADD_OVERRIDE" }; typeCode = OrbRestricted.Singleton.create_enum_tc(id(), "SetOverrideType", ... | 26,450 |
public abstract void beginValidate(); | public abstract void beginValidate(); | 26,451 |
public abstract void endValidate(); | public abstract void endValidate(); | 26,452 |
public abstract Insets getInsets(); | public abstract Insets getInsets(); | 26,453 |
public abstract Insets insets(); | public abstract Insets insets(); | 26,454 |
public static Integer valueOf(int val) { if (val < MIN_CACHE || val > MAX_CACHE) return new Integer(val); synchronized (intCache) { if (intCache[val - MIN_CACHE] == null) intCache[val - MIN_CACHE] = new Integer(val); return intCache[val - MIN_CACHE]; } } | public static Integer valueOf(String s, int radix) { if (val < MIN_CACHE || val > MAX_CACHE) return new Integer(val); synchronized (intCache) { if (intCache[val - MIN_CACHE] == null) intCache[val - MIN_CACHE] = new Integer(val); return intCache[val - MIN_CACHE]; } } | 26,456 |
public static Integer valueOf(int val) { if (val < MIN_CACHE || val > MAX_CACHE) return new Integer(val); synchronized (intCache) { if (intCache[val - MIN_CACHE] == null) intCache[val - MIN_CACHE] = new Integer(val); return intCache[val - MIN_CACHE]; } } | public static Integer valueOf(int val) { if (val < MIN_CACHE || val > MAX_CACHE) return new Integer(val); synchronized (intCache) { if (intCache[val - MIN_CACHE] == null) intCache[val - MIN_CACHE] = new Integer(val); return intCache[val - MIN_CACHE]; } } | 26,457 |
public Set<Map.Entry<K, V>> entrySet() { if (entries == null) { // Create an AbstractSet with custom implementations of those methods // that can be overridden easily and efficiently. Set<Map.Entry<K, V>> r = new AbstractSet<Map.Entry<K, V>>() { public int size() ... | public Set<Map.Entry<K, V>> entrySet() { if (entries == null) { // Create an AbstractSet with custom implementations of those methods // that can be overridden easily and efficiently. Set<Map.Entry<K, V>> r = new AbstractSet<Map.Entry<K, V>>() { public int size() ... | 26,458 |
public synchronized <S> S[] toArray(S[] a) { if (a.length < elementCount) a = (S[]) Array.newInstance(a.getClass().getComponentType(), elementCount); else if (a.length > elementCount) a[elementCount] = null; System.arraycopy(elementData, 0, a, 0, elementCount); return a; } | public synchronized Object[] toArray() { if (a.length < elementCount) a = (S[]) Array.newInstance(a.getClass().getComponentType(), elementCount); else if (a.length > elementCount) a[elementCount] = null; System.arraycopy(elementData, 0, a, 0, elementCount); return a; } | 26,459 |
public synchronized <S> S[] toArray(S[] a) { if (a.length < elementCount) a = (S[]) Array.newInstance(a.getClass().getComponentType(), elementCount); else if (a.length > elementCount) a[elementCount] = null; System.arraycopy(elementData, 0, a, 0, elementCount); return a; } | public synchronized <S> S[] toArray(S[] a) { if (a.length < elementCount) a = (S[]) Array.newInstance(a.getClass().getComponentType(), elementCount); else if (a.length > elementCount) a[elementCount] = null; System.arraycopy(elementData, 0, a, 0, elementCount); return a; } | 26,460 |
public static TypeCode type() { if (typeCode == null) { String[] members = new String[] { "dk_none", "dk_all", "dk_Attribute", "dk_Constant", "dk_Exception", "dk_Interface", "dk_Module", "dk_Operation", "dk_Typedef", "dk_Alias", "dk_Struct", "dk_Union... | public static TypeCode type() { if (typeCode == null) { String[] members = new String[] { "dk_none", "dk_all", "dk_Attribute", "dk_Constant", "dk_Exception", "dk_Interface", "dk_Module", "dk_Operation", "dk_Typedef", "dk_Alias", "dk_Struct", "dk_Union... | 26,461 |
public void addRow(Vector rowData) { dataVector.add(rowData); newRowsAdded(new TableModelEvent( this, dataVector.size(), dataVector.size(), -1, TableModelEvent.INSERT) ); } | public void addRow(Vector rowData) { dataVector.add(rowData); newRowsAdded(new TableModelEvent( this, rowIndex, rowIndex, -1, TableModelEvent.INSERT) ); } | 26,462 |
public void moveRow(int startIndex, int endIndex, int toIndex) { Vector removed = new Vector(); for (int i = endIndex; i >= startIndex; i--) { removed.add(this.dataVector.remove(i)); } for (int i = 0; i <= endIndex - startIndex; i++) { dataVector.insertElementAt(removed.get(i), toIndex); ... | public void moveRow(int startIndex, int endIndex, int toIndex) { Vector removed = new Vector(); for (int i = endIndex; i >= startIndex; i--) { removed.add(this.dataVector.remove(i)); } for (int i = 0; i <= endIndex - startIndex; i++) { dataVector.insertElementAt(removed.get(i), toIndex); ... | 26,464 |
public void setColumnCount(int columnCount) { for (int i = 0; i < dataVector.size(); ++i) { ((Vector) dataVector.get(i)).setSize(columnCount); } if (columnIdentifiers != null) columnIdentifiers.setSize(columnCount); fireTableDataChanged(); } | public void setColumnCount(int columnCount) { for (int i = 0; i < dataVector.size(); ++i) { ((Vector) dataVector.get(i)).setSize(columnCount); } if (columnIdentifiers != null) columnIdentifiers.setSize(columnCount); fireTableStructureChanged(); } | 26,465 |
public void setDataVector(Vector data, Vector columnNames) { dataVector = data; columnIdentifiers = columnNames; for (int r = 0; r < data.size(); r++) { ((Vector) dataVector.get(r)).setSize(columnNames.size()); } } | public void setDataVector(Vector data, Vector columnNames) { dataVector = data; columnIdentifiers = columnNames; for (int r = 0; r < data.size(); r++) { ((Vector) dataVector.get(r)).setSize(columnNames.size()); } } | 26,466 |
public TableModelEvent(TableModel source, int firstRow, int lastRow, int column, int type) { super(source); this.firstRow = firstRow; this.lastRow = lastRow; this.column = column; this.type = type; } | public TableModelEvent(TableModel source) { super(source); this.firstRow = firstRow; this.lastRow = lastRow; this.column = column; this.type = type; } | 26,467 |
public TableModelEvent(TableModel source, int firstRow, int lastRow, int column, int type) { super(source); this.firstRow = firstRow; this.lastRow = lastRow; this.column = column; this.type = type; } | public TableModelEvent(TableModel source, int firstRow, int lastRow, int column, int type) { super(source); this.firstRow = firstRow; this.lastRow = lastRow; this.column = column; this.type = type; } | 26,468 |
public boolean isCS_sRGB() { return false; } | public boolean isCS_sRGB() { return type == CS_sRGB; } | 26,470 |
protected UnicastRemoteObject() throws RemoteException { this(0);} | protected UnicastRemoteObject() throws RemoteException { this(0);} | 26,471 |
protected UnicastRemoteObject() throws RemoteException { this(0);} | protected UnicastRemoteObject() throws RemoteException { this(0);} | 26,472 |
public Object clone() throws CloneNotSupportedException { throw new Error("Not implemented");} | public Object clone() throws CloneNotSupportedException { throw new Error("Not implemented");} | 26,473 |
public Object clone() throws CloneNotSupportedException { throw new Error("Not implemented");} | public Object clone() throws CloneNotSupportedException { throw new Error("Not implemented");} | 26,474 |
public static RemoteStub exportObject(Remote obj) throws RemoteException { UnicastServerRef sref = (UnicastServerRef)((RemoteObject)obj).getRef(); return (sref.exportObject(obj));} | public static RemoteStub exportObject(Remote obj) throws RemoteException { UnicastServerRef sref = (UnicastServerRef)((RemoteObject)obj).getRef(); return (sref.exportObject(obj));} | 26,475 |
public static boolean unexportObject(Remote obj, boolean force) throws NoSuchObjectException { if (obj instanceof RemoteObject) { deleteStub(obj); UnicastServerRef sref = (UnicastServerRef)((RemoteObject)obj).getRef(); return sref.unexportObject(obj, force); } else { //FIX ME ; ... | public static boolean unexportObject(Remote obj, boolean force) throws NoSuchObjectException { if (obj instanceof RemoteObject) { deleteStub(obj); UnicastServerRef sref = (UnicastServerRef)((RemoteObject)obj).getRef(); return sref.unexportObject(obj, force); } else { //FIX ME ; ... | 26,476 |
public static boolean unexportObject(Remote obj, boolean force) throws NoSuchObjectException { if (obj instanceof RemoteObject) { deleteStub(obj); UnicastServerRef sref = (UnicastServerRef)((RemoteObject)obj).getRef(); return sref.unexportObject(obj, force); } else { //FIX ME ; ... | public static boolean unexportObject(Remote obj, boolean force) throws NoSuchObjectException { if (obj instanceof RemoteObject) { deleteStub(obj); UnicastServerRef sref = (UnicastServerRef)((RemoteObject)obj).getRef(); return sref.unexportObject(obj, force); } else { //FIX ME ; ... | 26,477 |
protected RemoteServer(RemoteRef ref) { super(ref);} | protected RemoteServer(RemoteRef ref) { super(ref);} | 26,478 |
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | 26,480 |
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | 26,481 |
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | 26,482 |
public ColorUIResource(Color c) { super(c.getRGB()); } | public ColorUIResource(int r, int g, int b) { super(c.getRGB()); } | 26,483 |
public ColorUIResource(Color c) { super(c.getRGB()); } | public ColorUIResource(Color c) { super(r, g, b); } | 26,484 |
protected void addImpl(Component comp, Object constraints, int index) { super.addImpl(comp, constraints, index); } | protected void addImpl(Component comp, Object constraints, int index) { super.addImpl(comp, constraints, index); } | 26,485 |
public JRootPane createRootPane() { return new JRootPane(); } | public JRootPane createRootPane() { return new JRootPane(); } | 26,486 |
public Container getContentPane() { return getRootPane().getContentPane(); } | public Container getContentPane() { return getRootPane().getContentPane(); } | 26,487 |
public int getDefaultCloseOperation() { return close_action; } | public int getDefaultCloseOperation() { return close_action; } | 26,488 |
public Component getGlassPane() { return getRootPane().getGlassPane(); } | public Component getGlassPane() { return getRootPane().getGlassPane(); } | 26,489 |
public JMenuBar getJMenuBar() { return getRootPane().getJMenuBar(); } | public JMenuBar getJMenuBar() { return getRootPane().getJMenuBar(); } | 26,490 |
public JLayeredPane getLayeredPane() { return getRootPane().getLayeredPane(); } | public JLayeredPane getLayeredPane() { return getRootPane().getLayeredPane(); } | 26,491 |
public Dimension getPreferredSize() { Dimension d = super.getPreferredSize(); return d; } | public Dimension getPreferredSize() { Dimension d = super.getPreferredSize(); return d; } | 26,492 |
protected boolean isRootPaneCheckingEnabled() { return checking; } | protected boolean isRootPaneCheckingEnabled() { return checking; } | 26,493 |
protected String paramString() { return "JFrame"; } | protected String paramString() { return "JFrame"; } | 26,494 |
protected void processKeyEvent(KeyEvent e) { super.processKeyEvent(e); } | protected void processKeyEvent(KeyEvent e) { super.processKeyEvent(e); } | 26,495 |
protected void processWindowEvent(WindowEvent e) { super.processWindowEvent(e); switch (e.getID()) { case WindowEvent.WINDOW_CLOSING: { switch(close_action) { case EXIT_ON_CLOSE: { System.exit(0); break; } case DISPOSE_ON_CLOSE: { dispose(); break; } ca... | protected void processWindowEvent(WindowEvent e) { super.processWindowEvent(e); switch (e.getID()) { case WindowEvent.WINDOW_CLOSING: { switch(close_action) { case EXIT_ON_CLOSE: { System.exit(0); break; } case DISPOSE_ON_CLOSE: { dispose(); break; } ca... | 26,496 |
protected void processWindowEvent(WindowEvent e) { super.processWindowEvent(e); switch (e.getID()) { case WindowEvent.WINDOW_CLOSING: { switch(close_action) { case EXIT_ON_CLOSE: { System.exit(0); break; } case DISPOSE_ON_CLOSE: { dispose(); break; } ca... | protectedvoidprocessWindowEvent(WindowEvente){ super.processWindowEvent(e); switch(e.getID()) { caseWindowEvent.WINDOW_CLOSING: { switch(close_action) { caseEXIT_ON_CLOSE: { System.exit(0); break; } caseDISPOSE_ON_CLOSE: { dispose(); break; } caseHIDE_ON_CLOSE: { setVisible(false); ... | 26,497 |
public void remove(Component comp) { getContentPane().remove(comp); } | public void remove(Component comp) { getContentPane().remove(comp); } | 26,498 |
public void setContentPane(Container contentPane) { getRootPane().setContentPane(contentPane); } | public void setContentPane(Container contentPane) { getRootPane().setContentPane(contentPane); } | 26,499 |
public static void setDefaultLookAndFeelDecorated(boolean d) { defaultLookAndFeelDecorated = d; } | public static void setDefaultLookAndFeelDecorated(boolean decorated) { defaultLookAndFeelDecorated = d; } | 26,500 |
public static void setDefaultLookAndFeelDecorated(boolean d) { defaultLookAndFeelDecorated = d; } | public static void setDefaultLookAndFeelDecorated(boolean d) { defaultLookAndFeelDecorated = decorated; } | 26,501 |
public void setGlassPane(Component glassPane) { getRootPane().setGlassPane(glassPane); } | public void setGlassPane(Component glassPane) { getRootPane().setGlassPane(glassPane); } | 26,502 |
public void setJMenuBar(JMenuBar menubar) { getRootPane().setJMenuBar(menubar); } | public void setJMenuBar(JMenuBar menubar) { getRootPane().setJMenuBar(menubar); } | 26,503 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.