public static enum TimeMetric.Target extends Enum<TimeMetric.Target>
| Modifier and Type | Method and Description |
|---|---|
boolean |
anyOf(Set<TimeMetric> metrics) |
int |
count(byte flags) |
byte |
flag(TimeMetric metric) |
byte |
flags(Set<TimeMetric> metrics) |
boolean |
isMetric(TimeMetric metric) |
TimeMetric |
metric(byte flags,
int index) |
static TimeMetric.Target |
target(byte flags,
int index) |
static TimeMetric.Target |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeMetric.Target[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeMetric.Target COMMAND
public static final TimeMetric.Target EVENT
public static final TimeMetric.Target OUTPUT
public static TimeMetric.Target[] values()
for (TimeMetric.Target c : TimeMetric.Target.values()) System.out.println(c);
public static TimeMetric.Target 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 byte flag(TimeMetric metric)
public byte flags(Set<TimeMetric> metrics)
public boolean isMetric(TimeMetric metric)
public boolean anyOf(Set<TimeMetric> metrics)
public int count(byte flags)
public TimeMetric metric(byte flags, int index)
public static TimeMetric.Target target(byte flags, int index)
Copyright © 2020 tools4j.org (Marco Terzer, Anton Anufriev). All Rights Reserved.