public boolean isEmpty ( ) { int snapshotSize = cleared ? 0 : snapshot . size ( ) ; //nothing in both if ( snapshotSize == 0 && currentState . isEmpty ( ) ) { return true ; } //snapshot bigger than changeset if ( snapshotSize > currentState . size ( ) ) { return false ; } return size ( ) == 0 ; }
Whether this association contains no rows .