Java Minutiae - Arrays.hashCode()
I'm working on a simple API that deals with raw arrays - yuck!Did ya know that
Arrays.hashCode(a)
is the same as Arrays.asList(a).hashCode()
? Somebody smart made it easy to migrate from arrays to Lists.
Arrays.hashCode(a)
is the same as Arrays.asList(a).hashCode()
? Somebody smart made it easy to migrate from arrays to Lists.