Allow pool to be dynamically rebuilt

This commit is contained in:
Adam
2015-05-09 17:00:30 -04:00
parent 0d21d49d2d
commit 4af719032d
45 changed files with 597 additions and 333 deletions

View File

@@ -18,6 +18,23 @@ public class Long extends PoolEntry
value = is.readLong();
}
public Long(ConstantPool pool, long l)
{
super(pool, ConstantType.LONG);
value = l;
}
@Override
public boolean equals(Object other)
{
if (!(other instanceof Long))
return false;
Long l = (Long) other;
return value == l.value;
}
@Override
public int getSlots()