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

com.artclod.common.collect.ImFList Maven / Gradle / Ivy

package com.artclod.common.collect;

import java.util.Collection;
import java.util.Comparator;
import java.util.function.Predicate;
import java.util.function.UnaryOperator;

public interface ImFList extends ImFCollection, FList {

	public FList toMu();
	
	// ==== Copy modifiers ====

	ImFList addCp(E e);

	ImFList removeCp(Object o);

	ImFList addAllCp(Collection c);

	ImFList addAllCp(int index, Collection c);

	ImFList removeAllCp(Collection c);

	ImFList retainAllCp(Collection c);

	ImFList replaceAllCp(UnaryOperator operator);

	ImFList sortCp(Comparator c);

	ImFList setCp(int index, E element);

	ImFList addCp(int index, E element);

	ImFList removeCp(int index);

	ImFList removeIfCp(Predicate filter);
	
	// ==== Unsupported modifiers ====
	
	@Deprecated
	boolean add(E e);

	@Deprecated
	boolean remove(Object o);

	@Deprecated
	boolean addAll(Collection c);

	@Deprecated
	boolean addAll(int index, Collection c);

	@Deprecated
	boolean removeAll(Collection c);

	@Deprecated
	boolean retainAll(Collection c);

	@Deprecated
	void replaceAll(UnaryOperator operator);

	@Deprecated
	void sort(Comparator c);

	@Deprecated
	void clear();

	@Deprecated
	E set(int index, E element);

	@Deprecated
	void add(int index, E element);

	@Deprecated
	E remove(int index);

	@Deprecated
	boolean removeIf(Predicate filter);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy