/** @see java.lang.Object#hashCode() */
 @Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + ((location == null) ? 0 : location.hashCode());
   return result;
 }
Example #2
0
 /*
  * (non-Javadoc)
  *
  * @see java.lang.Object#hashCode()
  */
 @Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + (pozice == null ? 0 : pozice.hashCode());
   result = prime * result + (velikost == null ? 0 : velikost.hashCode());
   return result;
 }
 @Override
 public int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + hopCount;
   result = prime * result + ((msgType == null) ? 0 : msgType.hashCode());
   result = prime * result + ((position == null) ? 0 : position.hashCode());
   result = prime * result + radius;
   result = prime * result + ((sequenceNr == null) ? 0 : sequenceNr.hashCode());
   return result;
 }
Example #4
0
 public int hashCode() {
   return position.hashCode() + type.hashCode() + time;
 }
 @Override
 public int hashCode() {
   final int PRIME = 23;
   return PRIME * position.hashCode();
 }
Example #6
0
 @Override
 public int hashCode() {
   return start.hashCode() + 37 * end.hashCode();
 }