Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andreluisdias/c5cb7891935ab18dfe8d8b948b412ed4 to your computer and use it in GitHub Desktop.
Save andreluisdias/c5cb7891935ab18dfe8d8b948b412ed4 to your computer and use it in GitHub Desktop.
Functional Interface with Overrides from java.lang.Object according to https://docs.oracle.com/javase/specs/jls/se8/html/jls-9.html#jls-9.8
package sample.fi;
@FunctionalInterface
public interface IFunctionalInterfaceWithPublicObjectOverride {
int specificMethod();
boolean equals(Object obj);
String toString();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment