Package org.apache.jena.reasoner
Class FinderUtil
java.lang.Object
org.apache.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
-
Method Summary
Modifier and TypeMethodDescriptionstatic Finder
Create a continuation object which is a cascade of two continuation objects.static Finder
Create a continuation object which is a cascade of three continuation objects.static Finder
Create a continuation object which is a cascade of four continuation objects.
-
Constructor Details
-
FinderUtil
public FinderUtil()
-
-
Method Details
-
cascade
Create a continuation object which is a cascade of two continuation objects.- Parameters:
first
- the first Graph/Finder to trysecond
- the second Graph/Finder to try
-
cascade
Create a continuation object which is a cascade of three continuation objects.- Parameters:
first
- the first Graph/Finder to trysecond
- the second Graph/Finder to trythird
- the third Graph/Finder to try
-
cascade
Create a continuation object which is a cascade of four continuation objects.- Parameters:
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
-