This source file includes following definitions.
- addEntry
- setCurrentEntryIndex
- getEntryCount
- getEntryAtIndex
- getCurrentEntryIndex
package org.chromium.content.browser;
import java.util.ArrayList;
public class NavigationHistory {
private ArrayList<NavigationEntry> mEntries = new ArrayList<NavigationEntry>();
private int mCurrentEntryIndex;
protected void addEntry(NavigationEntry entry) {
mEntries.add(entry);
}
void setCurrentEntryIndex(int currentEntryIndex) {
mCurrentEntryIndex = currentEntryIndex;
}
public int getEntryCount() {
return mEntries.size();
}
public NavigationEntry getEntryAtIndex(int index) {
return mEntries.get(index);
}
public int getCurrentEntryIndex() {
return mCurrentEntryIndex;
}
}