org.japura.util
Class WeakList<T>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<T>
org.japura.util.WeakList<T>
- All Implemented Interfaces:
- java.lang.Iterable<T>, java.util.Collection<T>, java.util.List<T>
public class WeakList<T>
- extends java.util.AbstractList<T>
Copyright (C) 2011 Carlos Eduardo Leite de Andrade
This library is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see www.gnu.org/licenses/
For more information, contact: www.japura.org
- Author:
- Carlos Eduardo Leite de Andrade
| Fields inherited from class java.util.AbstractList |
modCount |
| Methods inherited from class java.util.AbstractList |
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, set, subList |
| Methods inherited from class java.util.AbstractCollection |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
WeakList
public WeakList()
add
public boolean add(T obj)
- Specified by:
add in interface java.util.Collection<T>- Specified by:
add in interface java.util.List<T>- Overrides:
add in class java.util.AbstractList<T>
get
public T get(int index)
- Specified by:
get in interface java.util.List<T>- Specified by:
get in class java.util.AbstractList<T>
size
public int size()
- Specified by:
size in interface java.util.Collection<T>- Specified by:
size in interface java.util.List<T>- Specified by:
size in class java.util.AbstractCollection<T>
remove
public T remove(int index)
- Specified by:
remove in interface java.util.List<T>- Overrides:
remove in class java.util.AbstractList<T>