org.pcollections.PVector Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pcollections Show documentation
Show all versions of pcollections Show documentation
A Persistent Java Collections Library
The newest version!
/*
* 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;
/**
* An immutable, persistent list.
*
* @author harold
* @param
*/
public interface PVector extends PSequence {
/** Returns a vector consisting of the elements of this with e appended. */
// @Override
public PVector plus(E e);
/** Returns a vector consisting of the elements of this with list appended. */
// @Override
public PVector plusAll(Collection extends E> list);
// @Override
public PVector with(int i, E e);
// @Override
public PVector plus(int i, E e);
// @Override
public PVector plusAll(int i, Collection extends E> list);
// @Override
public PVector minus(Object e);
// @Override
public PVector minusAll(Collection> list);
// @Override
public PVector minus(int i);
// @Override
public PVector subList(int start, int end);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy