Commits

Stepan Koltsov  committed 3abc1e7

MapF.containsKeyF

requested by Dmitry K

  • Participants
  • Parent commits 5e04d95

Comments (0)

Files changed (2)

File src/main/java/ru/yandex/bolts/collection/MapF.java

     boolean containsKeyTs(K key);
     boolean containsKeyTu(Object key);
 
+    Function1B<K> containsKeyF();
+
     /** @deprecated */
     @Override
     boolean containsValue(Object value);

File src/main/java/ru/yandex/bolts/collection/impl/AbstractMapF.java

     }
 
     @Override
+    public Function1B<K> containsKeyF() {
+        return keySet().containsF();
+    }
+
+    @Override
     public boolean containsValueTs(V value) {
         return containsValue(value);
     }