@ Override public int getInt ( int index ) { synchronized ( lock ) { return CBLConverter . asInteger ( getMValue ( internalArray , index ) , internalArray ) ; } }
Gets value at the given index as an int . Floating point values will be rounded . The value true is returned as 1 false as 0 . Returns 0 if the value doesn t exist or does not have a numeric value .