public class CountryPathStack extends CountryStack
You can pop from the front.
Constructor and Description |
---|
CountryPathStack() |
Modifier and Type | Method and Description |
---|---|
void |
pushWithValueAndHistory(Country country,
int value,
int[] history) |
int[] |
topHistory() |
isEmpty, pop, push, pushWithValue, size, topValue
public void pushWithValueAndHistory(Country country, int value, int[] history)
public int[] topHistory()