/*
* Copyright (c) 2008 Harold Cooper. All rights reserved.
* Licensed under the MIT License.
* See LICENSE file in the project root for full license information.
*/
package org.pcollections;
import java.util.Collection;
import java.util.Set;
An immutable, persistent set, containing no duplicate elements.
Author: harold Type parameters: - <E> –
/**
* An immutable, persistent set, containing no duplicate elements.
*
* @author harold
* @param <E>
*/
public interface PSet<E> extends PCollection<E>, Set<E> {
// @Override
public PSet<E> plus(E e);
// @Override
public PSet<E> plusAll(Collection<? extends E> list);
// @Override
public PSet<E> minus(Object e);
// @Override
public PSet<E> minusAll(Collection<?> list);
}