
com.vladsch.flexmark.experimental.util.collection.NullCollectionHost Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flexmark-util-experimental Show documentation
Show all versions of flexmark-util-experimental Show documentation
Contains experimental classes that may or may not work in all cases. Use at your own risk.
The newest version!
package com.vladsch.flexmark.experimental.util.collection;
import com.vladsch.flexmark.util.collection.CollectionHost;
import org.jetbrains.annotations.Nullable;
public class NullCollectionHost implements CollectionHost {
// @formatter:off
@Override public void adding(int index, @Nullable K k, @Nullable Object v) { }
@Override public K removing(int index, @Nullable Object o) { return null; }
@Override public void clearing() { }
@Override public void addingNulls(int index) { }
@Override public boolean skipHostUpdate() { return false; }
@Override public int getIteratorModificationCount() { return 0; }
// @formatter:on
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy