Package algs14
Class MyDequeUsingStacks<T>
java.lang.Object
algs14.MyDequeUsingStacks<T>
-
Field Summary
Modifier and TypeFieldDescription(package private) ResizingArrayStack
<T> (package private) ResizingArrayStack
<T> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
private void
private void
private static void
boolean
isEmpty()
static void
private void
move
(ResizingArrayStack<T> from, ResizingArrayStack<T> to) private static void
popLeft()
popRight()
void
void
int
size()
private static double
timeTrial
(int N) toString()
-
Field Details
-
sl
-
sr
-
-
Constructor Details
-
MyDequeUsingStacks
public MyDequeUsingStacks()
-
-
Method Details