`SWIG/Examples/java/enum/`

## Wrapping enumerations

`$Header: /cvsroot/swig/SWIG/Examples/java/enum/index.html,v 1.4 2004/05/31 07:14:33 wsfulton Exp $`

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.