Update java examples using the new Java API (#7225)
authormudathirmahgoub <mudathirmahgoub@gmail.com>
Fri, 1 Oct 2021 23:21:02 +0000 (18:21 -0500)
committerGitHub <noreply@github.com>
Fri, 1 Oct 2021 23:21:02 +0000 (23:21 +0000)
commit98e884a740e8e2d1c32c8b60f3197fbae656e619
tree3fb1b24141ec833240eb71aebd93f383e897b592
parent6405f082a85e2a2ce7e25ff1f8b058f3f42fd58b
Update java examples using the new Java API (#7225)

This PRs updates java examples using the new Java API, by converting C++ examples to Java.
Examples CVC4Streams.java and PipedInput.java are removed since they are not longer supported by the API.
All examples are not included in the build which would be added in a future PR.
36 files changed:
docs/examples/extract.rst
docs/examples/quickstart.rst
docs/examples/relations.rst
docs/examples/sequences.rst
docs/examples/sets.rst
docs/examples/sygus-fun.rst
docs/examples/sygus-grammar.rst
docs/examples/sygus-inv.rst
examples/api/cpp/CMakeLists.txt
examples/api/cpp/floating_point_arith.cpp [new file with mode: 0644]
examples/api/java/BitVectors.java
examples/api/java/BitVectorsAndArrays.java
examples/api/java/CVC4Streams.java [deleted file]
examples/api/java/Combination.java
examples/api/java/Datatypes.java
examples/api/java/Exceptions.java
examples/api/java/Extract.java [new file with mode: 0644]
examples/api/java/FloatingPointArith.java
examples/api/java/HelloWorld.java
examples/api/java/LinearArith.java
examples/api/java/PipedInput.java [deleted file]
examples/api/java/QuickStart.java [new file with mode: 0644]
examples/api/java/Relations.java
examples/api/java/Sequences.java [new file with mode: 0644]
examples/api/java/Sets.java [new file with mode: 0644]
examples/api/java/Statistics.java
examples/api/java/Strings.java
examples/api/java/SygusFun.java [new file with mode: 0644]
examples/api/java/SygusGrammar.java [new file with mode: 0644]
examples/api/java/SygusInv.java [new file with mode: 0644]
examples/api/java/Transcendentals.java [new file with mode: 0644]
examples/api/java/UnsatCores.java
src/api/java/cvc5/Grammar.java
src/api/java/cvc5/Term.java
src/api/java/jni/cvc5_Grammar.cpp
test/unit/api/java/cvc5/SolverTest.java