Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created May 21, 2021 17:20
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 parzibyte/edd70e1baf9ca5f9bd1b9fb2b32a16c2 to your computer and use it in GitHub Desktop.
Save parzibyte/edd70e1baf9ca5f9bd1b9fb2b32a16c2 to your computer and use it in GitHub Desktop.
public static AbstractMap.SimpleEntry<String, Integer> obtenerSimpleEntry() {
String nombre = "Luis";
int edad = 23;
return new AbstractMap.SimpleEntry<>(nombre, edad);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment