Package algs14
Class XPerformanceOfStrings
java.lang.Object
algs14.XPerformanceOfStrings
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static String
makeStringUsingBuffer
(int N) create a string consisting of N asterisksstatic String
makeStringUsingConcat
(int N) create a string consisting of N asterisksstatic double
timeTrial
(int N)
-
Field Details
-
ops
-
result
-
-
Constructor Details
-
XPerformanceOfStrings
public XPerformanceOfStrings()
-
-
Method Details
-
makeStringUsingConcat
create a string consisting of N asterisks -
makeStringUsingBuffer
create a string consisting of N asterisks -
main
-
timeTrial
-