- Joined
- Mar 16, 2015
- Messages
- 11
- Thread Author
- #1
Hello.
I've noticed that a few methods could benefit from the usage of iterable data types. Name ones such as:
Just to name a few. This could work quite well with the changes to collections from Java 8.
I don't see this being particularly useful in simpler, more commonly run scripts; but, it could very well have its niche.
Haven't been here long, so I wouldn't know if/when this was discussed before.
For further clarification, what I am suggesting is like such:
And the such.
Just a quick look shows that the following could benefit from this:
Thanks,
~T
I've noticed that a few methods could benefit from the usage of iterable data types. Name ones such as:
Just to name a few. This could work quite well with the changes to collections from Java 8.
I don't see this being particularly useful in simpler, more commonly run scripts; but, it could very well have its niche.
Haven't been here long, so I wouldn't know if/when this was discussed before.
For further clarification, what I am suggesting is like such:
Code:
List<Integer> userDefinedIDs = ...;
// ...
LocatableEntityQueryResults<GroundItem> query = GroundItems.getLoaded(userDefinedIDs);
Set<String> userDefinedNames = ...;
// ...
LocatableEntityQueryResults<Npc> query = Npcs.getLoaded(userDefinedNames);
And the such.
Just a quick look shows that the following could benefit from this:
Thanks,
~T
Last edited: