return true;
}
+ @Override
+ public int hashCode() {
+ // Dummy return to prevent compile warnings.
+ return 0;
+ }
+
/**
* Resets the iterator state and sets the position to the specified offset.
* Subclasses must implement, and must call the parent class method,
return this == obj || (obj != null && getClass() == obj.getClass());
}
+ @Override
+ public int hashCode() {
+ // Dummy return to prevent compile warnings.
+ return 0;
+ }
+
// public setters --------------------------------------------------------
private void checkNotFrozen() {
return other == this;
}
+ /**
+ * Returns the hash code value for this set.
+ *
+ * @return the hash code value for this set.
+ * @see java.lang.Object#hashCode()
+ * @stable ICU 2.0
+ */
+ @Override
+ public int hashCode() {
+ return m_version_;
+ }
+
/**
* Compares other with this VersionInfo.
* @param other VersionInfo to be compared