Debian Codegraph @

src/main/java/jnr/constants/platform/freebsd/aarch64/SocketControlMessage.java

raw
1 // WARNING: This file is autogenerated. DO NOT EDIT!
2 // Generated 2021-10-08 17:37:35 +0200
3 package jnr.constants.platform.freebsd.aarch64;
4 public enum SocketControlMessage implements jnr.constants.Constant {
5 SCM_RIGHTS(1L),
6 SCM_TIMESTAMP(2L),
7 // SCM_TIMESTAMPNS not defined
8 // SCM_TIMESTAMPING not defined
9 SCM_BINTIME(4L),
10 // SCM_CREDENTIALS not defined
11 SCM_CREDS(3L);
12 // SCM_UCRED not defined
13 // SCM_WIFI_STATUS not defined
14 private final long value;
15 private SocketControlMessage(long value) { this.value = value; }
16 public static final long MIN_VALUE = 1L;
17 public static final long MAX_VALUE = 4L;
18
19 static final class StringTable {
20 public static final java.util.Map<SocketControlMessage, String> descriptions = generateTable();
21 public static final java.util.Map<SocketControlMessage, String> generateTable() {
22 java.util.Map<SocketControlMessage, String> map = new java.util.EnumMap<SocketControlMessage, String>(SocketControlMessage.class);
23 map.put(SCM_RIGHTS, "SCM_RIGHTS");
24 map.put(SCM_TIMESTAMP, "SCM_TIMESTAMP");
25 map.put(SCM_BINTIME, "SCM_BINTIME");
26 map.put(SCM_CREDS, "SCM_CREDS");
27 return map;
28 }
29 }
30 public final String toString() { return StringTable.descriptions.get(this); }
31 public final int value() { return (int) value; }
32 public final int intValue() { return (int) value; }
33 public final long longValue() { return value; }
34 public final boolean defined() { return true; }
35 }