// WARNING: This file is autogenerated. DO NOT EDIT!
// Generated 2020-09-03 01:10:24 +0200
package jnr.constants.platform.windows;
public enum ErrnoAddressInfo implements jnr.constants.Constant {
EAI_AGAIN(11002L),
// EAI_ADDRFAMILY not defined
EAI_BADFLAGS(10022L),
EAI_FAIL(11003L),
EAI_FAMILY(10047L),
EAI_MEMORY(8L),
EAI_NODATA(11004L),
EAI_NONAME(11001L),
// EAI_OVERFLOW not defined
EAI_SERVICE(10109L),
EAI_SOCKTYPE(10044L);
// EAI_SYSTEM not defined
// EAI_BADHINTS not defined
// EAI_PROTOCOL not defined
// EAI_MAX not defined
private final long value;
private ErrnoAddressInfo(long value) { this.value = value; }
public static final long MIN_VALUE = 8L;
public static final long MAX_VALUE = 11004L;

static final class StringTable {
  public static final java.util.Map<ErrnoAddressInfo, String> descriptions = generateTable();
  public static final java.util.Map<ErrnoAddressInfo, String> generateTable() {
    java.util.Map<ErrnoAddressInfo, String> map = new java.util.EnumMap<ErrnoAddressInfo, String>(ErrnoAddressInfo.class);
  map.put(EAI_AGAIN, "EAI_AGAIN");
  map.put(EAI_BADFLAGS, "EAI_BADFLAGS");
  map.put(EAI_FAIL, "EAI_FAIL");
  map.put(EAI_FAMILY, "EAI_FAMILY");
  map.put(EAI_MEMORY, "EAI_MEMORY");
  map.put(EAI_NODATA, "EAI_NODATA");
  map.put(EAI_NONAME, "EAI_NONAME");
  map.put(EAI_SERVICE, "EAI_SERVICE");
  map.put(EAI_SOCKTYPE, "EAI_SOCKTYPE");
    return map;
  }
}
public final String toString() { return StringTable.descriptions.get(this); }
public final int value() { return (int) value; }
public final int intValue() { return (int) value; }
public final long longValue() { return value; }
public final boolean defined() { return true; }
}
