Code example for BigInteger

Methods: equals

0
            return INTEGER_ITEM;
        } 
 
        public boolean isNull() 
        { 
            return BigInteger_ZERO.equals( value );
        } 
 
        public int compareTo( Item item )
        { 
            if ( item == null )
            { 
                return BigInteger_ZERO.equals( value ) ? 0 : 1; // 1.0 == 1, 1.1 > 1
            } 
 
            switch ( item.getType() )
            { 
                case INTEGER_ITEM:
                    return value.compareTo( ( (IntegerItem) item ).value );
 
                case STRING_ITEM: