/** recursively get the values stored for the given {@code index} and {@code keys}, including keys */ private Iterable<String> getAllIncluding(String index, Iterable<String> keys, IterableChain<String> result) { result.addAll(keys); for (String key : keys) { Iterable<String> values = get(index, key); if (values.iterator().hasNext()) { getAllIncluding(index, values, result); } } return result; }
/** recursively get the values stored for the given {@code index} and {@code keys}, including keys */ private Iterable<String> getAllIncluding(String index, Iterable<String> keys, IterableChain<String> result) { result.addAll(keys); for (String key : keys) { Iterable<String> values = get(index, key); if (values.iterator().hasNext()) { getAllIncluding(index, values, result); } } return result; }
/** recursively get the values stored for the given {@code index} and {@code keys}, not including keys */ public Iterable<String> getAll(String index, String key) { return getAllIncluding(index, get(index, key), new IterableChain<String>()); }
/** recursively get the values stored for the given {@code index} and {@code keys}, not including keys */ public Iterable<String> getAll(String index, Iterable<String> keys) { return getAllIncluding(index, get(index, keys), new IterableChain<String>()); }
/** recursively get the values stored for the given {@code index} and {@code keys}, not including keys */ public Iterable<String> getAll(String index, String key) { return getAllIncluding(index, get(index, key), new IterableChain<String>()); }
/** recursively get the values stored for the given {@code index} and {@code keys}, not including keys */ public Iterable<String> getAll(String index, Iterable<String> keys) { return getAllIncluding(index, get(index, keys), new IterableChain<String>()); }
/** recursively get the values stored for the given {@code index} and {@code keys}, including keys */ private Iterable<String> getAllIncluding(String index, Iterable<String> keys, IterableChain<String> result) { result.addAll(keys); for (String key : keys) { Iterable<String> values = get(index, key); if (values.iterator().hasNext()) { getAllIncluding(index, values, result); } } return result; }
/** recursively get the values stored for the given {@code index} and {@code keys}, including keys */ private Iterable<String> getAllIncluding(String index, Iterable<String> keys, IterableChain<String> result) { result.addAll(keys); for (String key : keys) { Iterable<String> values = get(index, key); if (values.iterator().hasNext()) { getAllIncluding(index, values, result); } } return result; }
private Iterable<String> getAllIncluding(String index , Iterable<String> keys , IterableChain<String> result) { result.addAll(keys); for (String key : keys) { Iterable<String> values = get(index , key); if (values.iterator().hasNext()) { getAllIncluding(index , values , result); } } return result; }
/** recursively get the values stored for the given {@code index} and {@code keys}, not including keys */ public Iterable<String> getAll(String index, String key) { return getAllIncluding(index, get(index, key), new IterableChain<String>()); }
/** recursively get the values stored for the given {@code index} and {@code keys}, not including keys */ public Iterable<String> getAll(String index, Iterable<String> keys) { return getAllIncluding(index, get(index, keys), new IterableChain<String>()); }
/** recursively get the values stored for the given {@code index} and {@code keys}, not including keys */ public Iterable<String> getAll(String index, Iterable<String> keys) { return getAllIncluding(index, get(index, keys), new IterableChain<String>()); }
/** recursively get the values stored for the given {@code index} and {@code keys}, not including keys */ public Iterable<String> getAll(String index, String key) { return getAllIncluding(index, get(index, key), new IterableChain<String>()); }
public Iterable<String> getAll(String index , Iterable<String> keys) { return getAllIncluding(index , get(index , keys) , new IterableChain<>()); }
public Iterable<String> getAll(String index , String key) { return getAllIncluding(index , get(index , key) , new IterableChain<>()); }