![JAR search and dependency download from the Maven repository](/logo.png)
com.github.atdixon.vivean.swipe.ConsPStack Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vivean Show documentation
Show all versions of vivean Show documentation
Work immutably, robustly and in a knowledge-oriented way with Entity maps in Java.
The newest version!
package org.pcollections;
import java.util.AbstractSequentialList;
import java.util.Collection;
import java.util.Iterator;
import java.util.ListIterator;
/**
*
* A simple persistent stack of non-null values.
*
* This implementation is thread-safe (assuming Java's AbstractSequentialList is thread-safe),
* although its iterators may not be.
*
* @author harold
*
* @param
*/
public final class ConsPStack extends AbstractSequentialList implements PStack {
//// STATIC FACTORY METHODS ////
private static final ConsPStack
© 2015 - 2025 Weber Informatics LLC | Privacy Policy