Exemple #1
0
 def getNumberedTuple(cls, tupleSize):
     """ generated source for method getNumberedTuple """
     result = Lists.newArrayList()
     i = 0
     while i < tupleSize:
         result.add(GdlPool.getVariable("?v" + Integer.toString(i)))
         i += 1
     return result
 def getVariablesTuple(cls, tupleSize):
     """ generated source for method getVariablesTuple """
     varsTuple = Lists.newArrayList()
     i = 0
     while i < tupleSize:
         varsTuple.add(GdlPool.getVariable("?" + i))
         i += 1
     return varsTuple