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

This reverts commit 353a12ccb6.
This commit is contained in:
Owain van Brakel
2021-10-25 00:51:12 +02:00
parent 0a220102f1
commit e16132a616
3 changed files with 9 additions and 22 deletions

View File

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