`SWIG/Examples/java/enum/`

## Wrapping enumerations

`$Header$`

This example tests SWIG's ability to wrap enumerations. SWIG wraps enums in numerous different ways. The default approach is to wrap each enum with the typesafe enum pattern. Enums are handled as integers in the JNI layer. See the documentation for the other approaches for wrapping enums.

- example.h. Header file containing some enums.
- example.i. Interface file.
- main.java. Sample Java program.