All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.pcollections.PVector Maven / Gradle / Ivy

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 list);

  // @Override
  public PVector with(int i, E e);

  // @Override
  public PVector plus(int i, E e);

  // @Override
  public PVector plusAll(int i, Collection 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