api: make IterableHashTable generic

This commit is contained in:
Adam
2020-03-24 13:55:29 -04:00
parent d1b4b14462
commit 91ae43dd2d
5 changed files with 6 additions and 6 deletions

View File

@@ -861,7 +861,7 @@ public interface Client extends GameEngine
*
* @return the map
*/
IterableHashTable getMessages();
IterableHashTable<MessageNode> getMessages();
/**
* Gets the viewport widget.

View File

@@ -24,7 +24,7 @@
*/
package net.runelite.api;
public interface IterableHashTable extends Iterable
public interface IterableHashTable<T extends Node> extends Iterable<T>
{
Node get(long hash);
T get(long hash);
}