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