java.io.Serializable
, java.lang.Comparable<Coverage.Amount>
public static enum Coverage.Amount extends java.lang.Enum<Coverage.Amount>
Enum Constant | Description |
---|---|
ALL_SKY |
Coverage data is known; the whole sky is covered.
|
NO_DATA |
No coverage data is known.
|
NO_SKY |
Coverage data is known; no sky regions are covered.
|
SOME_SKY |
Coverage data is known; some, but not all of the sky is covered.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.Boolean |
getKnownResult() |
Returns the single fixed answer to all coverage queries.
|
static Coverage.Amount |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Coverage.Amount[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Coverage.Amount NO_DATA
public static final Coverage.Amount NO_SKY
public static final Coverage.Amount ALL_SKY
public static final Coverage.Amount SOME_SKY
public static Coverage.Amount[] values()
for (Coverage.Amount c : Coverage.Amount.values()) System.out.println(c);
public static Coverage.Amount 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.Boolean getKnownResult()
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.