public static enum ProfilingInfo.ProfilingMode extends Enum<ProfilingInfo.ProfilingMode>
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
static ProfilingInfo.ProfilingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProfilingInfo.ProfilingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProfilingInfo.ProfilingMode CPU
public static final ProfilingInfo.ProfilingMode ALLOC
public static final ProfilingInfo.ProfilingMode LOCK
public static final ProfilingInfo.ProfilingMode WALL
public static final ProfilingInfo.ProfilingMode ITIMER
public static ProfilingInfo.ProfilingMode[] values()
for (ProfilingInfo.ProfilingMode c : ProfilingInfo.ProfilingMode.values()) System.out.println(c);
public static ProfilingInfo.ProfilingMode 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 String getCode()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.