private boolean validEntry ( final Entry < K , V > entry ) { if ( auto_commit || entry == null ) return ( entry != null ) ; String id = getCurrentThreadId ( ) ; return ! ( ( entry . is ( Entry . DELETED , id ) ) || ( entry . is ( Entry . ADDED , null ) && entry . is ( Entry . NO_CHANGE , id ) ) ) ; }
Checks that this entry is valid for the current thread