public static enum SextractorStar.Flag extends Enum<SextractorStar.Flag>
| Enum Constant and Description |
|---|
BLENDED |
DEBLEND_OVERFLOW |
EXTRACT_OVERFLOW |
INSUFF_APERTURE |
INSUFF_ISOPHOT |
NEIGHBOURS |
OK |
SATURATED |
TRUNCATED |
| Modifier and Type | Field and Description |
|---|---|
private int |
mask
The bitmaks of the sextractor flag.
|
| Modifier and Type | Method and Description |
|---|---|
static List<SextractorStar.Flag> |
fromBitmask(int ored)
Converts a integer bitmask into a list of flags.
|
int |
getMask()
Returns the bit-mask of this flag.
|
boolean |
isSet(int flags)
Checks, if this flag is set in the total flag int.
|
static int |
toBitmask(List<SextractorStar.Flag> mine)
Converts a list of flags into a single bitmask.
|
static SextractorStar.Flag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SextractorStar.Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SextractorStar.Flag OK
public static final SextractorStar.Flag NEIGHBOURS
public static final SextractorStar.Flag BLENDED
public static final SextractorStar.Flag SATURATED
public static final SextractorStar.Flag TRUNCATED
public static final SextractorStar.Flag INSUFF_APERTURE
public static final SextractorStar.Flag INSUFF_ISOPHOT
public static final SextractorStar.Flag DEBLEND_OVERFLOW
public static final SextractorStar.Flag EXTRACT_OVERFLOW
public static SextractorStar.Flag[] values()
for (SextractorStar.Flag c : SextractorStar.Flag.values()) System.out.println(c);
public static SextractorStar.Flag 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 int getMask()
public boolean isSet(int flags)
public static List<SextractorStar.Flag> fromBitmask(int ored)
public static int toBitmask(List<SextractorStar.Flag> mine)