# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Ctors | Methods | Protected Methods | Inherited Methods

# WebBackForwardList

`public abstract class WebBackForwardList`
`extends Object` `implements Cloneable, Serializable`

java.lang.Object
↳ | android.webkit.WebBackForwardList

This class contains the back/forward list for a WebView. WebView.copyBackForwardList() will return a copy of this class used to inspect the entries in the list.

## Summary

### Public constructors
`WebBackForwardList()`

### Public methods
`abstract int` | `getCurrentIndex()` Get the index of the current history item.
`abstract WebHistoryItem` | `getCurrentItem()` Return the current history item.
`abstract WebHistoryItem` | `getItemAtIndex(int index)` Get the history item at the given index.
`abstract int` | `getSize()` Get the total size of the back/forward list.

### Protected methods
`abstract WebBackForwardList` | `clone()` Clone the entire object to be used in the UI thread by clients of WebView.

### Inherited methods
From class `java.lang.Object`
`Object` | `clone()` Creates and returns a copy of this object.
`boolean` | `equals(Object obj)` Indicates whether some other object is "equal to" this one.
`void` | `finalize()` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
`final Class<?>` | `getClass()` Returns the runtime class of this `Object`.
`int` | `hashCode()` Returns a hash code value for the object.
`final void` | `notify()` Wakes up a single thread that is waiting on this object's monitor.
`final void` | `notifyAll()` Wakes up all threads that are waiting on this object's monitor.
`String` | `toString()` Returns a string representation of the object.
`final void` | `wait(long timeout, int nanos)` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object, or some other thread interrupts the current thread, or a certain amount of real time has elapsed.
`final void` | `wait(long timeout)` Causes the current thread to wait until either another thread invokes the `notify()` method or the `notifyAll()` method for this object, or a specified amount of time has elapsed.
`final void` | `wait()` Causes the current thread to wait until another thread invokes the `notify()` method or the `notifyAll()` method for this object.

## Public constructors

### WebBackForwardList

    public WebBackForwardList ()

## Public methods

### getCurrentIndex

    public abstract int getCurrentIndex ()

Get the index of the current history item. This index can be used to directly index into the array list.

Returns
`int` | The current index from 0...n or -1 if the list is empty.

### getCurrentItem

    public abstract WebHistoryItem getCurrentItem ()

Return the current history item. This method returns `null` if the list is empty.

Returns
`WebHistoryItem` | The current history item.

### getItemAtIndex

    public abstract WebHistoryItem getItemAtIndex (int index)

Get the history item at the given index. The index range is from 0...n where 0 is the first item and n is the last item.

Parameters
`index` | `int`: The index to retrieve.

Returns
`WebHistoryItem` |

### getSize

    public abstract int getSize ()

Get the total size of the back/forward list.

Returns
`int` | The size of the list.

## Protected methods

### clone

    protected abstract WebBackForwardList clone ()

Clone the entire object to be used in the UI thread by clients of WebView. This creates a copy that should never be modified by any of the webkit package classes. On Android 4.4 and later there is no need to use this, as the object is already a read-only copy of the internal state.

Returns
`WebBackForwardList` | a clone of this instance.

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*