Download java_code_dataset.csv from LucianoPrd1/java-code-mini: direct link, hf CLI and curl.
- Browser
- Download file 1.47 kB
-
https://huggingface.co/datasets/LucianoPrd1/java-code-mini/resolve/db349df53b4edbd46993262ad0525b819c294c49/java_code_dataset.csv
- Command line
-
hf download hf://datasets/LucianoPrd1/java-code-mini@db349df53b4edbd46993262ad0525b819c294c49/java_code_dataset.csv
-
curl -L -o java_code_dataset.csv https://huggingface.co/datasets/LucianoPrd1/java-code-mini/resolve/db349df53b4edbd46993262ad0525b819c294c49/java_code_dataset.csv
1.47 kB
| java_6_code,java_8_code,description | |
| boolean function() { return isParsed; },public boolean function() { return isParsed(); },"Check if details are parsed, returning a boolean value." | |
| File function() { return libraryFile; },public File function() { return libraryFile(); },Return the file representing the library. | |
| void method(Collection c) { List l = new ArrayList(); },void method(Collection<?> c) { List<?> l = new ArrayList<>(); },Demonstrates the use of generics in Java 8 syntax. | |
| int getSize() { return size; },public int getSize() { return size; },Get the size value as an integer. | |
| void printMessage(String msg) { System.out.println(msg); },public void printMessage(String msg) { System.out.println(msg); },Print a message to the system output. | |
| String getName() { return name; },public String getName() { return name; },Retrieve the name as a string value. | |
| "void addElement(Collection c, Object o) { c.add(o); }","public void addElement(Collection<?> c, Object o) { c.add(o); }",Add an element to a collection. | |
| double calculateArea(double radius) { return Math.PI * radius * radius; },public double calculateArea(double radius) { return Math.PI * radius * radius; },Calculate the area of a circle given the radius. | |
| boolean checkStatus() { return status; },public boolean checkStatus() { return status; },Check and return the status as a boolean. | |
| Date getCurrentDate() { return new Date(); },public Date getCurrentDate() { return new Date(); },Get the current date. | |