public class HardwareItemMap
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(HardwareType hardwareType)
Returns true of this HardwareItemMap contains the given
HardwareType. |
boolean |
equals(java.lang.Object o) |
java.lang.Iterable<HardwareItem> |
getAllHardwareItems()
Returns a list of all
HardwareItems in this HardwareItemMap, sorted by identifiers. |
java.util.List<HardwareItem> |
getHardwareItems(HardwareType hardwareType)
Returns a list of
HardwareItems for the given HardwareType. |
int |
getHardwareTypeCount()
Returns the number of
HardwareTypes stored in this HardwareItemMap. |
java.util.Set<HardwareType> |
getHardwareTypes()
Returns a set of
HardwareTypes in this HardwareItemMap. |
int |
hashCode() |
static HardwareItemMap |
newHardwareItemMap()
Creates a new
HardwareItemMap with the supported hardware items in the active configuration. |
static HardwareItemMap |
newHardwareItemMap(HardwareMap hardwareMap)
Creates a new
HardwareItemMap with the supported hardware items in the given
HardwareMap. |
public static HardwareItemMap newHardwareItemMap()
HardwareItemMap with the supported hardware items in the active configuration.public static HardwareItemMap newHardwareItemMap(HardwareMap hardwareMap)
HardwareItemMap with the supported hardware items in the given
HardwareMap.public int getHardwareTypeCount()
HardwareTypes stored in this HardwareItemMap.public boolean contains(HardwareType hardwareType)
HardwareType.public java.util.List<HardwareItem> getHardwareItems(HardwareType hardwareType)
HardwareItems for the given HardwareType.public java.lang.Iterable<HardwareItem> getAllHardwareItems()
HardwareItems in this HardwareItemMap, sorted by identifiers.public java.util.Set<HardwareType> getHardwareTypes()
HardwareTypes in this HardwareItemMap.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object