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

com.github.grzesiek_galezowski.collections.readonly.interfaces.ReadOnlyCollection Maven / Gradle / Ivy

The newest version!
package com.github.grzesiek_galezowski.collections.readonly.interfaces;

import java.util.Collection;
import java.util.Spliterator;
import java.util.function.IntFunction;
import java.util.stream.Stream;

public interface ReadOnlyCollection {
    int size();

    boolean isEmpty();

    boolean contains(Object o);

    boolean containsAll(Collection c);

    ReadOnlyCollectionIterator iterator();

    Object[] toArray();

     T1[] toArray(T1[] a);

     T1[] toArray(IntFunction intFunction);

    Spliterator spliterator();

    Stream stream();

    Stream parallelStream();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy