public class BooleanVar extends Object
| Constructor and Description |
|---|
BooleanVar()
Creates a new BooleanVar with a value of false.
|
BooleanVar(boolean v)
Creates a new BooleanVar with the specified value.
|
BooleanVar(ResultSet rs,
String v)
Creates a new BooleanVar with the specified value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
booleanValue()
Return the variable's value.
|
BooleanVar |
copy()
Creates a deep copy of this object.
|
static boolean |
equals(boolean testVal,
Object obj)
Checks if the object is a BooleanVar that equals the test value and
returns true if so.
|
boolean |
equals(Object obj)
Checks if the object is a BooleanVar that equals the test value and
returns true if so.
|
void |
set(boolean v)
Sets the value as specified.
|
boolean |
set(ResultSet rs,
String s)
Sets the value to true if the string is "true" and to false otherwise.
|
String |
toString()
Return the variable's value as a String.
|
public BooleanVar()
public BooleanVar(boolean v)
public BooleanVar copy()
public void set(boolean v)
public boolean set(ResultSet rs, String s)
public boolean booleanValue()
public String toString()
public static boolean equals(boolean testVal,
Object obj)
If the object is not a BooleanVar, we return false.
Copyright © 2023. All rights reserved.