bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public final void visit_anewarray(VmConstClass classRef) { final IntItem cnt = vstack.popInt(); // Load the count value cnt.load(eContext); final Register cntr = cnt.getRegister(); // Request tmp register final Register classr = requestRegister(JvmType.INT); writeRes...
public final void visit_anewarray(VmConstClass classRef) { final IntItem cnt = vstack.popInt(); // Load the count value cnt.load(eContext); final Register cntr = cnt.getRegister(); // Request tmp register final Register classr = requestRegister(JvmType.INT); writeRes...
16,534
public final void visit_anewarray(VmConstClass classRef) { final IntItem cnt = vstack.popInt(); // Load the count value cnt.load(eContext); final Register cntr = cnt.getRegister(); // Request tmp register final Register classr = requestRegister(JvmType.INT); writeRes...
public final void visit_anewarray(VmConstClass classRef) { final IntItem cnt = vstack.popInt(); // Load the count value cnt.load(eContext); final Register cntr = cnt.getRegister(); // Request tmp register final Register classr = requestRegister(JvmType.INT); writeRes...
16,535
public final void visit_arraylength() { final RefItem ref = vstack.popRef(); ref.load(eContext); final Register r = ref.getRegister(); os.writeMOV(INTSIZE, r, r, VmArray.LENGTH_OFFSET * slotSize); final IntItem i = IntItem.createReg(r); eContext.getPool().transferOwnerTo(r,...
public final void visit_arraylength() { final RefItem ref = vstack.popRef(); ref.load(eContext); final Register r = ref.getRegister(); os.writeMOV(INTSIZE, r, r, arrayLengthOffset); final IntItem i = IntItem.createReg(r); eContext.getPool().transferOwnerTo(r, i); vst...
16,536
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference requestRegister(EAX); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); // Resolve the cl...
16,537
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
16,538
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
16,539
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
16,540
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
16,541
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
16,542
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
16,543
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
16,544
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
16,545
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
public final void visit_checkcast(VmConstClass classRef) { // check that top item is a reference final RefItem ref = vstack.popRef(); // Load the ref ref.load(eContext); final Register refr = ref.getRegister(); final Register classr = requestRegister(JvmType.INT); //...
16,546
public final void visit_daload() { visit_dwaload(JvmType.DOUBLE); }
public final void visit_daload() { visit_dwaload(JvmType.DOUBLE); }
16,547
public final void visit_dup2() { final Item v1 = vstack.pop(); v1.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); if (v1.getCategory() == 1) { // form1 final Item v2 = vstack.pop(); v2.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); as...
public final void visit_dup2() { final Item v1 = vstack.pop(); v1.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); if (v1.getCategory() == 1) { // form1 final Item v2 = vstack.pop(); v2.loadIf(eContext, Item.Kind.STACK | Item.Kind.FPUSTACK); as...
16,548
private final void visit_dwastore(int type) { final DoubleWordItem val = (DoubleWordItem) vstack.pop(type); final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); val.load(eContext); idx.load(eContext); ref.load(eContext); final Register idxr = idx...
private final void visit_dwastore(int type) { final DoubleWordItem val = (DoubleWordItem) vstack.pop(type); final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); val.load(eContext); idx.load(eContext); ref.load(eContext); final Register idxr = idx...
16,549
private final void visit_dwastore(int type) { final DoubleWordItem val = (DoubleWordItem) vstack.pop(type); final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); val.load(eContext); idx.load(eContext); ref.load(eContext); final Register idxr = idx...
private final void visit_dwastore(int type) { final DoubleWordItem val = (DoubleWordItem) vstack.pop(type); final IntItem idx = vstack.popInt(); final RefItem ref = vstack.popRef(); val.load(eContext); idx.load(eContext); ref.load(eContext); final Register idxr = idx...
16,550
public final void visit_faload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); // flush vstack onto operand stack because result // is also on stack vstack.push(eContext); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final R...
public final void visit_faload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); // flush vstack onto operand stack because result // is also on stack vstack.push(eContext); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final R...
16,551
public final void visit_faload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); // flush vstack onto operand stack because result // is also on stack vstack.push(eContext); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final R...
public final void visit_faload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); // flush vstack onto operand stack because result // is also on stack idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register refr = ref.getRegister(); idx...
16,552
public final void visit_faload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); // flush vstack onto operand stack because result // is also on stack vstack.push(eContext); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final R...
public final void visit_faload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); // flush vstack onto operand stack because result // is also on stack vstack.push(eContext); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final R...
16,553
public final void visit_faload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); // flush vstack onto operand stack because result // is also on stack vstack.push(eContext); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final R...
public final void visit_faload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); // flush vstack onto operand stack because result // is also on stack vstack.push(eContext); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final R...
16,554
public final void visit_faload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); // flush vstack onto operand stack because result // is also on stack vstack.push(eContext); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final R...
public final void visit_faload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); // flush vstack onto operand stack because result // is also on stack vstack.push(eContext); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final R...
16,555
public final void visit_i2d() { //TODO: port to orp-style vstack.push(eContext); IntItem v = vstack.popInt(); v.release1(eContext); vstack.push1(DoubleItem.createStack()); os.writeFILD32(SP, 0); os.writeLEA(SP, SP, -4); os.writeFSTP64(SP, 0); }
public final void visit_i2d() { //TODO: port to orp-style vstack.push(eContext); IntItem v = vstack.popInt(); v.release1(eContext); vstack.push1(DoubleItem.createStack()); os.writeFILD32(SP, 0); os.writeLEA(SP, SP, -4); os.writeFSTP64(SP, 0); }
16,556
public final void visit_i2f() { //TODO: port to orp-style vstack.push(eContext); IntItem v = vstack.popInt(); v.release1(eContext); vstack.push1(FloatItem.createStack()); os.writeFILD32(SP, 0); os.writeFSTP32(SP, 0); }
public final void visit_i2f() { //TODO: port to orp-style vstack.push(eContext); IntItem v = vstack.popInt(); v.release1(eContext); vstack.push1(FloatItem.createStack()); os.writeFILD32(SP, 0); os.writeFSTP32(SP, 0); }
16,557
public final void visit_i2l() { final IntItem v = vstack.popInt(); if (v.getKind() == Item.Kind.CONSTANT) { vstack.push(LongItem.createConst(v.getValue())); } else { final X86RegisterPool pool = eContext.getPool(); requestRegister(EAX, v); v.loadTo(eC...
public final void visit_i2l() { final IntItem v = vstack.popInt(); if (v.getKind() == Item.Kind.CONSTANT) { vstack.push(LongItem.createConst(v.getValue())); } else { final X86RegisterPool pool = eContext.getPool(); requestRegister(EAX, v); v.loadTo(eC...
16,558
public final void visit_i2l() { final IntItem v = vstack.popInt(); if (v.getKind() == Item.Kind.CONSTANT) { vstack.push(LongItem.createConst(v.getValue())); } else { final X86RegisterPool pool = eContext.getPool(); requestRegister(EAX, v); v.loadTo(eC...
public final void visit_i2l() { final IntItem v = vstack.popInt(); if (v.getKind() == Item.Kind.CONSTANT) { vstack.push(LongItem.createConst(v.getValue())); } else { final X86RegisterPool pool = eContext.getPool(); requestRegister(EAX, v); v.loadTo(eC...
16,559
public final void visit_i2l() { final IntItem v = vstack.popInt(); if (v.getKind() == Item.Kind.CONSTANT) { vstack.push(LongItem.createConst(v.getValue())); } else { final X86RegisterPool pool = eContext.getPool(); requestRegister(EAX, v); v.loadTo(eC...
public final void visit_i2l() { final IntItem v = vstack.popInt(); if (v.getKind() == Item.Kind.CONSTANT) { vstack.push(LongItem.createConst(v.getValue())); } else { final X86RegisterPool pool = eContext.getPool(); requestRegister(EAX, v); v.loadTo(eC...
16,560
public final void visit_iaload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { ...
public final void visit_iaload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { ...
16,561
public final void visit_iaload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { ...
public final void visit_iaload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { ...
16,562
public final void visit_iaload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { ...
public final void visit_iaload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { ...
16,563
public final void visit_iaload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { ...
public final void visit_iaload() { IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegister(); checkBounds(ref, idx); if (idx.getKind() == Item.Kind.CONSTANT) { ...
16,564
public final void visit_iastore() { IntItem val = vstack.popInt(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); val.loadIf(eContext, ~Item.Kind.CONSTANT); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegist...
public final void visit_iastore() { IntItem val = vstack.popInt(); IntItem idx = vstack.popInt(); RefItem ref = vstack.popRef(); val.loadIf(eContext, ~Item.Kind.CONSTANT); idx.loadIf(eContext, ~Item.Kind.CONSTANT); ref.load(eContext); final Register r = ref.getRegist...
16,565
public void visit_inlinedReturn() { if (debug) { BootLog.debug("inlinedReturn"); } vstack.push(eContext); os.writeJMP(endOfInlineLabel); }
public void visit_inlinedReturn() { if (debug) { BootLog.debug("inlinedReturn"); } vstack.push(eContext); os.writeJMP(endOfInlineLabel); }
16,566
public final void visit_instanceof(VmConstClass classRef) { // Load reference final RefItem ref = vstack.popRef(); ref.load(eContext); final Register refr = ref.getRegister(); // Allocate tmp register final Register classr = requestRegister(JvmType.INT); /* Objectref...
public final void visit_instanceof(VmConstClass classRef) { // Load reference final RefItem ref = vstack.popRef(); ref.load(eContext); final Register refr = ref.getRegister(); // Allocate tmp register final Register classr = requestRegister(JvmType.INT); /* Objectref...
16,567
public final void visit_instanceof(VmConstClass classRef) { // Load reference final RefItem ref = vstack.popRef(); ref.load(eContext); final Register refr = ref.getRegister(); // Allocate tmp register final Register classr = requestRegister(JvmType.INT); /* Objectref...
public final void visit_instanceof(VmConstClass classRef) { // Load reference final RefItem ref = vstack.popRef(); ref.load(eContext); final Register refr = ref.getRegister(); // Allocate tmp register final RefItem ref = vstack.popRef(); ref.load(eContext); final Register r...
16,568
public final void visit_instanceof(VmConstClass classRef) { // Load reference final RefItem ref = vstack.popRef(); ref.load(eContext); final Register refr = ref.getRegister(); // Allocate tmp register final Register classr = requestRegister(JvmType.INT); /* Objectref...
public final void visit_instanceof(VmConstClass classRef) { // Load reference final RefItem ref = vstack.popRef(); ref.load(eContext); final Register refr = ref.getRegister(); // Allocate tmp register final Register classr = requestRegister(JvmType.INT); /* Objectref...
16,569
public final void visit_instanceof(VmConstClass classRef) { // Load reference final RefItem ref = vstack.popRef(); ref.load(eContext); final Register refr = ref.getRegister(); // Allocate tmp register final Register classr = requestRegister(JvmType.INT); /* Objectref...
public final void visit_instanceof(VmConstClass classRef) { // Load reference final RefItem ref = vstack.popRef(); ref.load(eContext); final Register refr = ref.getRegister(); // Allocate tmp register final Register classr = requestRegister(JvmType.INT); /* Objectref...
16,570
public final void visit_instanceof(VmConstClass classRef) { // Load reference final RefItem ref = vstack.popRef(); ref.load(eContext); final Register refr = ref.getRegister(); // Allocate tmp register final Register classr = requestRegister(JvmType.INT); /* Objectref...
public final void visit_instanceof(VmConstClass classRef) { // Load reference final RefItem ref = vstack.popRef(); ref.load(eContext); final Register refr = ref.getRegister(); // Allocate tmp register final Register classr = requestRegister(JvmType.INT); /* Objectref...
16,571
public final void visit_instanceof(VmConstClass classRef) { // Load reference final RefItem ref = vstack.popRef(); ref.load(eContext); final Register refr = ref.getRegister(); // Allocate tmp register final Register classr = requestRegister(JvmType.INT); /* Objectref...
public final void visit_instanceof(VmConstClass classRef) { // Load reference final RefItem ref = vstack.popRef(); ref.load(eContext); final Register refr = ref.getRegister(); // Allocate tmp register final Register classr = requestRegister(JvmType.INT); /* Objectref...
16,572
public final void visit_instanceof(VmConstClass classRef) { // Load reference final RefItem ref = vstack.popRef(); ref.load(eContext); final Register refr = ref.getRegister(); // Allocate tmp register final Register classr = requestRegister(JvmType.INT); /* Objectref...
public final void visit_instanceof(VmConstClass classRef) { // Load reference final RefItem ref = vstack.popRef(); ref.load(eContext); final Register refr = ref.getRegister(); // Allocate tmp register final Register classr = requestRegister(JvmType.INT); /* Objectref...
16,573
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = * new Label(this.curInstrLa...
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = * new Label(this.curInstrLa...
16,574
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = * new Label(this.curInstrLa...
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = * new Label(this.curInstrLa...
16,575
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = * new Label(this.curInstrLa...
public final void visit_invokeinterface(VmConstIMethodRef methodRef, int count) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); /* * if (!methodRef.getConstClass().isResolved()) { Label startClassLabel = * new Label(this.curInstrLa...
16,576
public final void visit_invokevirtual(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); final VmMethod mts = methodRef.getResolvedVmMethod(); dropParameters(mts, true); if (mts.isStatic()) { throw new IncompatibleClass...
public final void visit_invokevirtual(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); final VmMethod mts = methodRef.getResolvedVmMethod(); dropParameters(mts, true); if (mts.isStatic()) { throw new IncompatibleClass...
16,577
public final void visit_invokevirtual(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); final VmMethod mts = methodRef.getResolvedVmMethod(); dropParameters(mts, true); if (mts.isStatic()) { throw new IncompatibleClass...
public final void visit_invokevirtual(VmConstMethodRef methodRef) { //TODO: port to orp-style vstack.push(eContext); methodRef.resolve(loader); final VmMethod mts = methodRef.getResolvedVmMethod(); dropParameters(mts, true); if (mts.isStatic()) { throw new IncompatibleClass...
16,578
public final void visit_l2d() { //TODO: port to orp-style vstack.push(eContext); Item v = vstack.pop(JvmType.LONG); v.release1(eContext); vstack.push1(DoubleItem.createStack()); os.writeFILD64(SP, 0); os.writeFSTP64(SP, 0); }
public final void visit_l2d() { //TODO: port to orp-style vstack.push(eContext); Item v = vstack.pop(JvmType.LONG); v.release1(eContext); vstack.push1(DoubleItem.createStack()); os.writeFILD64(SP, 0); os.writeFSTP64(SP, 0); }
16,579
public final void visit_l2f() { //TODO: port to orp-style vstack.push(eContext); Item v = vstack.pop(JvmType.LONG); v.release1(eContext); vstack.push1(FloatItem.createStack()); os.writeFILD64(SP, 0); os.writeLEA(SP, SP, 4); os.writeFSTP32(SP, 0); }
public final void visit_l2f() { //TODO: port to orp-style vstack.push(eContext); Item v = vstack.pop(JvmType.LONG); v.release1(eContext); vstack.push1(FloatItem.createStack()); os.writeFILD64(SP, 0); os.writeLEA(SP, SP, 4); os.writeFSTP32(SP, 0); }
16,580
public final void visit_laload() { visit_dwaload(JvmType.LONG); }
public final void visit_laload() { visit_dwaload(JvmType.LONG); }
16,581
public final void visit_multianewarray(VmConstClass clazz, int dimensions) { // flush all vstack items to the stack // all registers are freed vstack.push(eContext); // Create the dimensions array os.writePUSH(10); /* type=int */ os.writePUSH(dimensions); /* elements */ ...
public final void visit_multianewarray(VmConstClass clazz, int dimensions) { // flush all vstack items to the stack // all registers are freed vstack.push(eContext); // Create the dimensions array os.writePUSH(10); /* type=int */ os.writePUSH(dimensions); /* elements */ ...
16,582
EmitterContext(AbstractX86Stream os, X86CompilerHelper helper, VirtualStack vstack) { this.os = os; this.helper = helper; this.vstack = vstack; pool = new X86RegisterPool(); }
EmitterContext(AbstractX86Stream os, X86CompilerHelper helper, VirtualStack vstack, X86RegisterPool pool) { this.os = os; this.helper = helper; this.vstack = vstack; pool = new X86RegisterPool(); }
16,583
EmitterContext(AbstractX86Stream os, X86CompilerHelper helper, VirtualStack vstack) { this.os = os; this.helper = helper; this.vstack = vstack; pool = new X86RegisterPool(); }
EmitterContext(AbstractX86Stream os, X86CompilerHelper helper, VirtualStack vstack) { this.os = os; this.helper = helper; this.vstack = vstack; this.pool = pool; }
16,584
int getCategory() { if ((kind == LONG)||(kind == DOUBLE)) return 2; else return 1; }
int getCategory() { if ((type == LONG)||(type == DOUBLE)) return 2; else return 1; }
16,585
public Object request(int type) { return request(type, null); }
public Object request(int type) { return request(type, null); }
16,586
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...
16,588
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);...
16,589
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...
16,590
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...
16,591
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...
16,592
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...
16,593
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 ...
16,594
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...
16,595
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...
16,596
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 = ...
16,597
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...
16,598
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...
16,599
public void resolve(AbstractVmClassLoader clc) { if (!resolved) { doResolve(clc); resolved = true; } }
public void resolve(VmClassLoader clc) { if (!resolved) { doResolve(clc); resolved = true; } }
16,600
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); }
16,601
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(char[] 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' : /...
16,602
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' : /...
16,603
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[ofs++]; switch (ch) { case ')' : return count; case 'B' : // Byte case 'Z' : // Boole...
16,604
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' : /...
16,605
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' : /...
16,606
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' : /...
16,607
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' : /...
16,608
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 && parent != null) result = parent.get(key); return (Action) result; }
16,609
public TTFTextRenderer(TTFFontData fontData, int fontSize) { this.fontData = fontData; this.fontSize = fontSize; }
public TTFTextRenderer(RenderCache renderCache, TTFFontData fontData, int fontSize) { this.renderCache = renderCache; this.fontData = fontData; this.fontSize = fontSize; }
16,610
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(Surface surface, AffineTransform tx, String text, int x, int y, Color color) { try { final GeneralPath gp = new GeneralPath(); gp.moveTo(x, y); final TTFGlyphTable glyphTable = fontData.getGlyphTable(); final TTFCMapTable cmapTable = fontData.getCMapTable(); final TTFHorizontalHeaderTa...
16,611
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...
16,612
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...
16,613
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...
16,614
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...
16,615
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...
16,616
public void render(Graphics2D g, String text, int x, int y);
public void render(Surface g, AffineTransform tx, String text, int x, int y, Color color);
16,617
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); } }
16,618
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); } }
16,619
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...
16,620
public IllegalMonitorStateException() { super(); }
public IllegalMonitorStateException() { super(); }
16,622
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", ...
16,623
public abstract void beginValidate();
void beginValidate();
16,624
public abstract void endValidate();
void endValidate();
16,625
public abstract Insets getInsets();
Insets getInsets();
16,626
public abstract Insets insets();
Insets insets();
16,627
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]; } }
16,629
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]; } }
16,630
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() ...
16,631
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...
16,632
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) ); }
16,633
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); ...
16,635
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(); }
16,636
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()); } }
16,637