Leon b34ba36e70 updated readme | пре 6 година | |
---|---|---|
.idea | пре 6 година | |
src | пре 6 година | |
target | пре 6 година | |
.gitignore | пре 7 година | |
ChapterOneMicro.iml | пре 6 година | |
README.md | пре 6 година | |
pom.xml | пре 7 година |
Objective:
MathUtilities
PredicateUtilities
StringUtilities
Purpose:
Classes to be completed:
MathUtilities
PredicateUtilities
StringUtilities
Instructions
main
classes provided.
main
classes are located in src.main.java.com.zipcodewilmington.danny_do_better_exercixses
TestSuite
class to ensure that all tests have 100% success.
TestSuite
src.test.java.com.zipcodewilmington.danny_do_better_exercixses
A predicate is a clause which states something about a subject. (e.g., is assigning in "Leon is assigning homework")
Method Stubs to be completed
boolean isGreaterThan(int x, int y)
boolean isLessThan(int x, int y)
boolean isGreaterThanOrEqualTo(int x, int y)
boolean isLessThanOrEqualTo(int x, int y)
Integer add(int, int)
Long add(long, long)
Short add(short, short)
Byte add(byte, byte)
Float add(float, float)
Double add(double, double)
Integer subtract(int, int)
Long subtract(long, long)
Short subtract(short, short)
Byte subtract(byte, byte)
Float subtract(float, float)
Double subtract(double, double)
Integer divide(int, int)
Long divide(long, long)
Short divide(short, short)
Byte divide(byte, byte)
Float divide(float, float)
Double divide(double, double)
Integer multiply(int, int)
Long multiply(long, long)
Short multiply(short, short)
Byte multiply(byte, byte)
Float multiply(float, float)
Double multiply(double, double)
Boolean returnTrue
Boolean returnFalse
String concatenation(String, String)
String concatenation(int, String)
String getPrefix(String)
String getSuffix(String)
String compareTwoStrings(String)
Character getMiddleCharacter(String)
String getFirstWord(String)
String getSecondWord(String)
String reverseTheTwo(String)