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

java.util.List Maven / Gradle / Ivy

/*******************************************************************************
 * Copyright (c) 2011-2014 Fernando Petrola
 * 
 *  This file is part of Dragome SDK.
 * 
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Public License v3.0
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/gpl.html
 ******************************************************************************/
package java.util;

public interface List extends Collection
{
	int size();

	boolean isEmpty();

	boolean contains(Object o);

	Iterator iterator();

	Object[] toArray();

	 T[] toArray(T[] a);

	boolean add(E e);

	boolean remove(Object o);

	boolean containsAll(Collection c);

	boolean addAll(Collection c);

	boolean addAll(int index, Collection c);

	boolean removeAll(Collection c);

	boolean retainAll(Collection c);

	void clear();

	boolean equals(Object o);

	int hashCode();

	E get(int index);

	E set(int index, E element);

	void add(int index, E element);

	E remove(int index);

	int indexOf(Object o);

	int lastIndexOf(Object o);

	ListIterator listIterator();

	ListIterator listIterator(int index);

	List subList(int fromIndex, int toIndex);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy