public static enum TidePrediction.TIDE_TYPE extends java.lang.Enum<TidePrediction.TIDE_TYPE>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPt()
Get the name of the tide type in portuguese that matches what is
written in the website
|
static TidePrediction.TIDE_TYPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TidePrediction.TIDE_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TidePrediction.TIDE_TYPE LOW_TIDE
public static final TidePrediction.TIDE_TYPE HIGH_TIDE
public static TidePrediction.TIDE_TYPE[] values()
for (TidePrediction.TIDE_TYPE c : TidePrediction.TIDE_TYPE.values()) System.out.println(c);
public static TidePrediction.TIDE_TYPE valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getPt()
Copyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.