![JAR search and dependency download from the Maven repository](/logo.png)
org.jhotdraw8.icollection.facade.MapFacade Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.jhotdraw8.icollection Show documentation
Show all versions of org.jhotdraw8.icollection Show documentation
JHotDraw8 Immutable Collections
The newest version!
/*
* @(#)MapFacade.java
* Copyright © 2023 The authors and contributors of JHotDraw. MIT License.
*/
package org.jhotdraw8.icollection.facade;
import org.jhotdraw8.icollection.readonly.ReadOnlyMap;
import org.jspecify.annotations.Nullable;
import java.util.AbstractMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.Spliterator;
import java.util.function.BiFunction;
import java.util.function.Function;
import java.util.function.IntSupplier;
import java.util.function.Predicate;
import java.util.function.Supplier;
/**
* Provides a {@link Map} facade to a set of {@code Map} functions.
*
* @param the key type
* @param the value type
* @author Werner Randelshofer
*/
public class MapFacade extends AbstractMap {
protected final Supplier>> iteratorFunction;
protected final Supplier>> spliteratorFunction;
protected final IntSupplier sizeFunction;
protected final Predicate
© 2015 - 2025 Weber Informatics LLC | Privacy Policy