Methods Summary |
---|
protected int | compareTo0(Constant other){@inheritDoc}
long otherBits = ((CstLiteral64) other).bits;
if (bits < otherBits) {
return -1;
} else if (bits > otherBits) {
return 1;
} else {
return 0;
}
|
public final boolean | equals(java.lang.Object other){@inheritDoc}
return (other != null) &&
(getClass() == other.getClass()) &&
bits == ((CstLiteral64) other).bits;
|
public final boolean | fitsInInt(){@inheritDoc}
return (int) bits == bits;
|
public final int | getIntBits(){@inheritDoc}
return (int) bits;
|
public final long | getLongBits(){@inheritDoc}
return bits;
|
public final int | hashCode(){@inheritDoc}
return (int) bits ^ (int) (bits >> 32);
|
public final boolean | isCategory2(){@inheritDoc}
return true;
|