Class DeciderIFWrapper<T>
- java.lang.Object
-
- net.ontopia.topicmaps.nav2.impl.basic.DeciderIFWrapper<T>
-
- All Implemented Interfaces:
NavigatorDeciderIF<T>
public class DeciderIFWrapper<T> extends Object implements NavigatorDeciderIF<T>
INTERNAL: A NavigatorDeciderIF implementation which wraps DeciderIF, so that they can work with the navigator decider interface.
-
-
Constructor Summary
Constructors Constructor Description DeciderIFWrapper(Predicate<T> decider)
INTERNAL: Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
ok(NavigatorPageIF contextTag, T obj)
INTERNAL: if implemented criteria are matched: deliver true, otherwise false.
-
-
-
Method Detail
-
ok
public boolean ok(NavigatorPageIF contextTag, T obj)
Description copied from interface:NavigatorDeciderIF
INTERNAL: if implemented criteria are matched: deliver true, otherwise false.- Specified by:
ok
in interfaceNavigatorDeciderIF<T>
-
-