OrdersMap

public final class OrdersMap implements Map<String, HyperTrack.Order>

A group of orders.

The orders in this map are sorted with the ordering in which the worker should complete them, you can get it as a list using OrdersMap.values

Constructors

Link copied to clipboard
HyperTrack.OrdersMap HyperTrack.OrdersMap(Array<HyperTrack.Order> sortedOrders)

Functions

Link copied to clipboard
Boolean containsKey(String key)
Link copied to clipboard
Boolean containsValue(HyperTrack.Order value)
Link copied to clipboard
Unit forEach(BiConsumer<? super String, ? super HyperTrack.Order> p0)
Link copied to clipboard
HyperTrack.Order get(String key)
Link copied to clipboard
Set<Entry.Map<String, HyperTrack.Order>> getEntries()
Link copied to clipboard
Set<String> getKeys()
Link copied to clipboard
HyperTrack.Order getOrDefault(String key, HyperTrack.Order defaultValue)
Link copied to clipboard
Integer getSize()
Link copied to clipboard
final Array<HyperTrack.Order> getSortedOrders()
Link copied to clipboard
Collection<HyperTrack.Order> getValues()
Link copied to clipboard
Boolean isEmpty()

Properties

Link copied to clipboard
private final Set<Entry.Map<String, HyperTrack.Order>> entries
Link copied to clipboard
private final Set<String> keys
Link copied to clipboard
private final Integer size
Link copied to clipboard
private final Array<HyperTrack.Order> sortedOrders
Link copied to clipboard
private final Collection<HyperTrack.Order> values