Code example for URI

Methods: hashCode

0
   @Override 
   public int hashCode() { 
      final int prime = 31;
      int result = 1;
      result = prime * result + ((fenceMode == null) ? 0 : fenceMode.hashCode());
      result = prime * result + ((parentNetwork == null) ? 0 : parentNetwork.hashCode());
      result = prime * result + ((networkName == null) ? 0 : networkName.hashCode());
      return result;
   } 
 
   @Override 
   public boolean equals(Object obj) {
      if (this == obj)
         return true; 
      if (obj == null)
         return false; 
      if (getClass() != obj.getClass())
         return false; 
      NetworkConfig other = (NetworkConfig) obj;
      if (fenceMode == null) {
         if (other.fenceMode != null)