FileDocCategorySizeDatePackage
CstLiteral64.javaAPI DocAndroid 5.1 API2153Thu Mar 12 22:18:30 GMT 2015com.android.dexgen.rop.cst

CstLiteral64

public abstract class CstLiteral64 extends CstLiteralBits
Constants which are literal 64-bit values of some sort.

Fields Summary
private final long
bits
the value as {@code long} bits
Constructors Summary
CstLiteral64(long bits)
Constructs an instance.

param
bits the value as {@code long} bits

        this.bits = bits;
    
Methods Summary
protected intcompareTo0(Constant other)
{@inheritDoc}

        long otherBits = ((CstLiteral64) other).bits;

        if (bits < otherBits) {
            return -1;
        } else if (bits > otherBits) {
            return 1;
        } else {
            return 0;
        }
    
public final booleanequals(java.lang.Object other)
{@inheritDoc}

        return (other != null) &&
            (getClass() == other.getClass()) &&
            bits == ((CstLiteral64) other).bits;
    
public final booleanfitsInInt()
{@inheritDoc}

        return (int) bits == bits;
    
public final intgetIntBits()
{@inheritDoc}

        return (int) bits;
    
public final longgetLongBits()
{@inheritDoc}

        return bits;
    
public final inthashCode()
{@inheritDoc}

        return (int) bits ^ (int) (bits >> 32);
    
public final booleanisCategory2()
{@inheritDoc}

        return true;