3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 20:05:51 +00:00

Java API: a first version that compiles. This is still untested.

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
Christoph M. Wintersteiger 2012-11-27 16:36:50 +00:00
parent fb947f50fb
commit c6303fc8f5
153 changed files with 10063 additions and 9851 deletions

42
src/api/java/Status.java Normal file
View file

@ -0,0 +1,42 @@
/**
* This file was automatically generated from Status.cs
* w/ further modifications by:
* @author Christoph M. Wintersteiger (cwinter)
**/
package com.Microsoft.Z3;
/**
* Status values.
**/
public enum Status
{
// / Used to signify an unsatisfiable status.
UNSATISFIABLE(1),
// / Used to signify an unknown status.
UNKNOWN(0),
// / Used to signify a satisfiable status.
SATISFIABLE(1);
private final int intValue;
Status(int v)
{
this.intValue = v;
}
public static final Status fromInt(int v)
{
for (Status k : values())
if (k.intValue == v)
return k;
return values()[0];
}
public final int toInt()
{
return this.intValue;
}
}