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

se.ugli.java.util.ImmutableList Maven / Gradle / Ivy

The newest version!
package se.ugli.java.util;

import java.util.Spliterator;
import java.util.Spliterators;

public interface ImmutableList extends ImmutableCollection {

    E get(int index);

    int indexOf(Object o);

    int lastIndexOf(Object o);

    ImmutableList subList(int fromIndex, int toIndex);

    @Override
    default Spliterator spliterator() {
        return Spliterators.spliterator(this.toArray(), Spliterator.ORDERED);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy