org.lobobrowser.util

Class ListSet

Implemented Interfaces:
List, Set

public class ListSet
extends java.lang.Object
implements List, Set

Constructor Summary

ListSet()

Method Summary

boolean
add(Object o)
void
add(int index, Object element)
boolean
addAll(Collection c)
boolean
addAll(int index, Collection c)
void
clear()
boolean
contains(Object o)
boolean
containsAll(Collection c)
boolean
equals(Object other)
Object
get(int index)
int
hashCode()
int
indexOf(Object o)
boolean
isEmpty()
Iterator
iterator()
int
lastIndexOf(Object o)
ListIterator
listIterator()
ListIterator
listIterator(int index)
boolean
remove(Object o)
Object
remove(int index)
boolean
removeAll(Collection c)
boolean
retainAll(Collection c)
Object
set(int index, Object element)
int
size()
List
subList(int fromIndex, int toIndex)
Object[]
toArray()
Object[]
toArray(Object[] a)

Constructor Details

ListSet

public ListSet()

Method Details

add

public boolean add(Object o)

add

public void add(int index,
                Object element)

addAll

public boolean addAll(Collection c)

addAll

public boolean addAll(int index,
                      Collection c)

clear

public void clear()

contains

public boolean contains(Object o)

containsAll

public boolean containsAll(Collection c)

equals

public boolean equals(Object other)

get

public Object get(int index)

hashCode

public int hashCode()

indexOf

public int indexOf(Object o)

isEmpty

public boolean isEmpty()

iterator

public Iterator iterator()

lastIndexOf

public int lastIndexOf(Object o)

listIterator

public ListIterator listIterator()

listIterator

public ListIterator listIterator(int index)

remove

public boolean remove(Object o)

remove

public Object remove(int index)

removeAll

public boolean removeAll(Collection c)

retainAll

public boolean retainAll(Collection c)

set

public Object set(int index,
                  Object element)

size

public int size()

subList

public List subList(int fromIndex,
                    int toIndex)

toArray

public Object[] toArray()

toArray

public Object[] toArray(Object[] a)