project: Revert these changes until mixins / injector parts are done

This commit is contained in:
Owain van Brakel
2021-10-20 14:53:44 +02:00
parent a1d97f7ea7
commit 353a12ccb6
3 changed files with 22 additions and 9 deletions

View File

@@ -1,10 +1,12 @@
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.
*/
public interface HashTable<T extends Node> extends Iterable<T>
public interface HashTable<T extends Node>
{
/**
* Gets a node by its hash value.
@@ -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();
}