@Override public boolean equals(Object o) {
            if (this == o)
                return true;
            if (o == null || getClass() != o.getClass())
                return false;

            Pair pair = (Pair) o;

            if (index != pair.index)
                return false;
            return value == pair.value;
        }
Why Did you create this class? what does it do?
src/problems/medium/DailyTemperature.java