示例#1
0
 @Override
 public int hashCode() {
   int result = simpleName.hashCode();
   result = 31 * result + packageName.hashCode();
   result = 31 * result + storIOType.hashCode();
   result = 31 * result + columns.hashCode();
   return result;
 }
示例#2
0
  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    StorIOTypeMeta<?, ?> that = (StorIOTypeMeta<?, ?>) o;

    if (!simpleName.equals(that.simpleName)) return false;
    if (!packageName.equals(that.packageName)) return false;
    if (!storIOType.equals(that.storIOType)) return false;
    return columns.equals(that.columns);
  }