public interface ActivityHierarchy
Modifier and Type | Method and Description |
---|---|
ActivityHandle |
activity(int index) |
ActivityHierarchy |
copy()
Obtain a copy of this context.
|
ActivityHandle |
current() |
boolean |
equals(Object obj)
Overrides Object.equals
Two contexts are equal if both hierarchies are identical.
|
int |
hashCode()
Although users won't typically care what the underlying implementation
of a context is, they will need to do comparisons.
|
int |
size() |
boolean |
valid() |
int size()
boolean valid()
ActivityHandle activity(int index) throws IndexOutOfBoundsException
index
- index of the specific activity in the stack.IndexOutOfBoundsException
- Thrown if the activity number
is too large or small.ActivityHandle current()
ActivityHierarchy copy()
boolean equals(Object obj)
int hashCode()
Copyright © 2018 JBoss by Red Hat. All rights reserved.