Free Starter Java Class
package encouragement;
import java.util.ArrayList;
import java.util.Arrays;
import random.RandomUtil;
public class HumorUtil {
private static ArrayList<String> seriousPhrases;
private static ArrayList<String> jokeOrEncouragingPhrases;
public static ArrayList<String> getSeriousPhrases() {
if (null != seriousPhrases) {
return seriousPhrases;
}
String arrayOfSeriousPhrases[] = {
"Eat your vegetables",
"Clean your room",
"Do the dishes",
"Go pick up some important documents from work",
"Always be safe in the lab"
};
seriousPhrases = new ArrayList<>(Arrays.asList(arrayOfSeriousPhrases));
return seriousPhrases;
}
public static ArrayList<String> getJokeOrEncouragingPhrases() {
if (null != jokeOrEncouragingPhrases) {
return jokeOrEncouragingPhrases;
}
String arrayOfJokeOrEncouragingPhrases[] = {
"Hug a kitten",
"Never Say Die!",
"The prettiest flowers have the most leaves",
"you hug the lovable dictator"
};
jokeOrEncouragingPhrases = new ArrayList<>(Arrays.asList(arrayOfJokeOrEncouragingPhrases));
return jokeOrEncouragingPhrases;
}
public static String ruleOfThreeGenerator() {
String seriousPhrase1 = RandomUtil.getRandomElementInListOfStrings(getSeriousPhrases());
String seriousPhrase2 = RandomUtil.getRandomElementInListOfStrings(getSeriousPhrases());
String jokeOrEncouragingPhrase = RandomUtil.getRandomElementInListOfStrings(getJokeOrEncouragingPhrases());
return seriousPhrase1+", "+seriousPhrase2+", "+jokeOrEncouragingPhrase;
}
}
Humor Throughput Not Guaranteed, Log of Prototype
Mar 06, 2023 9:53:51 PM main.Main main
INFO: Eat your vegetables, Always be safe in the lab, The prettiest flowers have the most leaves
Mar 06, 2023 9:53:51 PM main.Main main
INFO: Go pick up some important documents from work, Clean your room, Never Say Die!
Mar 06, 2023 9:53:51 PM main.Main main
INFO: Go pick up some important documents from work, Always be safe in the lab, The prettiest flowers have the most leaves
Mar 06, 2023 9:53:51 PM main.Main main
INFO: Eat your vegetables, Do the dishes, Hug a kitten
Mar 06, 2023 9:53:51 PM main.Main main
INFO: Go pick up some important documents from work, Eat your vegetables, The prettiest flowers have the most leaves
Mar 06, 2023 9:53:51 PM main.Main main
INFO: Eat your vegetables, Go pick up some important documents from work, Never Say Die!
Mar 06, 2023 9:53:51 PM main.Main main
INFO: Clean your room, Clean your room, The prettiest flowers have the most leaves
Mar 06, 2023 9:53:51 PM main.Main main
INFO: Always be safe in the lab, Go pick up some important documents from work, The prettiest flowers have the most leaves
Mar 06, 2023 9:53:51 PM main.Main main
INFO: Eat your vegetables, Always be safe in the lab, The prettiest flowers have the most leaves
Mar 06, 2023 9:53:51 PM main.Main main
INFO: Do the dishes, Eat your vegetables, Hug a kitten
More Comprehension Amplification of what is Funny vs what is Not Funny, what will likely lead to less grace in society and what will likely led to more grace in society is not a given.
Communication Bridges Built Throughput
Gross Domestic Humor Appreciated likely leads to Gross Domestic Product
More Peace less People at each others throats
Metaphor, Metaphor, Juxtaposed Metaphor?
Humor an art of balance where less can be more? 1/3 that is powerful, less powerful without the 2/3rds.