public final class ComposeStackUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Object |
findAncestorWithClass(ArrayStack<Object> composeStack,
Class<?> clazz)
Finds the first ancestor in the stack, that is assignable to the given class.
|
public static Object findAncestorWithClass(ArrayStack<Object> composeStack, Class<?> clazz)
composeStack
- The compose stack to evaluate.clazz
- The class to check.Copyright © 2016. All rights reserved.