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

CstLiteral32

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

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

param
bits the value as {@code int} bits

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

        int otherBits = ((CstLiteral32) 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 == ((CstLiteral32) other).bits;
    
public final booleanfitsInInt()
{@inheritDoc}

        return true;
    
public final intgetIntBits()
{@inheritDoc}

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

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

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

        return false;