Interface GeckoSession.HistoryDelegate.HistoryList

All Superinterfaces:
Collection<GeckoSession.HistoryDelegate.HistoryItem>, Iterable<GeckoSession.HistoryDelegate.HistoryItem>, List<GeckoSession.HistoryDelegate.HistoryItem>
All Known Implementing Classes:
GeckoSession.SessionState
Enclosing interface:
GeckoSession.HistoryDelegate

public static interface GeckoSession.HistoryDelegate.HistoryList extends List<GeckoSession.HistoryDelegate.HistoryItem>
A representation of browser history, accessible as a `List`. The list itself and its entries are immutable; any attempt to mutate will result in an `UnsupportedOperationException`.
  • Method Details

    • getCurrentIndex

      @AnyThread default int getCurrentIndex()
      Get the current index in browser history.
      Returns:
      An int representing the current index in browser history.