mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
add misc methods to classpath
This commit is contained in:
@ -12,6 +12,10 @@ public final class Boolean {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public Boolean(String s) {
|
||||
this.value = "true".equals(s);
|
||||
}
|
||||
|
||||
public static Boolean valueOf(boolean value) {
|
||||
return (value ? Boolean.TRUE : Boolean.FALSE);
|
||||
}
|
||||
|
Reference in New Issue
Block a user