@Test public void getOrIgnoreInvalidItemByObjectKeyThenReturnEmptyMaybe() { TypedMap<Integer> map = new TypedMap<>(new HashMap<Object,Integer>()); assertNull(map.getOrIgnore(new A()).blockingGet()); }
@NonNull Maybe<V> getOrIgnore(Object key) { return get(key).toMaybe().onErrorComplete(); }
TypedMap implements Iterable<Entry<Object, V>> { @NonNull Maybe<V> getOrIgnore(Object key) { return get(key).toMaybe().onErrorComplete(); } }
TypedMap implements Iterable<Entry<Object, V>> { @NonNull Maybe<V> getOrIgnore(Object key) { return get(key).toMaybe().onErrorComplete(); } TypedMap(Map<Object, V> map); }
TypedMap implements Iterable<Entry<Object, V>> { @NonNull Maybe<V> getOrIgnore(Object key) { return get(key).toMaybe().onErrorComplete(); } TypedMap(Map<Object, V> map); @NonNull TypedMap<V> clear(); @Override @NonNull Iterator<Entry<Object, V>> iterator(); }
TypedMap implements Iterable<Entry<Object, V>> { @NonNull Maybe<V> getOrIgnore(Object key) { return get(key).toMaybe().onErrorComplete(); } TypedMap(Map<Object, V> map); @NonNull TypedMap<V> clear(); @Override @NonNull Iterator<Entry<Object, V>> iterator();  }