Last active
February 4, 2022 10:23
-
-
Save ihommani/73e2df373d6f694cab4f24173e94de30 to your computer and use it in GitHub Desktop.
case study 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public MappedField getMappedField(final String storedName) { | |
for (final MappedField mf : persistenceFields) { | |
for (final String n : mf.getLoadNames()) { | |
if (storedName.equals(n)) { | |
return mf; | |
} | |
} | |
} | |
return null; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function callToRecursivity(){ | |
return recursivity(0); | |
} | |
function recursivity(depth){ | |
if(depth > 3){ | |
return "final value"; | |
} | |
return recursivity(depth++); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment