FileDocCategorySizeDatePackage
CstKnownNull.javaAPI DocAndroid 1.5 API2527Wed May 06 22:41:02 BST 2009com.android.dx.rop.cst

CstKnownNull

public final class CstKnownNull extends CstLiteralBits
Constant type to represent a known-null value.

Fields Summary
public static final CstKnownNull
THE_ONE
non-null; unique instance of this class
Constructors Summary
private CstKnownNull()
Constructs an instance. This class is not publicly instantiable. Use {@link #THE_ONE}.


                     
      
        // This space intentionally left blank.
    
Methods Summary
protected intcompareTo0(Constant other)
{@inheritDoc}

        return 0;
    
public booleanequals(java.lang.Object other)
{@inheritDoc}

        return (other instanceof CstKnownNull);
    
public booleanfitsInInt()
{@inheritDoc}

        // See comment in getIntBits().
        return true;
    
public intgetIntBits()
{@inheritDoc} As "literal bits," a known-null is always represented as the number zero.

        return 0;
    
public longgetLongBits()
{@inheritDoc} As "literal bits," a known-null is always represented as the number zero.

        return 0;
    
public com.android.dx.rop.type.TypegetType()
{@inheritDoc}

        return Type.KNOWN_NULL;
    
public inthashCode()
{@inheritDoc}

        return 0x4466757a;
    
public booleanisCategory2()
{@inheritDoc}

        return false;
    
public java.lang.StringtoHuman()
{@inheritDoc}

        return "null";
    
public java.lang.StringtoString()
{@inheritDoc}

        return "known-null";
    
public java.lang.StringtypeName()
{@inheritDoc}

        return "known-null";