Really, the best example for this would be relationships.  How you feel about a given person currently will translate to what you remember about them.  If you’re happy with them, you’ll be more inclined to remember good times.  If you aren’t, you’ll remember the other times.