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

com.github.atdixon.vroom.swipe.POrderedSet Maven / Gradle / Ivy

Go to download

Work immutably, robustly and in a knowledge-oriented way with Entity maps in Java.

The newest version!
package org.pcollections;

import java.util.Collection;
import java.util.LinkedHashSet;

/**
 * Like {@link PSet} but preserves insertion order. Persistent equivalent of
 * {@link LinkedHashSet}.
 * 
 * @author Tassilo Horn <[email protected]>
 * 
 * @param 
 */
public interface POrderedSet extends PSet {

	public POrderedSet plus(E e);

	public POrderedSet plusAll(Collection list);

	public POrderedSet minus(Object e);

	public POrderedSet minusAll(Collection list);

	E get(int index);

	int indexOf(Object o);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy