5 package com.microsoft.z3.enumerations;
7 import java.util.HashMap;
29 private final int intValue;
37 private static class Z3_sort_kind_MappingHolder {
38 private static final Map<Integer, Z3_sort_kind> intMapping =
new HashMap<>();
41 intMapping.put(k.toInt(), k);
46 Z3_sort_kind k = Z3_sort_kind_MappingHolder.intMapping.get(v);
47 if (k !=
null)
return k;
48 throw new IllegalArgumentException(
"Illegal value " + v +
" for Z3_sort_kind");
51 public final int toInt() {
return this.intValue; }