/** Returns an unspecified hash code for the contents of this immutable array. */ @Override public int hashCode() { int hash = 1; for (int i = start; i < end; i++) { hash *= 31; hash += Ints.hashCode(array[i]); } return hash; }
@Override public int hashCode() { int result = 1; for (int i = start; i < end; i++) { result = 31 * result + Ints.hashCode(array[i]); } return result; }
@Override public int hashCode() { int result = 1; for (int i = start; i < end; i++) { result = 31 * result + Ints.hashCode(array[i]); } return result; }
/** Returns an unspecified hash code for the contents of this immutable array. */ @Override public int hashCode() { int hash = 1; for (int i = start; i < end; i++) { hash *= 31; hash += Ints.hashCode(array[i]); } return hash; }
@Override public int hashCode() { int result = 1; for (int i = start; i < end; i++) { result = 31 * result + Ints.hashCode(array[i]); } return result; }
/** Returns an unspecified hash code for the contents of this immutable array. */ @Override public int hashCode() { int hash = 1; for (int i = start; i < end; i++) { hash *= 31; hash += Ints.hashCode(array[i]); } return hash; }
public void testHashCode() { for (int value : VALUES) { assertEquals(((Integer) value).hashCode(), Ints.hashCode(value)); } }
@Override public int hashCode() { return Ints.hashCode(sampleSize); }
@Override public int hashCode() { int result = 1; for (int i = start; i < end; i++) { result = 31 * result + Ints.hashCode(array[i]); } return result; }
@Override public int hashCode() { int result = 1; for (int i = start; i < end; i++) { result = 31 * result + Ints.hashCode(array[i]); } return result; }
@Override public int hashCode() { int result = 1; for (int i = start; i < end; i++) { result = 31 * result + Ints.hashCode(array[i]); } return result; }
@Override public int hashCode() { int result = 1; for (int i = start; i < end; i++) { result = 31 * result + Ints.hashCode(array[i]); } return result; }
/** Returns an unspecified hash code for the contents of this immutable array. */ @Override public int hashCode() { int hash = 1; for (int i = start; i < end; i++) { hash *= 31; hash += Ints.hashCode(array[i]); } return hash; }
@Override public int hashCode() { int result = 1; for (int i = start; i < end; i++) { result = 31 * result + Ints.hashCode(array[i]); } return result; }
@Override public int hashCode() { int result = 1; for (int i = start; i < end; i++) { result = 31 * result + Ints.hashCode(array[i]); } return result; }
@Override public int hashCode() { int result = 1; for (int i = start; i < end; i++) { result = 31 * result + Ints.hashCode(array[i]); } return result; }
@Override public int hashCode() { int result = 1; for (int i = start; i < end; i++) { result = 31 * result + Ints.hashCode(array[i]); } return result; }
/** Returns an unspecified hash code for the contents of this immutable array. */ @Override public int hashCode() { int hash = 1; for (int i = start; i < end; i++) { hash *= 31; hash += Ints.hashCode(array[i]); } return hash; }
@Override public int hashCode() { int result = Ints.hashCode(length); result = 31 * result + Arrays.hashCode(patterns); result = 31 * result + Arrays.hashCode(boardStops); result = 31 * result + Arrays.hashCode(alightStops); result = 31 * result + Arrays.hashCode(alightTimes); result = 31 * result + Arrays.hashCode(trips); result = 31 * result + Arrays.hashCode(boardStopPositions); result = 31 * result + Arrays.hashCode(alightStopPositions); return result; }
public void testHashCode() { for (int value : VALUES) { assertEquals(((Integer) value).hashCode(), Ints.hashCode(value)); } }