From c896b3c6e3c4d8b822feb24d8182e1b31b8d7a02 Mon Sep 17 00:00:00 2001 From: zipcodeFrancisco Date: Tue, 5 Feb 2019 16:07:59 -0500 Subject: [PATCH 1/3] Completed and Tested --- MathUtilities.class | Bin 2416 -> 2880 bytes MathUtilities.java | 438 +++++++++++++++++++-------------------- PredicateUtilities.class | Bin 872 -> 1054 bytes PredicateUtilities.java | 98 ++++----- StringUtilities.class | Bin 1405 -> 2427 bytes StringUtilities.java | 163 ++++++++------- TestMultiplication.class | Bin 2461 -> 2460 bytes TestMultiplication.java | 2 +- package.bluej | 83 +++++--- 9 files changed, 406 insertions(+), 378 deletions(-) diff --git a/MathUtilities.class b/MathUtilities.class index 4ea9860039adf0b48df42a9745fced00444b82a2..8f0b7d4444b4885f5f7e221aa4ebb7154ac71220 100644 GIT binary patch literal 2880 zcmaKt%TE(g6o-GqYsy#wK|}?mrKPmK@cqJPsZAgtiz-{4wgVj;I@(T2h+DTVjEP&f zF4c{VCazo=w{HDYjOR{ohwJ1FEau+1_neP2=gUcd{{8wLz-2rzFo>LiQ#ftl49*%j zhj|0%alybvTrw!+ijJ!~u4x#!W!G)*j)vZBZe2s)qFc2z46oRA>tSoVY&9O4Wrt2i zSKNx}teXv6yvxHruVyzz^s4FA9(%T9d$!eFAedRLYM96_E#+3W%pG&yG3%T2OLfoM zv>J3jST>v1y6LottSxCUs`kc))v)RnIyjtNURKjq-1;WvXv-SLv!#-HRjRoSPu!J6 zT0XDd<##}rV1tz9uijM06yD9k9itwzNv+I~y_>)JWdr#K88&~ZJE z8@Q=sL9DlQ+!pH{9e2fgPse?+=5;KJmC8K$A4$W=UeDLcTb3yQ(B6^MK;`cU18WA^vI4)})y7@~c=6M$ii&>QsfQ)1aqE}bDrd!yNvS>k;ty|6gqRB=A73U=bs~xvw`!Bbe`s%+l=#X zk;ty|jC7vnoYy$#KNP0wd^T{NkqKPL@#;aHV6yuwAirt0@!(lozZ{Cmg{rdXz@7M1Da35~xU=40$;ARGH5lBDa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cCyD4^=}K_n2l!Fq zout@GyGUT}%)R%VleuTUe?Gqe9AeW%0&5wpXRyJLK9P>}PZ<)8W}hK>;ob{|f+Zbs z9Xt+%>hXb1m6GKSx!vbV>U>g6`XlKvRID2%?&XmC;?9@0^ri5Q8S>J*Qi6)AH{uRM zz0v73tucS*Et@+Jt#jA41$PL^UTAe_y)u~6vxMhGl-fUuuDW~*xZQIZ%2U)#)l|X{ zl+#lI-MHFV{IhHXYIEBolzHn0YAD)L4_Tj|V_)Alha^(u!F-#cI31`v7>l8g9T?=W z{xTp(k)oKUtVKJcJ+=D*_D%ESkdG&%CxA#-gKN{=0oOo z)SWOjB9E0&%|L-p2AzvB)M~NSR%57b#a1iDP;10iE2Bd5YTx!~*Z$7?b`YvXjvIfD PS7R`b7BXw$yVQRHtZR7~ diff --git a/PredicateUtilities.java b/PredicateUtilities.java index 4b83a87..eca132b 100644 --- a/PredicateUtilities.java +++ b/PredicateUtilities.java @@ -1,57 +1,57 @@ - + /** - * Created by dan on 6/14/17. - */ +* Created by dan on 6/14/17. +*/ public class PredicateUtilities { - /** - * @param x - * @param y - * @return true if `x` is greater than `y` - */ - public Boolean isGreaterThan(int x, int y) { - return null; - } + /** + * @param x + * @param y + * @return true if `x` is greater than `y` + */ + public Boolean isGreaterThan(int x, int y) { + return x > y; + } - /** - * @param x - * @param y - * @return true if `x` is less than `y` - */ - public Boolean isLessThan(int x, int y) { - return null; - } + /** + * @param x + * @param y + * @return true if `x` is less than `y` + */ + public Boolean isLessThan(int x, int y) { + return x < y; + } - /** - * @param x - * @param y - * @return true if `x` is greater than or equal to `y` - */ - public Boolean isGreaterThanOrEqualTo(int x, int y) { - return null; - } + /** + * @param x + * @param y + * @return true if `x` is greater than or equal to `y` + */ + public Boolean isGreaterThanOrEqualTo(int x, int y) { + return x >= y; + } - /** - * @param x - * @param y - * @return true if `x` is less than or equal to `y` - */ - public Boolean isLessThanOrEqualTo(int x, int y) { - return null; - } - - - /** - * @return true - */ - public Boolean returnTrue() { - return null; - } + /** + * @param x + * @param y + * @return true if `x` is less than or equal to `y` + */ + public Boolean isLessThanOrEqualTo(int x, int y) { + return x <= y; + } + + + /** + * @return true + */ + public Boolean returnTrue() { + return true; + } - /** - * @return false - */ - public Boolean returnFalse() { - return null; - } + /** + * @return false + */ + public Boolean returnFalse() { + return false; + } } \ No newline at end of file diff --git a/StringUtilities.class b/StringUtilities.class index 71bb6fd8e995b386ae53529bbb1ff3712a34ed87..5d411712ad7e9290777038a5eaae5e5fad7b742b 100644 GIT binary patch literal 2427 zcmai0+fv(B6kW%bEo>AZ<`x1Zgf?KD01ZhK5-#Ny5?U^445T5=Mc4;WDlAu)X+I!e z(LVGsuk8!Tv@`jDenvl|Gc8?562>*A^^A|CqrKN&d+jCJzyJN~2LQLQmqZFP4Vcw2 zmqZjZYMEEdf?Dn;v4{t1d8n49BtFL%>TEfQ6|6R3O&ObkC#{0zO$$WR zLz@EHypxv#&C6Cnu9o+=rMqr!+uTVlJ2}(dG+j$whnt$WXO#rbFK0d1D(r4}mTh^K zEKLZU+m+r!Y1_^d$F=hUZRw%q*XDsaYMX`K(I8%h<(xv!^kl*GETy;}>7R*wAHLIz;Ox#;iiIOg<_( zTi)@L4OX&o&i>52rzjJ~uYI?U0{(n=Qa~xZm1&W&VOKzHWS&cFPS5pgj zQe?7X<@2_j-!ok^=Sf#!s7}4=ek!2~f6ugcj>*TJVlcYoeg#uN%yYI`&&++ZVirTU z7_7UfW<*OUN0f?YPA*8>+P6HJKgLtW$@)_Y!gN<2NVmjJgvD-3zSGv7$H%*gQjw+$ zVq2e`mPnv6L{Kq0)^*%t3t6Y^=H#NKyxkVmuGn`(ImbXN+L-K{xR1HY#htaDnk!p& zUb+T0uxa24y4BfNtYY9PwhTPO*9M;Bg^rg7UV*6F$mz(d3)NDefgS7$fUVWA5NJ86 zwzmCR=IElTtz*IBX0a#>Bscs&BMcHk#vEgV7urprC%sfX?Apjgsk~kCg%{{ZFV%@9 zTs$zf|0dzX5|`hWO`A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.java @@ -1,88 +1,101 @@ - + /** - * Created by dan on 6/14/17. - */ +* Created by dan on 6/14/17. +*/ public class StringUtilities { - /** - * @return `Hello World` as a string - */ - public static String getHelloWorld() { - return null; - } + /** + * @return `Hello World` as a string + */ + public static String getHelloWorld() { + return "Hello World"; + } - /** - * @param firstSegment a string to be added to - * @param secondSegment a string to add - * @return the concatenation of two strings, `firstSegment`, and `secondSegment` - */ - public static String concatenation(String firstSegment, String secondSegment){ - return null; - } + /** + * @param firstSegment a string to be added to + * @param secondSegment a string to add + * @return the concatenation of two strings, `firstSegment`, and `secondSegment` + */ + public static String concatenation(String firstSegment, String secondSegment){ + return firstSegment + secondSegment; + } - /** - * @param firstSegment a string to be added to - * @param secondSegment a string to add - * @return the concatenation of an integer, `firstSegment`, and a String, `secondSegment` - */ - public static String concatenation(int firstSegment, String secondSegment){ - return null; - } + /** + * @param firstSegment a string to be added to + * @param secondSegment a string to add + * @return the concatenation of an integer, `firstSegment`, and a String, `secondSegment` + */ + public static String concatenation(int firstSegment, String secondSegment){ + return firstSegment + secondSegment; + //return null; + } - /** - * @param input a string to be manipulated - * @return the first 3 characters of `input` - */ - public static String getPrefix(String input){ - return null; - } + /** + * @param input a string to be manipulated + * @return the first 3 characters of `input` + */ + public static String getPrefix(String input){ + return input.substring(0,3); + } - /** - * @param input a string to be manipulated - * @return the last 3 characters of `input` - */ - public static String getSuffix(String input){ - return null; - } + /** + * @param input a string to be manipulated + * @return the last 3 characters of `input` + */ + public static String getSuffix(String input){ + int lengthString = input.length(); + return input.substring(lengthString-3,lengthString); + } - /** - * @param inputValue the value to be compared - * @param comparableValue the value to be compared against - * @return the equivalence of two strings, `inputValue` and `comparableValue` - */ - public static Boolean compareTwoStrings(String inputValue, String comparableValue){ - return null; - } + /** + * @param inputValue the value to be compared + * @param comparableValue the value to be compared against + * @return the equivalence of two strings, `inputValue` and `comparableValue` + */ + public static Boolean compareTwoStrings(String inputValue, String comparableValue){ + return inputValue.equals(comparableValue); + } - /** - * @param inputValue the value input from user - * @return the middle character of `inputValue` - */ - public static Character getMiddleCharacter(String inputValue){ - return null; - } + /** + * @param inputValue the value input from user + * @return the middle character of `inputValue` + */ + + public static Character getMiddleCharacter(String inputValue){ + int lengthString = inputValue.length(); + int halfString = lengthString / 2; + int option = (halfString%2 == 0) ? 1 : 0; + char middleChar = (inputValue.substring(halfString-option,++halfString-option)).charAt(0); + return middleChar; + } - /** - * @param spaceDelimitedString a string, representative of a sentence, containing spaces - * @return the first sequence of characters - */ - public static String getFirstWord(String spaceDelimitedString){ - return null; - } + /** + * @param spaceDelimitedString a string, representative of a sentence, containing spaces + * @return the first sequence of characters + */ + public static String getFirstWord(String spaceDelimitedString){ + return spaceDelimitedString.split(" ")[0]; + } - /** - * @param spaceDelimitedString a string delimited by spaces - * @return the second word of a string delimited by spaces. - */ - public static String getSecondWord(String spaceDelimitedString){ - return null; - } + /** + * @param spaceDelimitedString a string delimited by spaces + * @return the second word of a string delimited by spaces. + */ + public static String getSecondWord(String spaceDelimitedString){ + return spaceDelimitedString.split(" ")[1]; + } - /** - * @param stringToReverse - * @return an identical string with characters in reverse order. - */ - public static String reverse(String stringToReverse){ - return null; - } + /** + * @param stringToReverse + * @return an identical string with characters in reverse order. + */ + public static String reverse(String stringToReverse){ + int lengthString = stringToReverse.length(); + String[] splitWord = stringToReverse.split(""); + String reverseWord = ""; + for(int i = lengthString-1; i >= 0; i--){ + reverseWord += splitWord[i]; + } + return reverseWord; + } } diff --git a/TestMultiplication.class b/TestMultiplication.class index 6f83618b2cad015acaf96a66464544cc0f16929c..7b388f15f5110162f59826ca34422967e451c0a4 100644 GIT binary patch delta 96 zcmXAg%?dzJ7(|c1?%j|QC9y}cKrB$+&7QKwGbk_UE4wpuX0G52o?W>sHV%;a{-};y o)r&)erX!>$Wgr*Z{u>HPNfrqe6Na=gwU8-~h*`)Yd_BDxA7Ew*bN~PV delta 97 zcmXAg%?dzJ7zM{a3%aFlDX~VfKrB!m&YH629h4XJmED}?%oX49b9m8)jRWLLO)5HX ouUTDM0(vw986$=0?mtmd$+AePnK5ulXoO5DG>edhenWpZK5aJ&l>h($ diff --git a/TestMultiplication.java b/TestMultiplication.java index ca937b5..f74931d 100644 --- a/TestMultiplication.java +++ b/TestMultiplication.java @@ -47,7 +47,7 @@ public void testShortMultiplication() { public void testByteMultiplication() { // : Given byte multiplicand = 16; - byte multiplier = 14; + byte multiplier = 4; byte expectedByte = 64; // : When byte actualByte = mathUtils.multiply(multiplicand, multiplier); diff --git a/package.bluej b/package.bluej index 5ded697..90ab3e9 100644 --- a/package.bluej +++ b/package.bluej @@ -3,18 +3,18 @@ editor.fx.0.height=0 editor.fx.0.width=0 editor.fx.0.x=0 editor.fx.0.y=0 -objectbench.height=129 -objectbench.width=531 +objectbench.height=106 +objectbench.width=837 package.divider.horizontal=0.6397146254458977 -package.divider.vertical=0.8697318007662835 -package.editor.height=901 -package.editor.width=727 -package.editor.x=1440 -package.editor.y=0 -package.frame.height=1080 +package.divider.vertical=0.8493333333333334 +package.editor.height=630 +package.editor.width=735 +package.editor.x=100 +package.editor.y=23 +package.frame.height=808 package.frame.width=861 package.numDependencies=0 -package.numTargets=6 +package.numTargets=9 package.showExtends=true package.showUses=true project.charset=UTF-8 @@ -27,7 +27,6 @@ target1.height=50 target1.name=PredicateUtilities target1.showInterface=false target1.type=ClassTarget -target1.typeParameters= target1.width=130 target1.x=280 target1.y=120 @@ -35,39 +34,55 @@ target2.height=50 target2.name=StringUtilitiesTest target2.showInterface=false target2.type=UnitTestTargetJunit4 -target2.typeParameters= target2.width=140 target2.x=490 target2.y=70 target3.height=50 -target3.name=MathUtilities +target3.name=TestMultiplication target3.showInterface=false -target3.type=ClassTarget -target3.typeParameters= -target3.width=100 -target3.x=60 -target3.y=150 +target3.type=UnitTestTargetJunit4 +target3.width=140 +target3.x=70 +target3.y=60 target4.height=50 -target4.name=PredicateUtilitiesTest +target4.name=TestDivision target4.showInterface=false target4.type=UnitTestTargetJunit4 -target4.typeParameters= -target4.width=160 -target4.x=260 -target4.y=50 +target4.width=100 +target4.x=170 +target4.y=120 target5.height=50 -target5.name=StringUtilities +target5.name=TestSubtraction target5.showInterface=false -target5.type=ClassTarget -target5.typeParameters= -target5.width=110 -target5.x=500 -target5.y=130 +target5.type=UnitTestTargetJunit4 +target5.width=120 +target5.x=10 +target5.y=210 target6.height=50 -target6.name=MathUtilitiesTest +target6.name=MathUtilities target6.showInterface=false -target6.type=UnitTestTargetJunit4 -target6.typeParameters= -target6.width=130 -target6.x=50 -target6.y=90 +target6.type=ClassTarget +target6.width=100 +target6.x=60 +target6.y=150 +target7.height=50 +target7.name=StringUtilities +target7.showInterface=false +target7.type=ClassTarget +target7.width=110 +target7.x=500 +target7.y=130 +target8.height=50 +target8.name=PredicateUtilitiesTest +target8.showInterface=false +target8.type=UnitTestTargetJunit4 +target8.width=160 +target8.x=260 +target8.y=50 +target9.height=50 +target9.name=TestAddition +target9.showInterface=false +target9.type=UnitTestTargetJunit4 +target9.width=100 +target9.x=170 +target9.y=180 From b00b9a41617846ee4256c0f0416848751422b62e Mon Sep 17 00:00:00 2001 From: zipcodeFrancisco <47334502+zipcodeFrancisco@users.noreply.github.com> Date: Sat, 23 Feb 2019 16:47:06 -0500 Subject: [PATCH 2/3] Set theme jekyll-theme-midnight --- _config.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 _config.yml diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..1885487 --- /dev/null +++ b/_config.yml @@ -0,0 +1 @@ +theme: jekyll-theme-midnight \ No newline at end of file From d84265e85170a318fcb6f3e069f7c2851cce8499 Mon Sep 17 00:00:00 2001 From: zipcodeFrancisco Date: Sat, 30 Mar 2019 22:25:13 -0400 Subject: [PATCH 3/3] Cleaning code --- StringUtilities.class | Bin 2427 -> 2429 bytes StringUtilities.java | 12 +++++------- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/StringUtilities.class b/StringUtilities.class index 5d411712ad7e9290777038a5eaae5e5fad7b742b..c8787fb67788576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