@Test public void keys() throws Exception { final List<Any2<Integer, String>> keys = nrs.getKeys().collect(Collectors.toList()); assertThat(keys, containsInAnyOrder( Any2.left(0), Any2.left(1) )); }
@Override public Stream<Any2<Integer, String>> getKeys() { return nameResolvers.stream() .flatMap(NameBoundResolver::getKeys); }
NameBoundResolverSet implements NameBoundResolver { @Override public Stream<Any2<Integer, String>> getKeys() { return nameResolvers.stream() .flatMap(NameBoundResolver::getKeys); } }
NameBoundResolverSet implements NameBoundResolver { @Override public Stream<Any2<Integer, String>> getKeys() { return nameResolvers.stream() .flatMap(NameBoundResolver::getKeys); } NameBoundResolverSet(@NonNull Collection<NameBoundResolver> nameResolvers);  NameBoundResolverSet(NameBoundResolver... nameResolvers); }
NameBoundResolverSet implements NameBoundResolver { @Override public Stream<Any2<Integer, String>> getKeys() { return nameResolvers.stream() .flatMap(NameBoundResolver::getKeys); } NameBoundResolverSet(@NonNull Collection<NameBoundResolver> nameResolvers);  NameBoundResolverSet(NameBoundResolver... nameResolvers); @Override Stream<NamedResolverMap> resolve(); @Override Stream<Any2<Integer, String>> getKeys(); @Override String configString(); @Override boolean isEmpty(); @Override void close(); }
NameBoundResolverSet implements NameBoundResolver { @Override public Stream<Any2<Integer, String>> getKeys() { return nameResolvers.stream() .flatMap(NameBoundResolver::getKeys); } NameBoundResolverSet(@NonNull Collection<NameBoundResolver> nameResolvers);  NameBoundResolverSet(NameBoundResolver... nameResolvers); @Override Stream<NamedResolverMap> resolve(); @Override Stream<Any2<Integer, String>> getKeys(); @Override String configString(); @Override boolean isEmpty(); @Override void close();  }