public class LongVar extends Object implements Comparable<Object>
| Constructor and Description |
|---|
LongVar()
Creates a new integer with a val of 0.
|
LongVar(long i)
Creates a new integer with the specified value.
|
LongVar(Long i)
Creates a new integer with the specified value.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(LongVar i)
Compares this object to another LongVar.
|
int |
compareTo(Object o)
Compares this object with the specified object for order.
|
LongVar |
copy()
Creates a deep copy of this object.
|
static boolean |
equals(int testVal,
Object obj)
Checks if the object is an LongVar that equals the test value and
returns true if so.
|
boolean |
equals(Object obj)
Implements the equals operation.
|
int |
hashCode()
Overrides the Object.hashCode().
|
long |
longValue()
Returns the value of the LongVar.
|
boolean |
set(long i)
Sets the value to the specified int value.
|
boolean |
set(Long i)
Sets the value to he specified Long value.
|
boolean |
set(String i)
Sets the value to he specified Long value.
|
String |
toString()
Returns the value of the LongVar.
|
public LongVar()
public LongVar(long i)
public LongVar(Long i)
public int compareTo(LongVar i)
public int compareTo(Object o)
compareTo in interface Comparable<Object>public LongVar copy()
public boolean set(long i)
public boolean set(Long i)
public boolean set(String i)
public long longValue()
public String toString()
public boolean equals(Object obj)
public static boolean equals(int testVal,
Object obj)
Copyright © 2023. All rights reserved.