|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.reasoner.FinderUtil
Some simple helper methods used when working with Finders, particularly to compose them into cascade sequences. The cascades are designed to cope with null Finders as well.
Constructor Summary | |
FinderUtil()
|
Method Summary | |
static Finder |
cascade(Finder first,
Finder second)
Create a continuation object which is a cascade of two continuation objects. |
static Finder |
cascade(Finder first,
Finder second,
Finder third)
Create a continuation object which is a cascade of three continuation objects. |
static Finder |
cascade(Finder first,
Finder second,
Finder third,
Finder fourth)
Create a continuation object which is a cascade of four continuation objects. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FinderUtil()
Method Detail |
public static Finder cascade(Finder first, Finder second)
first
- the first Graph/Finder to trysecond
- the second Graph/Finder to trypublic static Finder cascade(Finder first, Finder second, Finder third)
first
- the first Graph/Finder to trysecond
- the second Graph/Finder to trythird
- the third Graph/Finder to trypublic static Finder cascade(Finder first, Finder second, Finder third, Finder fourth)
first
- the first Graph/Finder to trysecond
- the second Graph/Finder to trythird
- the third Graph/Finder to tryfourth
- the third Graph/Finder to try
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |