public abstract class AbstractProperties extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractProperties.Prop |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,AbstractProperties.Prop> |
map |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractProperties(Map<String,AbstractProperties.Prop> map) |
| Modifier and Type | Method and Description |
|---|---|
protected static Map<String,AbstractProperties.Prop> |
create(Class<?> cls) |
Set<String> |
getAllProperties() |
NMEACategory |
getCategory(String property)
Returns NMEA property category or Miscelleneous if property not found.
|
double |
getMax(String property)
Returns NMEA property maximum value or Double.MAX_VALUE.
|
double |
getMin(String property)
Returns NMEA property minimum value or -Double.MAX_VALUE.
|
org.vesalainen.math.UnitType |
getType(String property)
Returns NMEA property type
|
boolean |
isProperty(String property)
Returns true if given property is one of NMEA properties
|
java.util.stream.Stream<String> |
stream()
Stream of all properties
|
java.util.stream.Stream<String> |
stream(Class<?> type) |
protected Map<String,AbstractProperties.Prop> map
protected AbstractProperties(Map<String,AbstractProperties.Prop> map)
protected static Map<String,AbstractProperties.Prop> create(Class<?> cls)
public java.util.stream.Stream<String> stream()
public java.util.stream.Stream<String> stream(Class<?> type)
public boolean isProperty(String property)
property - public org.vesalainen.math.UnitType getType(String property)
property - public double getMin(String property)
property - public double getMax(String property)
property - public NMEACategory getCategory(String property)
property - Copyright © 2017. All rights reserved.