ObservableArrayList
public
class
ObservableArrayList
extends ArrayList<T>
implements
ObservableList<T>
An ObservableList
implementation using ArrayList as an implementation.
Summary
Inherited fields |
From
class
java.util.AbstractList
|
Protected methods |
void
|
removeRange(int fromIndex, int toIndex)
|
Inherited methods |
From
class
java.util.ArrayList
boolean
|
add(T arg0)
|
void
|
add(int arg0, T arg1)
|
boolean
|
addAll(Collection<? extends E> arg0)
|
boolean
|
addAll(int arg0, Collection<? extends E> arg1)
|
void
|
clear()
|
Object
|
clone()
|
boolean
|
contains(Object arg0)
|
void
|
ensureCapacity(int arg0)
|
void
|
forEach(Consumer<? super E> arg0)
|
T
|
get(int arg0)
|
int
|
indexOf(Object arg0)
|
boolean
|
isEmpty()
|
Iterator<T>
|
iterator()
|
int
|
lastIndexOf(Object arg0)
|
ListIterator<T>
|
listIterator(int arg0)
|
ListIterator<T>
|
listIterator()
|
T
|
remove(int arg0)
|
boolean
|
remove(Object arg0)
|
boolean
|
removeAll(Collection<?> arg0)
|
boolean
|
removeIf(Predicate<? super E> arg0)
|
void
|
removeRange(int arg0, int arg1)
|
void
|
replaceAll(UnaryOperator<T> arg0)
|
boolean
|
retainAll(Collection<?> arg0)
|
T
|
set(int arg0, T arg1)
|
int
|
size()
|
void
|
sort(Comparator<? super E> arg0)
|
Spliterator<T>
|
spliterator()
|
List<T>
|
subList(int arg0, int arg1)
|
Object[]
|
toArray()
|
<T>
T[]
|
toArray(T[] arg0)
|
void
|
trimToSize()
|
|
From
class
java.util.AbstractList
void
|
add(int arg0, T arg1)
|
boolean
|
add(T arg0)
|
boolean
|
addAll(int arg0, Collection<? extends E> arg1)
|
void
|
clear()
|
boolean
|
equals(Object arg0)
|
abstract
T
|
get(int arg0)
|
int
|
hashCode()
|
int
|
indexOf(Object arg0)
|
Iterator<T>
|
iterator()
|
int
|
lastIndexOf(Object arg0)
|
ListIterator<T>
|
listIterator(int arg0)
|
ListIterator<T>
|
listIterator()
|
T
|
remove(int arg0)
|
void
|
removeRange(int arg0, int arg1)
|
T
|
set(int arg0, T arg1)
|
List<T>
|
subList(int arg0, int arg1)
|
|
From
class
java.util.AbstractCollection
boolean
|
add(T arg0)
|
boolean
|
addAll(Collection<? extends E> arg0)
|
void
|
clear()
|
boolean
|
contains(Object arg0)
|
boolean
|
containsAll(Collection<?> arg0)
|
boolean
|
isEmpty()
|
abstract
Iterator<T>
|
iterator()
|
boolean
|
remove(Object arg0)
|
boolean
|
removeAll(Collection<?> arg0)
|
boolean
|
retainAll(Collection<?> arg0)
|
abstract
int
|
size()
|
<T>
T[]
|
toArray(T[] arg0)
|
Object[]
|
toArray()
|
String
|
toString()
|
|
From
class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From
interface
java.util.List
abstract
boolean
|
add(T arg0)
|
abstract
void
|
add(int arg0, T arg1)
|
abstract
boolean
|
addAll(Collection<? extends E> arg0)
|
abstract
boolean
|
addAll(int arg0, Collection<? extends E> arg1)
|
abstract
void
|
clear()
|
abstract
boolean
|
contains(Object arg0)
|
abstract
boolean
|
containsAll(Collection<?> arg0)
|
abstract
boolean
|
equals(Object arg0)
|
abstract
T
|
get(int arg0)
|
abstract
int
|
hashCode()
|
abstract
int
|
indexOf(Object arg0)
|
abstract
boolean
|
isEmpty()
|
abstract
Iterator<T>
|
iterator()
|
abstract
int
|
lastIndexOf(Object arg0)
|
abstract
ListIterator<T>
|
listIterator(int arg0)
|
abstract
ListIterator<T>
|
listIterator()
|
abstract
T
|
remove(int arg0)
|
abstract
boolean
|
remove(Object arg0)
|
abstract
boolean
|
removeAll(Collection<?> arg0)
|
default
void
|
replaceAll(UnaryOperator<T> arg0)
|
abstract
boolean
|
retainAll(Collection<?> arg0)
|
abstract
T
|
set(int arg0, T arg1)
|
abstract
int
|
size()
|
default
void
|
sort(Comparator<? super E> arg0)
|
default
Spliterator<T>
|
spliterator()
|
abstract
List<T>
|
subList(int arg0, int arg1)
|
abstract
Object[]
|
toArray()
|
abstract
<T>
T[]
|
toArray(T[] arg0)
|
|
From
interface
java.util.Collection
abstract
boolean
|
add(T arg0)
|
abstract
boolean
|
addAll(Collection<? extends E> arg0)
|
abstract
void
|
clear()
|
abstract
boolean
|
contains(Object arg0)
|
abstract
boolean
|
containsAll(Collection<?> arg0)
|
abstract
boolean
|
equals(Object arg0)
|
abstract
int
|
hashCode()
|
abstract
boolean
|
isEmpty()
|
abstract
Iterator<T>
|
iterator()
|
default
Stream<T>
|
parallelStream()
|
abstract
boolean
|
remove(Object arg0)
|
abstract
boolean
|
removeAll(Collection<?> arg0)
|
default
boolean
|
removeIf(Predicate<? super E> arg0)
|
abstract
boolean
|
retainAll(Collection<?> arg0)
|
abstract
int
|
size()
|
default
Spliterator<T>
|
spliterator()
|
default
Stream<T>
|
stream()
|
abstract
<T>
T[]
|
toArray(T[] arg0)
|
abstract
Object[]
|
toArray()
|
|
From
interface
android.databinding.ObservableList
|
From
interface
java.lang.Iterable
|
From
interface
java.util.List
abstract
boolean
|
add(T arg0)
|
abstract
void
|
add(int arg0, T arg1)
|
abstract
boolean
|
addAll(Collection<? extends E> arg0)
|
abstract
boolean
|
addAll(int arg0, Collection<? extends E> arg1)
|
abstract
void
|
clear()
|
abstract
boolean
|
contains(Object arg0)
|
abstract
boolean
|
containsAll(Collection<?> arg0)
|
abstract
boolean
|
equals(Object arg0)
|
abstract
T
|
get(int arg0)
|
abstract
int
|
hashCode()
|
abstract
int
|
indexOf(Object arg0)
|
abstract
boolean
|
isEmpty()
|
abstract
Iterator<T>
|
iterator()
|
abstract
int
|
lastIndexOf(Object arg0)
|
abstract
ListIterator<T>
|
listIterator(int arg0)
|
abstract
ListIterator<T>
|
listIterator()
|
abstract
T
|
remove(int arg0)
|
abstract
boolean
|
remove(Object arg0)
|
abstract
boolean
|
removeAll(Collection<?> arg0)
|
default
void
|
replaceAll(UnaryOperator<T> arg0)
|
abstract
boolean
|
retainAll(Collection<?> arg0)
|
abstract
T
|
set(int arg0, T arg1)
|
abstract
int
|
size()
|
default
void
|
sort(Comparator<? super E> arg0)
|
default
Spliterator<T>
|
spliterator()
|
abstract
List<T>
|
subList(int arg0, int arg1)
|
abstract
Object[]
|
toArray()
|
abstract
<T>
T[]
|
toArray(T[] arg0)
|
|
Public constructors
ObservableArrayList
ObservableArrayList ()
Public methods
add
boolean add (T object)
add
void add (int index,
T object)
Parameters |
index |
int |
object |
T |
addAll
boolean addAll (Collection<? extends T> collection)
Parameters |
collection |
Collection |
addAll
boolean addAll (int index,
Collection<? extends T> collection)
Parameters |
index |
int |
collection |
Collection |
addOnListChangedCallback
void addOnListChangedCallback (OnListChangedCallback listener)
Parameters |
listener |
OnListChangedCallback |
remove
T remove (int index)
remove
boolean remove (Object object)
removeOnListChangedCallback
void removeOnListChangedCallback (OnListChangedCallback listener)
Parameters |
listener |
OnListChangedCallback |
set
T set (int index,
T object)
Parameters |
index |
int |
object |
T |
Protected methods
removeRange
void removeRange (int fromIndex,
int toIndex)
Parameters |
fromIndex |
int |
toIndex |
int |