| 
 |||||||
| 
    Динамическое переопределение 
        
        
		  Время создания: 19.01.2021 17:53		  
		 
		
		 		
		
		 		
		
				  
		    Раздел: INFO - Development - GROOVY		   
		
		
		 		 
		  Запись: wwwlir/Tetra/master/base/16110499842v7fv9qgfp/text.html на raw.githubusercontent.com		  
		 
		
				  
  | 
 |||||||
| 
    | 
 |||||||
| 
    Payment.metaClass.equals = { Payment other -> return other != null && purpose.equals(other.getPurpose()) && inn.equals(other.getInn()) && date.equals(other.getDate()) && sum.compareTo(other.getSum()) == 0 } //Payment.metaClass.hashCode = { -> // log.debug('overridden hashCode called') // 1 //} Еще можно посмотреть @EqualsAndHashCode(includeFields=true)  | 
 |||||||
| 
    
 
 Так же в этом разделе:
  
  
  | 
 |||||||
      
   | 
 |||||||
   
   
  | 
 |||||||
   
  |