uk.ac.soton.ecs.grimoires.server.rdql
Class SimpleVariableGenerator
java.lang.Object
uk.ac.soton.ecs.grimoires.server.rdql.SimpleVariableGenerator
- All Implemented Interfaces:
- VariableGenerator
- public class SimpleVariableGenerator
- extends Object
- implements VariableGenerator
- Author:
- sm
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleVariableGenerator
public SimpleVariableGenerator(String defaultPrefix)
next
public String next()
- Specified by:
next in interface VariableGenerator
- Returns:
- the name of a new variable for the current query.
next
public String next(String chosenPrefix)
- Specified by:
next in interface VariableGenerator
- Returns:
- the name of a new variable starting with string s for the current query.