Skip to content

Commit 5a20496

Browse files
authored
Readded the getSize method
Accidentally I remove it. Now it's back again.
1 parent 57a045b commit 5a20496

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

com/blogspot/debukkitsblog/Util/FileStorage.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,16 @@ public boolean hasObject(Object o){
176176
return storageMap.containsValue(o);
177177
}
178178

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+
179189
/**
180190
* Return a String representation of the HashMap<br>
181191
* containing all the key-object pairs.

0 commit comments

Comments
 (0)