From: chiba Date: Tue, 16 Aug 2005 02:55:32 +0000 (+0000) Subject: added getSize() X-Git-Tag: rel_3_17_1_ga~433 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6dc6b9945eb0d3b49113d6c512d35ed1a16dd870;p=javassist.git added getSize() git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@191 30ef5769-5b8d-40dd-aea6-55b5d6557bb3 --- diff --git a/src/main/javassist/bytecode/ConstPool.java b/src/main/javassist/bytecode/ConstPool.java index fba81d56..76573e1c 100644 --- a/src/main/javassist/bytecode/ConstPool.java +++ b/src/main/javassist/bytecode/ConstPool.java @@ -132,6 +132,13 @@ public final class ConstPool { strings = new HashMap(); } + /** + * Returns the number of entries in this table. + */ + public int getSize() { + return numOfItems; + } + /** * Returns the name of the class using this constant pool table. */