public static class HTMLTagBalancer.InfoStack extends Object
Modifier and Type | Field and Description |
---|---|
HTMLTagBalancer.Info[] |
data
The stack data.
|
int |
top
The top of the stack.
|
Constructor and Description |
---|
InfoStack() |
Modifier and Type | Method and Description |
---|---|
HTMLTagBalancer.Info |
peek()
Peeks at the top of the stack.
|
HTMLTagBalancer.Info |
pop()
Pops the top item off of the stack.
|
void |
push(HTMLTagBalancer.Info info)
Pushes element information onto the stack.
|
String |
toString()
Simple representation to make debugging easier
|
public int top
public HTMLTagBalancer.Info[] data
public void push(HTMLTagBalancer.Info info)
public HTMLTagBalancer.Info peek()
public HTMLTagBalancer.Info pop()
Copyright © 2018. All rights reserved.