project: Add back NodeHashTable.getNodes() for compatability

This commit is contained in:
Owain van Brakel
2021-10-27 02:27:40 +02:00
parent 24d7c9c351
commit 37b1099942
2 changed files with 40 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
package net.runelite.api;
import java.util.Collection;
/**
* A data structure that uses a hash function to compute an index into an
* array of buckets from which node objects can be quickly obtained.
@@ -13,4 +15,11 @@ public interface HashTable<T extends Node> extends Iterable<T>
* @return the associated node
*/
T get(long value);
/**
* Gets a collection of all nodes stored in this table.
*
* @return the nodes stored
*/
Collection<T> getNodes();
}