@@ -98,6 +98,55 @@ public Long getLogIndex() {
9898 }
9999//</editor-fold>
100100
101+ @ Override
102+ public boolean equals (Object o ) {
103+ if (this ==o )return true ;
104+ if (o ==null ||getClass () !=o .getClass ())return false ;
105+
106+ Log log = (Log )o ;
107+
108+ if (blockNumber !=null ? !blockNumber .equals (log .blockNumber ) :log .blockNumber !=null )return false ;
109+ if (_blockNumber !=null ? !_blockNumber .equals (log ._blockNumber ) :log ._blockNumber !=null )return false ;
110+ if (address !=null ? !address .equals (log .address ) :log .address !=null )return false ;
111+ if (transactionHash !=null ? !transactionHash .equals (log .transactionHash ) :log .transactionHash !=null )
112+ return false ;
113+ if (transactionIndex !=null ? !transactionIndex .equals (log .transactionIndex ) :log .transactionIndex !=null )
114+ return false ;
115+ if (_transactionIndex !=null ? !_transactionIndex .equals (log ._transactionIndex ) :log ._transactionIndex !=null )
116+ return false ;
117+ if (timeStamp !=null ? !timeStamp .equals (log .timeStamp ) :log .timeStamp !=null )return false ;
118+ if (_timeStamp !=null ? !_timeStamp .equals (log ._timeStamp ) :log ._timeStamp !=null )return false ;
119+ if (data !=null ? !data .equals (log .data ) :log .data !=null )return false ;
120+ if (gasPrice !=null ? !gasPrice .equals (log .gasPrice ) :log .gasPrice !=null )return false ;
121+ if (_gasPrice !=null ? !_gasPrice .equals (log ._gasPrice ) :log ._gasPrice !=null )return false ;
122+ if (gasUsed !=null ? !gasUsed .equals (log .gasUsed ) :log .gasUsed !=null )return false ;
123+ if (_gasUsed !=null ? !_gasUsed .equals (log ._gasUsed ) :log ._gasUsed !=null )return false ;
124+ if (topics !=null ? !topics .equals (log .topics ) :log .topics !=null )return false ;
125+ if (logIndex !=null ? !logIndex .equals (log .logIndex ) :log .logIndex !=null )return false ;
126+ return _logIndex !=null ?_logIndex .equals (log ._logIndex ) :log ._logIndex ==null ;
127+ }
128+
129+ @ Override
130+ public int hashCode () {
131+ int result =blockNumber !=null ?blockNumber .hashCode () :0 ;
132+ result =31 *result + (_blockNumber !=null ?_blockNumber .hashCode () :0 );
133+ result =31 *result + (address !=null ?address .hashCode () :0 );
134+ result =31 *result + (transactionHash !=null ?transactionHash .hashCode () :0 );
135+ result =31 *result + (transactionIndex !=null ?transactionIndex .hashCode () :0 );
136+ result =31 *result + (_transactionIndex !=null ?_transactionIndex .hashCode () :0 );
137+ result =31 *result + (timeStamp !=null ?timeStamp .hashCode () :0 );
138+ result =31 *result + (_timeStamp !=null ?_timeStamp .hashCode () :0 );
139+ result =31 *result + (data !=null ?data .hashCode () :0 );
140+ result =31 *result + (gasPrice !=null ?gasPrice .hashCode () :0 );
141+ result =31 *result + (_gasPrice !=null ?_gasPrice .hashCode () :0 );
142+ result =31 *result + (gasUsed !=null ?gasUsed .hashCode () :0 );
143+ result =31 *result + (_gasUsed !=null ?_gasUsed .hashCode () :0 );
144+ result =31 *result + (topics !=null ?topics .hashCode () :0 );
145+ result =31 *result + (logIndex !=null ?logIndex .hashCode () :0 );
146+ result =31 *result + (_logIndex !=null ?_logIndex .hashCode () :0 );
147+ return result ;
148+ }
149+
101150@ Override
102151public String toString () {
103152return "Log{" +