@Test public void empty_tuple() { ConstResolver cr = new ConstResolver(); assertEquals("[]", cr.configString()); assertEquals(Integer.MAX_VALUE, cr.getTupleWidth()); assertTrue(cr.getTuples().isEmpty()); }
@Override public String configString() { if (tuples.isEmpty()) return "[]"; return tuples.stream() .map(ResolverTuple::toString) .collect(Collectors.joining(", ", "[ ", " ]")); }
ConstResolver implements Resolver { @Override public String configString() { if (tuples.isEmpty()) return "[]"; return tuples.stream() .map(ResolverTuple::toString) .collect(Collectors.joining(", ", "[ ", " ]")); } }
ConstResolver implements Resolver { @Override public String configString() { if (tuples.isEmpty()) return "[]"; return tuples.stream() .map(ResolverTuple::toString) .collect(Collectors.joining(", ", "[ ", " ]")); } ConstResolver(Collection<ResolverTuple> values);  ConstResolver(ResolverTuple... values); }
ConstResolver implements Resolver { @Override public String configString() { if (tuples.isEmpty()) return "[]"; return tuples.stream() .map(ResolverTuple::toString) .collect(Collectors.joining(", ", "[ ", " ]")); } ConstResolver(Collection<ResolverTuple> values);  ConstResolver(ResolverTuple... values); @Override String configString(); }
ConstResolver implements Resolver { @Override public String configString() { if (tuples.isEmpty()) return "[]"; return tuples.stream() .map(ResolverTuple::toString) .collect(Collectors.joining(", ", "[ ", " ]")); } ConstResolver(Collection<ResolverTuple> values);  ConstResolver(ResolverTuple... values); @Override String configString();  }