Class ActorQueryResults<T extends RSActor>


  • public class ActorQueryResults<T extends RSActor>
    extends java.lang.Object
    • Constructor Detail

      • ActorQueryResults

        public ActorQueryResults​(java.util.stream.Stream<T> results)
    • Method Detail

      • get

        @NotNull
        public @NotNull java.util.List<T> get()
      • stream

        @NotNull
        public @NotNull java.util.stream.Stream<T> stream()
      • first

        @Nullable
        public T first()
      • random

        @Nullable
        public T random()
      • randomNear

        @Nullable
        public T randomNear​(@NotNull
                            @NotNull net.runelite.api.coords.WorldPoint pos)
      • nearestTo

        @Nullable
        public T nearestTo​(@Nonnull
                           net.runelite.api.coords.WorldPoint pos)
      • nearestToPlayer

        @Nullable
        public T nearestToPlayer()
      • nearestToMouse

        @Nullable
        public T nearestToMouse()
      • randomNearMouse

        @Nullable
        public T randomNearMouse()