Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.storemate.store;
 
 
 public class StorableDeletionResult
 {
    
Key of the entry that was to be inserted
 
    protected final StorableKey _key;

    
In case there was or is an entry for the key, entry after modifications (for soft delete) or prior to hard delete.
    protected final Storable _entry;
    
    public StorableDeletionResult(StorableKey keyStorable entry)
    {
         = key;
         = entry;
    }

    
Accessor for checking whether any action was taken: returns null if there was no entry for given key; otherwise returns true.
    public boolean hadEntry() { return ( != null); }
    
    public StorableKey getKey() { return ; }
    
    public Storable getEntry() { return ; }
New to GrepCode? Check out our FAQ X