/** * Adds a value to the table that is at a location yet to be written. * * After this lookup switch has been written then the BranchEnd can be retrieved * from the returned reference. * * @return A reference to the BranchEnd that will be created. */ public AtomicReference<BranchEnd> add() { final AtomicReference<BranchEnd> end = new AtomicReference<BranchEnd>(); ValuePair vp = new ValuePair(end); values.add(vp); return end; } /**
currentOffset += 12; for (final TableSwitchBuilder.ValuePair value : builder.getValues()) { if (value.getLocation() != null) { writeInt(value.getLocation().getLocation()); currentOffset += 4; } else { writeInt(0); final BranchEnd ret = new BranchEnd(currentOffset, frame, true, startOffset); value.getBranchEnd().set(ret); currentOffset += 4;
currentOffset += 12; for (final TableSwitchBuilder.ValuePair value : builder.getValues()) { if (value.getLocation() != null) { writeInt(value.getLocation().getLocation()); currentOffset += 4; } else { writeInt(0); final BranchEnd ret = new BranchEnd(currentOffset, frame, true, startOffset); value.getBranchEnd().set(ret); currentOffset += 4;
currentOffset += 12; for (final TableSwitchBuilder.ValuePair value : builder.getValues()) { if (value.getLocation() != null) { writeInt(value.getLocation().getLocation()); currentOffset += 4; } else { writeInt(0); final BranchEnd ret = new BranchEnd(currentOffset, frame, true, startOffset); value.getBranchEnd().set(ret); currentOffset += 4;
currentOffset += 12; for (final TableSwitchBuilder.ValuePair value : builder.getValues()) { if (value.getLocation() != null) { writeInt(value.getLocation().getLocation()); currentOffset += 4; } else { writeInt(0); final BranchEnd ret = new BranchEnd(currentOffset, frame, true, startOffset); value.getBranchEnd().set(ret); currentOffset += 4;
currentOffset += 12; for (final TableSwitchBuilder.ValuePair value : builder.getValues()) { if (value.getLocation() != null) { writeInt(value.getLocation().getLocation()); currentOffset += 4; } else { writeInt(0); final BranchEnd ret = new BranchEnd(currentOffset, frame, true, startOffset); value.getBranchEnd().set(ret); currentOffset += 4;
/** * Adds a value to the table that is at a location yet to be written. * * After this lookup switch has been written then the BranchEnd can be retrieved * from the returned reference. * * @return A reference to the BranchEnd that will be created. */ public AtomicReference<BranchEnd> add() { final AtomicReference<BranchEnd> end = new AtomicReference<BranchEnd>(); ValuePair vp = new ValuePair(end); values.add(vp); return end; } /**
/** * Adds a value to the table that is at a location yet to be written. * * After this lookup switch has been written then the BranchEnd can be retrieved * from the returned reference. * * @return A reference to the BranchEnd that will be created. */ public AtomicReference<BranchEnd> add() { final AtomicReference<BranchEnd> end = new AtomicReference<BranchEnd>(); ValuePair vp = new ValuePair(end); values.add(vp); return end; } /**
/** * Adds a value to the table that is at a location yet to be written. * * After this lookup switch has been written then the BranchEnd can be retrieved * from the returned reference. * * @return A reference to the BranchEnd that will be created. */ public AtomicReference<BranchEnd> add() { final AtomicReference<BranchEnd> end = new AtomicReference<BranchEnd>(); ValuePair vp = new ValuePair(end); values.add(vp); return end; } /**
/** * Adds a value to the table that is at a location yet to be written. * * After this lookup switch has been written then the BranchEnd can be retrieved * from the returned reference. * * @return A reference to the BranchEnd that will be created. */ public AtomicReference<BranchEnd> add() { final AtomicReference<BranchEnd> end = new AtomicReference<BranchEnd>(); ValuePair vp = new ValuePair(end); values.add(vp); return end; } /**
/** * Adds a value to the table * * */ public TableSwitchBuilder add( final CodeLocation location) { values.add(new ValuePair(location)); return this; }
/** * Adds a value to the table * * */ public TableSwitchBuilder add( final CodeLocation location) { values.add(new ValuePair(location)); return this; }
/** * Adds a value to the table * * */ public TableSwitchBuilder add( final CodeLocation location) { values.add(new ValuePair(location)); return this; }
/** * Adds a value to the table * * */ public TableSwitchBuilder add( final CodeLocation location) { values.add(new ValuePair(location)); return this; }
/** * Adds a value to the table * * */ public TableSwitchBuilder add( final CodeLocation location) { values.add(new ValuePair(location)); return this; }