boolean (final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final SwitchedFileHolder that = (SwitchedFileHolder)o; return Iterables.elementsEqual(myMap.entrySet(), that.myMap.entrySet()); }