diff options
| author | RncLsn <rnc.lsn@gmail.com> | 2015-06-03 19:24:50 +0100 |
|---|---|---|
| committer | RncLsn <rnc.lsn@gmail.com> | 2015-06-03 19:24:50 +0100 |
| commit | a840a197549ced185f212b2aa74abed8774c8b5c (patch) | |
| tree | 91168e111df7245b0cc1bf52c2738597a1a4a2e4 /src/uk/ac/ox/cs/pagoda/query/AnswerTuple.java | |
| parent | b3b822d187a6402a39d30e471fe90a5dfad64312 (diff) | |
| download | ACQuA-a840a197549ced185f212b2aa74abed8774c8b5c.tar.gz ACQuA-a840a197549ced185f212b2aa74abed8774c8b5c.zip | |
Reintroduced extended queries. Successfully tested on LightTests and GapAnswers.
Diffstat (limited to 'src/uk/ac/ox/cs/pagoda/query/AnswerTuple.java')
| -rw-r--r-- | src/uk/ac/ox/cs/pagoda/query/AnswerTuple.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uk/ac/ox/cs/pagoda/query/AnswerTuple.java b/src/uk/ac/ox/cs/pagoda/query/AnswerTuple.java index 9a9d0de..1e5fbd4 100644 --- a/src/uk/ac/ox/cs/pagoda/query/AnswerTuple.java +++ b/src/uk/ac/ox/cs/pagoda/query/AnswerTuple.java | |||
| @@ -49,7 +49,7 @@ public class AnswerTuple { | |||
| 49 | /** | 49 | /** |
| 50 | * It returns the first argument if its arity equals length, a new AnswerTuple otherwise. | 50 | * It returns the first argument if its arity equals length, a new AnswerTuple otherwise. |
| 51 | */ | 51 | */ |
| 52 | public static AnswerTuple getInstance(AnswerTuple extendedTuple, int length) { | 52 | public static AnswerTuple create(AnswerTuple extendedTuple, int length) { |
| 53 | if(length == extendedTuple.getArity()) return extendedTuple; | 53 | if(length == extendedTuple.getArity()) return extendedTuple; |
| 54 | else return new AnswerTuple(extendedTuple, length); | 54 | else return new AnswerTuple(extendedTuple, length); |
| 55 | } | 55 | } |
