Main Page
Namespaces
Classes
Files
File List
File Members
wrappers
java
src
main
java
org
openkinect
freenect
LogLevel.java
Go to the documentation of this file.
1
25
package
org.openkinect.freenect;
26
27
import
java.util.HashMap;
28
import
java.util.Map;
29
30
public
enum
LogLevel
{
31
FATAL
(0),
32
ERROR
(1),
33
WARNING
(2),
34
NOTICE
(3),
35
INFO
(4),
36
DEBUG
(5),
37
SPEW
(6),
38
FLOOD
(7);
39
40
private
final
int
value
;
41
private
static
final
Map<Integer, LogLevel> MAP =
new
HashMap<Integer, LogLevel>(8);
42
static
{
43
for
(
LogLevel
v :
LogLevel
.values()) {
44
MAP.put(v.intValue(), v);
45
}
46
}
47
48
private
LogLevel
(
int
value) {
49
this.value = value;
50
}
51
52
public
int
intValue
() {
53
return
value;
54
}
55
56
public
static
LogLevel
fromInt
(
int
value) {
57
return
MAP.get(value);
58
}
59
}
org.openkinect.freenect.LogLevel.DEBUG
DEBUG
Definition:
LogLevel.java:36
org.openkinect.freenect.LogLevel.FATAL
FATAL
Definition:
LogLevel.java:31
org.openkinect.freenect.LogLevel.NOTICE
NOTICE
Definition:
LogLevel.java:34
org.openkinect.freenect.LogLevel.SPEW
SPEW
Definition:
LogLevel.java:37
org.openkinect.freenect.LogLevel
Definition:
LogLevel.java:30
org.openkinect.freenect.LogLevel.ERROR
ERROR
Definition:
LogLevel.java:32
org.openkinect.freenect.LogLevel.LogLevel
LogLevel(int value)
Definition:
LogLevel.java:48
org.openkinect.freenect.LogLevel.value
final int value
Definition:
LogLevel.java:40
org.openkinect.freenect.LogLevel.intValue
int intValue()
Definition:
LogLevel.java:52
org.openkinect.freenect.LogLevel.WARNING
WARNING
Definition:
LogLevel.java:33
org.openkinect.freenect.LogLevel.fromInt
static LogLevel fromInt(int value)
Definition:
LogLevel.java:56
org.openkinect.freenect.LogLevel.FLOOD
FLOOD
Definition:
LogLevel.java:38
org.openkinect.freenect.LogLevel.INFO
INFO
Definition:
LogLevel.java:35
libfreenect
Author(s): Hector Martin, Josh Blake, Kyle Machulis, OpenKinect community
autogenerated on Mon Jun 10 2019 13:46:42