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