public static enum Coverage.Amount extends Enum<Coverage.Amount>
Enum Constant and 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 and Description |
---|---|
Boolean |
getKnownResult()
Returns the single fixed answer to all coverage queries.
|
static Coverage.Amount |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Boolean getKnownResult()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.