Adds a long to the constant pool of the class being build. Does nothing if the constant pool already contains a similar item. @param value the long value. @return a new or already existing long item.
(final long value)
| 825 | */ |
| 826 | |
| 827 | private Item newLong (final long value) { |
| 828 | key.set(value); |
| 829 | Item result = get(key); |
| 830 | if (result == null) { |
| 831 | pool.put1(LONG).put8(value); |
| 832 | result = new Item(index, key); |
| 833 | put(result); |
| 834 | index += 2; |
| 835 | } |
| 836 | return result; |
| 837 | } |
| 838 | |
| 839 | /** |
| 840 | * Adds a double to the constant pool of the class being build. Does nothing |