Package net.runelite.api
Class LocatableQueryResults<EntityType>
- java.lang.Object
-
- net.runelite.api.QueryResults<EntityType>
-
- net.runelite.api.LocatableQueryResults<EntityType>
-
- All Implemented Interfaces:
java.lang.Iterable<EntityType>,java.util.Collection<EntityType>
public class LocatableQueryResults<EntityType> extends QueryResults<EntityType>
-
-
Field Summary
-
Fields inherited from class net.runelite.api.QueryResults
list
-
-
Constructor Summary
Constructors Constructor Description LocatableQueryResults(java.util.Collection<? extends EntityType> results)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityTypenearestTo(Locatable locatable)-
Methods inherited from class net.runelite.api.QueryResults
add, addAll, clear, contains, containsAll, first, get, isEmpty, iterator, last, limit, limit, remove, removeAll, retainAll, size, toArray, toArray
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
LocatableQueryResults
public LocatableQueryResults(java.util.Collection<? extends EntityType> results)
-
-
Method Detail
-
nearestTo
@Nullable public EntityType nearestTo(Locatable locatable)
-
-