Beispiel #1
0
 public synchronized boolean equals(java.lang.Object obj) {
   if (!(obj instanceof Audio)) return false;
   Audio other = (Audio) obj;
   if (obj == null) return false;
   if (this == obj) return true;
   if (__equalsCalc != null) {
     return (__equalsCalc == obj);
   }
   __equalsCalc = obj;
   boolean _equals;
   _equals =
       super.equals(obj)
           && ((this.durationMillis == null && other.getDurationMillis() == null)
               || (this.durationMillis != null
                   && this.durationMillis.equals(other.getDurationMillis())))
           && ((this.streamingUrl == null && other.getStreamingUrl() == null)
               || (this.streamingUrl != null && this.streamingUrl.equals(other.getStreamingUrl())))
           && ((this.readyToPlayOnTheWeb == null && other.getReadyToPlayOnTheWeb() == null)
               || (this.readyToPlayOnTheWeb != null
                   && this.readyToPlayOnTheWeb.equals(other.getReadyToPlayOnTheWeb())));
   __equalsCalc = null;
   return _equals;
 }