java_6_code stringclasses 10
values | java_8_code stringclasses 10
values | description stringclasses 10
values |
|---|---|---|
File getFile() { return new File(path); } | public void setValue(int value) { this.value = value; } | Get today's date. |
void setValue(int value) { this.value = value; } | public boolean isActive() { return active; } | Compute the sum of two integers. |
boolean isActive() { return active; } | public boolean isAvailable() { return available; } | Get today's date. |
void updateCollection(Collection c, Object o) { c.add(o); } | public String getUserName() { return userName; } | Get today's date. |
boolean isActive() { return active; } | public Date getToday() { return new Date(); } | Log a message to the system output. |
boolean isActive() { return active; } | public String getUserName() { return userName; } | Get today's date. |
Date getToday() { return new Date(); } | public boolean isActive() { return active; } | Get today's date. |
void setValue(int value) { this.value = value; } | public void setValue(int value) { this.value = value; } | Get today's date. |
void logMessage(String message) { System.out.println(message); } | public boolean isActive() { return active; } | Check if entity is active, returning a boolean. |
File getFile() { return new File(path); } | public boolean isActive() { return active; } | Check if resource is available. |
File getFile() { return new File(path); } | public boolean isAvailable() { return available; } | Update a collection by adding an object. |
boolean isAvailable() { return available; } | public String getUserName() { return userName; } | Get today's date. |
int computeSum(int a, int b) { return a + b; } | public double calculateSquare(double side) { return side * side; } | Compute the sum of two integers. |
boolean isActive() { return active; } | public boolean isActive() { return active; } | Retrieve user name as a string. |
Date getToday() { return new Date(); } | public File getFile() { return new File(path); } | Check if entity is active, returning a boolean. |
double calculateSquare(double side) { return side * side; } | public double calculateSquare(double side) { return side * side; } | Set a value as integer. |
void updateCollection(Collection c, Object o) { c.add(o); } | public Date getToday() { return new Date(); } | Check if entity is active, returning a boolean. |
File getFile() { return new File(path); } | public String getUserName() { return userName; } | Set a value as integer. |
int computeSum(int a, int b) { return a + b; } | public int computeSum(int a, int b) { return a + b; } | Set a value as integer. |
void logMessage(String message) { System.out.println(message); } | public void logMessage(String message) { System.out.println(message); } | Retrieve user name as a string. |
void logMessage(String message) { System.out.println(message); } | public Date getToday() { return new Date(); } | Compute the sum of two integers. |
boolean isAvailable() { return available; } | public void updateCollection(Collection<?> c, Object o) { c.add(o); } | Log a message to the system output. |
boolean isActive() { return active; } | public void updateCollection(Collection<?> c, Object o) { c.add(o); } | Compute the sum of two integers. |
String getUserName() { return userName; } | public void logMessage(String message) { System.out.println(message); } | Set a value as integer. |
boolean isActive() { return active; } | public String getUserName() { return userName; } | Retrieve user name as a string. |
int computeSum(int a, int b) { return a + b; } | public double calculateSquare(double side) { return side * side; } | Log a message to the system output. |
void logMessage(String message) { System.out.println(message); } | public int computeSum(int a, int b) { return a + b; } | Retrieve file object for given path. |
boolean isAvailable() { return available; } | public boolean isAvailable() { return available; } | Check if resource is available. |
Date getToday() { return new Date(); } | public void logMessage(String message) { System.out.println(message); } | Get today's date. |
void setValue(int value) { this.value = value; } | public int computeSum(int a, int b) { return a + b; } | Compute the sum of two integers. |
String getUserName() { return userName; } | public void updateCollection(Collection<?> c, Object o) { c.add(o); } | Set a value as integer. |
int computeSum(int a, int b) { return a + b; } | public Date getToday() { return new Date(); } | Check if entity is active, returning a boolean. |
boolean isActive() { return active; } | public boolean isAvailable() { return available; } | Retrieve user name as a string. |
boolean isActive() { return active; } | public boolean isActive() { return active; } | Set a value as integer. |
boolean isActive() { return active; } | public void logMessage(String message) { System.out.println(message); } | Update a collection by adding an object. |
String getUserName() { return userName; } | public String getUserName() { return userName; } | Check if entity is active, returning a boolean. |
double calculateSquare(double side) { return side * side; } | public File getFile() { return new File(path); } | Compute the sum of two integers. |
boolean isAvailable() { return available; } | public String getUserName() { return userName; } | Log a message to the system output. |
File getFile() { return new File(path); } | public int computeSum(int a, int b) { return a + b; } | Log a message to the system output. |
Date getToday() { return new Date(); } | public void logMessage(String message) { System.out.println(message); } | Set a value as integer. |
Date getToday() { return new Date(); } | public Date getToday() { return new Date(); } | Update a collection by adding an object. |
boolean isAvailable() { return available; } | public int computeSum(int a, int b) { return a + b; } | Check if resource is available. |
void setValue(int value) { this.value = value; } | public boolean isAvailable() { return available; } | Retrieve file object for given path. |
Date getToday() { return new Date(); } | public void logMessage(String message) { System.out.println(message); } | Calculate the square of a side length. |
boolean isAvailable() { return available; } | public boolean isAvailable() { return available; } | Check if resource is available. |
String getUserName() { return userName; } | public boolean isActive() { return active; } | Update a collection by adding an object. |
int computeSum(int a, int b) { return a + b; } | public void logMessage(String message) { System.out.println(message); } | Update a collection by adding an object. |
void logMessage(String message) { System.out.println(message); } | public String getUserName() { return userName; } | Update a collection by adding an object. |
File getFile() { return new File(path); } | public File getFile() { return new File(path); } | Check if resource is available. |
void setValue(int value) { this.value = value; } | public double calculateSquare(double side) { return side * side; } | Check if entity is active, returning a boolean. |
boolean isActive() { return active; } | public void updateCollection(Collection<?> c, Object o) { c.add(o); } | Set a value as integer. |
double calculateSquare(double side) { return side * side; } | public void logMessage(String message) { System.out.println(message); } | Calculate the square of a side length. |
int computeSum(int a, int b) { return a + b; } | public void logMessage(String message) { System.out.println(message); } | Set a value as integer. |
String getUserName() { return userName; } | public boolean isActive() { return active; } | Compute the sum of two integers. |
void logMessage(String message) { System.out.println(message); } | public String getUserName() { return userName; } | Retrieve file object for given path. |
double calculateSquare(double side) { return side * side; } | public File getFile() { return new File(path); } | Retrieve file object for given path. |
void logMessage(String message) { System.out.println(message); } | public boolean isActive() { return active; } | Calculate the square of a side length. |
boolean isActive() { return active; } | public String getUserName() { return userName; } | Get today's date. |
boolean isActive() { return active; } | public boolean isActive() { return active; } | Compute the sum of two integers. |
double calculateSquare(double side) { return side * side; } | public File getFile() { return new File(path); } | Retrieve file object for given path. |
boolean isActive() { return active; } | public String getUserName() { return userName; } | Check if resource is available. |
double calculateSquare(double side) { return side * side; } | public File getFile() { return new File(path); } | Update a collection by adding an object. |
boolean isActive() { return active; } | public File getFile() { return new File(path); } | Compute the sum of two integers. |
boolean isAvailable() { return available; } | public Date getToday() { return new Date(); } | Update a collection by adding an object. |
void setValue(int value) { this.value = value; } | public void updateCollection(Collection<?> c, Object o) { c.add(o); } | Compute the sum of two integers. |
boolean isAvailable() { return available; } | public String getUserName() { return userName; } | Calculate the square of a side length. |
double calculateSquare(double side) { return side * side; } | public void setValue(int value) { this.value = value; } | Retrieve file object for given path. |
void setValue(int value) { this.value = value; } | public String getUserName() { return userName; } | Check if entity is active, returning a boolean. |
Date getToday() { return new Date(); } | public File getFile() { return new File(path); } | Compute the sum of two integers. |
String getUserName() { return userName; } | public String getUserName() { return userName; } | Check if resource is available. |
void logMessage(String message) { System.out.println(message); } | public boolean isActive() { return active; } | Check if entity is active, returning a boolean. |
File getFile() { return new File(path); } | public void setValue(int value) { this.value = value; } | Log a message to the system output. |
Date getToday() { return new Date(); } | public Date getToday() { return new Date(); } | Retrieve file object for given path. |
int computeSum(int a, int b) { return a + b; } | public String getUserName() { return userName; } | Calculate the square of a side length. |
void logMessage(String message) { System.out.println(message); } | public void updateCollection(Collection<?> c, Object o) { c.add(o); } | Check if resource is available. |
void updateCollection(Collection c, Object o) { c.add(o); } | public boolean isActive() { return active; } | Calculate the square of a side length. |
String getUserName() { return userName; } | public boolean isActive() { return active; } | Check if resource is available. |
void updateCollection(Collection c, Object o) { c.add(o); } | public void setValue(int value) { this.value = value; } | Retrieve file object for given path. |
String getUserName() { return userName; } | public double calculateSquare(double side) { return side * side; } | Calculate the square of a side length. |
void updateCollection(Collection c, Object o) { c.add(o); } | public Date getToday() { return new Date(); } | Get today's date. |
void logMessage(String message) { System.out.println(message); } | public void setValue(int value) { this.value = value; } | Log a message to the system output. |
int computeSum(int a, int b) { return a + b; } | public void logMessage(String message) { System.out.println(message); } | Update a collection by adding an object. |
int computeSum(int a, int b) { return a + b; } | public String getUserName() { return userName; } | Check if entity is active, returning a boolean. |
double calculateSquare(double side) { return side * side; } | public boolean isActive() { return active; } | Check if entity is active, returning a boolean. |
void logMessage(String message) { System.out.println(message); } | public void updateCollection(Collection<?> c, Object o) { c.add(o); } | Get today's date. |
double calculateSquare(double side) { return side * side; } | public String getUserName() { return userName; } | Check if resource is available. |
int computeSum(int a, int b) { return a + b; } | public Date getToday() { return new Date(); } | Log a message to the system output. |
boolean isAvailable() { return available; } | public boolean isAvailable() { return available; } | Check if entity is active, returning a boolean. |
int computeSum(int a, int b) { return a + b; } | public File getFile() { return new File(path); } | Compute the sum of two integers. |
int computeSum(int a, int b) { return a + b; } | public void setValue(int value) { this.value = value; } | Check if entity is active, returning a boolean. |
Date getToday() { return new Date(); } | public void setValue(int value) { this.value = value; } | Update a collection by adding an object. |
void logMessage(String message) { System.out.println(message); } | public boolean isAvailable() { return available; } | Get today's date. |
Date getToday() { return new Date(); } | public void updateCollection(Collection<?> c, Object o) { c.add(o); } | Retrieve file object for given path. |
boolean isActive() { return active; } | public double calculateSquare(double side) { return side * side; } | Update a collection by adding an object. |
boolean isAvailable() { return available; } | public void updateCollection(Collection<?> c, Object o) { c.add(o); } | Check if entity is active, returning a boolean. |
int computeSum(int a, int b) { return a + b; } | public Date getToday() { return new Date(); } | Check if entity is active, returning a boolean. |
void setValue(int value) { this.value = value; } | public void setValue(int value) { this.value = value; } | Check if resource is available. |
int computeSum(int a, int b) { return a + b; } | public Date getToday() { return new Date(); } | Compute the sum of two integers. |
boolean isActive() { return active; } | public void logMessage(String message) { System.out.println(message); } | Update a collection by adding an object. |
void setValue(int value) { this.value = value; } | public boolean isActive() { return active; } | Update a collection by adding an object. |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 6