public class GPUInfo extends Object implements ExternalResourceInfo
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Collection<String> |
getKeys()
Get all property keys.
|
Optional<String> |
getProperty(String key)
Get the property indicated by the specified key.
|
int |
hashCode() |
String |
toString() |
public Optional<String> getProperty(String key)
ExternalResourceInfo
getProperty
in interface ExternalResourceInfo
key
- of the required propertyOptional
containing the value associated to the key, or an empty Optional
if no value has been stored under the given keypublic Collection<String> getKeys()
ExternalResourceInfo
getKeys
in interface ExternalResourceInfo
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.