Summary: Methods | Inherited Methods | [Expand All]

# TreeIterables.ViewAndDistance

`public static class TreeIterables.ViewAndDistance`
`extends Object` ``

java.lang.Object
↳ | android.support.test.espresso.util.TreeIterables.ViewAndDistance

Represents the distance a given view is from the root view.

## Summary

### Public methods
`int` | `getDistanceFromRoot()`
`View` | `getView()`

### Inherited methods
From class `java.lang.Object`
`Object` | `clone()`
`boolean` | `equals(Object arg0)`
`void` | `finalize()`
`final Class<?>` | `getClass()`
`int` | `hashCode()`
`final void` | `notify()`
`final void` | `notifyAll()`
`String` | `toString()`
`final void` | `wait(long arg0, int arg1)`
`final void` | `wait(long arg0)`
`final void` | `wait()`

## Public methods

### getDistanceFromRoot

    int getDistanceFromRoot ()

Returns
`int` |

### getView

    View getView ()

Returns
`View` |

- ## Classes

  - ActivityLifecycles
  - HumanReadables
  - TreeIterables
  - TreeIterables.ViewAndDistance