jais.messages.enums.VesselClass Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jais Show documentation
Show all versions of jais Show documentation
Java NMEA AIS decoding library
package jais.messages.enums;
/**
* Distinguishes between class A and class B vessels in a type safe way
*/
public enum VesselClass {
UNSPECIFIED("Class Unspecified"),
A("Class A"),
B("Class B");
private final String nameStr;
VesselClass(String nameStr) {
this.nameStr = nameStr;
}
public String toString() {
return this.nameStr;
}
}