Input[] variety = { sequence(), uid(), fromHeader(), since(),
stringQuoted(), stringUnquoted(), draft(), mailingListHeader(),
on(), unanswered(), };
public static Input sequence() {
IdRange[] range = { new IdRange(100, Long.MAX_VALUE), new IdRange(110),
new IdRange(200, 201), new IdRange(400, Long.MAX_VALUE) };
SearchKey key = SearchKey.buildSequenceSet(IdRange.mergeRanges(Arrays.asList(range)).toArray(new IdRange[0]));
return new Input("*:100,110,200:201,400:*", key);
}