boolean (final Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; final ExtensionFileNameMatcher that = (ExtensionFileNameMatcher)o; return myExtension.equals(that.myExtension); }