Crates.io | math_paper |
lib.rs | math_paper |
version | 0.3.5 |
source | src |
created_at | 2022-09-20 11:49:45.231522 |
updated_at | 2022-09-20 11:58:12.004252 |
description | A simple dynamic library to generate a math paper with Java Native Method |
homepage | |
repository | |
max_upload_size | |
id | 669828 |
size | 14,791 |
A simple dynamic library to generate a math paper with Java Native Method. This library can easily to generate a math paper with primary, middel and high school. And it can make sure the question is correct.
package com.example.demo;
import java.io.*;
import java.util.*;
public class PaperFactory {
static {
System.load("<path of this dynamic library>");
}
public static native String getPaper(String grade, String number);
}