equals, hashCode for interval vector