We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57a045b commit 5a20496Copy full SHA for 5a20496
1 file changed
com/blogspot/debukkitsblog/Util/FileStorage.java
@@ -176,6 +176,16 @@ public boolean hasObject(Object o){
176
return storageMap.containsValue(o);
177
}
178
179
+ /**
180
+ * Returns the number of objects (elements) stored
181
+ * @return The number of objects (elements) stored
182
+ */
183
+ public int getSize() {
184
+ return storageMap.size();
185
+ }
186
+
187
188
189
/**
190
* Return a String representation of the HashMap<br>
191
* containing all the key-object pairs.
0 commit comments