#NEWLINE# def Equals( self , x ) : #NEWLINE# #INDENT# if ( x is self ) : #NEWLINE# #INDENT# return 1 #NEWLINE# #UNINDENT# if ( self . has_hits_ != x . has_hits_ ) : #NEWLINE# #INDENT# return 0 #NEWLINE# #UNINDENT# if ( self . has_hits_ and ( self . hits_ != x . hits_ ) ) : #NEWLINE# #INDENT# return 0 #NEWLINE# #UNINDENT# if ( self . has_misses_ != x . has_misses_ ) : #NEWLINE# #INDENT# return 0 #NEWLINE# #UNINDENT# if ( self . has_misses_ and ( self . misses_ != x . misses_ ) ) : #NEWLINE# #INDENT# return 0 #NEWLINE# #UNINDENT# if ( self . has_byte_hits_ != x . has_byte_hits_ ) : #NEWLINE# #INDENT# return 0 #NEWLINE# #UNINDENT# if ( self . has_byte_hits_ and ( self . byte_hits_ != x . byte_hits_ ) ) : #NEWLINE# #INDENT# return 0 #NEWLINE# #UNINDENT# if ( self . has_items_ != x . has_items_ ) : #NEWLINE# #INDENT# return 0 #NEWLINE# #UNINDENT# if ( self . has_items_ and ( self . items_ != x . items_ ) ) : #NEWLINE# #INDENT# return 0 #NEWLINE# #UNINDENT# if ( self . has_bytes_ != x . has_bytes_ ) : #NEWLINE# #INDENT# return 0 #NEWLINE# #UNINDENT# if ( self . has_bytes_ and ( self . bytes_ != x . bytes_ ) ) : #NEWLINE# #INDENT# return 0 #NEWLINE# #UNINDENT# if ( self . has_oldest_item_age_ != x . has_oldest_item_age_ ) : #NEWLINE# #INDENT# return 0 #NEWLINE# #UNINDENT# if ( self . has_oldest_item_age_ and ( self . oldest_item_age_ != x . oldest_item_age_ ) ) : #NEWLINE# #INDENT# return 0 #NEWLINE# #UNINDENT# return 1