
org.eclipse.equinox.internal.p2.metadata.IUMap Maven / Gradle / Ivy
The newest version!
/*******************************************************************************
* Copyright (c) 2009, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
* Cloudsmith Inc. - rewrite for smaller memory footprint
*******************************************************************************/
package org.eclipse.equinox.internal.p2.metadata;
import java.util.*;
import java.util.Map.Entry;
import org.eclipse.equinox.internal.p2.core.helpers.CollectionUtils;
import org.eclipse.equinox.p2.core.IPool;
import org.eclipse.equinox.p2.metadata.IInstallableUnit;
import org.eclipse.equinox.p2.metadata.Version;
import org.eclipse.equinox.p2.query.*;
/**
* A map that stores {@link IInstallableUnit} instances in a way that is efficient to query
*/
public class IUMap implements Cloneable {
/**
* Iterator over all the {@link IInstallableUnit} instances in the map.
*/
public class MapIterator implements Iterator {
//iterator over the keys in UIMap
private final Iterator
© 2015 - 2025 Weber Informatics LLC | Privacy Policy