Package algs13
Class MyLinked0
java.lang.Object
algs13.MyLinked0
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
static MyLinked0
boolean
int
static void
private static void
private static void
int
size()
double
private static void
testDeleteFirst
(String expected, String sList) private static void
testEvenIndicesIncreasing
(boolean expected, String sList) private static void
testIsIncreasing
(boolean expected, String sList) private static void
testLengthOfCommonPrefix
(int expected, String sList1, String sList2) private static void
private static void
testSumPositiveElements
(double expected, String sList) toString()
-
Field Details
-
first
-
-
Constructor Details
-
MyLinked0
public MyLinked0()
-
-
Method Details
-
size
-
sumPositiveElements
-
lengthOfCommonPrefix
-
isIncreasing
-
evenIndicesIncreasing
-
deleteFirst
-
main
-
mainDebug
-
mainRunTests
-
toString
-
toStringWithQuadraticPerformance
-
from
-
testSize
-
testSumPositiveElements
-
testDeleteFirst
-
testIsIncreasing
-
testEvenIndicesIncreasing
-
testLengthOfCommonPrefix
-