static int hashCode(final BaseSeq<?> seq) {
		int hash = 1;
		for (Object element : seq) {
			hash = 31*hash + (element == null ? 0: element.hashCode());
		}
		return hash;
	}
Unified method for calculating the hash code of every {@link Seq}
implementation. The hash code is defined as followed:
{@snippet lang="java":
int hashCode = 1;
final Iterator<E> it = seq.iterator();
while (it.hasNext()) {
    final E obj = it.next();
    hashCode = 31*hashCode + (obj == null ? 0 : obj.hashCode());
}
}

@see Seq#hashCode()
@see List#hashCode()

@param seq the sequence to calculate the hash code for.
@return the hash code of the given sequence.
jenetics/src/main/java/io/jenetics/util/Seq.java