]> source.dussan.org Git - javassist.git/commitdiff
added getSize()
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Tue, 16 Aug 2005 02:55:32 +0000 (02:55 +0000)
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>
Tue, 16 Aug 2005 02:55:32 +0000 (02:55 +0000)
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@191 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

src/main/javassist/bytecode/ConstPool.java

index fba81d56d56acb3c370632deba9c68d1cf0c001a..76573e1ca9538afff0e025ddea82faa723b5fabf 100644 (file)
@@ -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.
      */