Debian Codegraph @

src/main/java/jnr/constants/platform/aix/Access.java

raw
1 // This file was filled out by hand, because the generator didn't spit it out
2 // for some reason. All the values are identical to the Linux one.
3
4 package jnr.constants.platform.aix;
5
6 public enum Access implements jnr.constants.Constant {
7 F_OK(0L),
8 X_OK(1L),
9 W_OK(2L),
10 R_OK(4L);
11 private final long value;
12 private Access(long value) { this.value = value; }
13 public static final long MIN_VALUE = 0L;
14 public static final long MAX_VALUE = 4L;
15
16 public final int intValue() { return (int) value; }
17 public final long longValue() { return value; }
18 public final boolean defined() { return true; }
19 }