public class SailUtil extends Object
Constructor and Description |
---|
SailUtil() |
Modifier and Type | Method and Description |
---|---|
static <C extends Sail> |
findSailInStack(Sail topSail,
Class<C> sailClass)
Searches a stack of Sails from top to bottom for a Sail that is an instance of the suppied class or interface.
|
public static <C extends Sail> C findSailInStack(Sail topSail, Class<C> sailClass)
topSail
- The top of the Sail stack.sailClass
- A class or interface.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.