Remove the object cache
[yangtools.git] / third-party / triemap / src / main / java / org / opendaylight / yangtools / triemap / MutableKeySet.java
index 9cb72b079f8374b11636c4feb6186f379a60cc4f..1910cb1ebf2b8e77f396e1115be12065c852e927 100644 (file)
@@ -16,6 +16,7 @@
 package org.opendaylight.yangtools.triemap;
 
 import java.util.Iterator;
+import java.util.Spliterator;
 
 /**
  * A mutable view of a TrieMap's key set.
@@ -60,4 +61,9 @@ final class MutableKeySet<K> extends AbstractKeySet<K> {
     public boolean remove(final Object o) {
         return map().remove(o) != null;
     }
+
+    @Override
+    int spliteratorCharacteristics() {
+        return Spliterator.DISTINCT | Spliterator.CONCURRENT | Spliterator.NONNULL;
+    }
 }