Package io.deephaven.properties
Interface PropertySet
- All Known Implementing Classes:
BaseboardOshi,ComputerSystemOshi,FirmwareOshi,MemoryMxBeanInfo,MemoryPoolsMxBeanInfo,MemoryUsageInfo,NetworkOshi,OperatingSystemOshi,OperatingSystemVersionOshi,ProcessInfo,PropertySet.PropertiesImpl,PropertySet.StringListImpl,PropertySet.StringMapImpl,RuntimeMxBeanInfo,StringListWrapper,StringMapWrapper,SystemCpuOshi,SystemInfoOshi,SystemMemoryOshi,ThreadMxBeanInfo
public interface PropertySet
A property set represents a set of property keys and values. The key is a String type, and the value can be of type
int, long, boolean, or String. (Note: we may use a stronger type in the future for a key, and may expand the types
that a value can be.)
A property set interface present read-only access to the keys and values via traverse(PropertyVisitor).
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic classstatic class -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertySetstatic PropertySetstatic PropertySetof(Properties properties) voidtraverse(PropertyVisitor visitor) Traverse this property set and output the property key/values to the given visitor.
-
Method Details
-
of
-
of
-
of
-
traverse
Traverse this property set and output the property key/values to the given visitor.Callers should typically prefer to call
PropertyVisitor.visitProperties(PropertySet), as the inversion of logic allows the visitor (the more stateful object) to potentially perform initialization logic and traverse more efficiently.- Parameters:
visitor- the visitor- See Also:
-