org.cipango.diameter
Class AVPList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<AVP<?>>
org.cipango.diameter.AVPList
- All Implemented Interfaces:
- java.lang.Iterable<AVP<?>>, java.util.Collection<AVP<?>>, java.util.List<AVP<?>>
public class AVPList
- extends java.util.AbstractList<AVP<?>>
A list of AVPs. Used for diameter messages and AVP of Grouped type.
- See Also:
Common.__grouped
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, remove, 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 |
AVPList
public AVPList()
get
public <T> AVP<T> get(Type<T> type)
getValue
public <T> T getValue(Type<T> type)
add
public void add(int index,
AVP<?> avp)
- Specified by:
add
in interface java.util.List<AVP<?>>
- Overrides:
add
in class java.util.AbstractList<AVP<?>>
add
public <T> void add(Type<T> type,
T value)
get
public AVP<?> get(int index)
- Specified by:
get
in interface java.util.List<AVP<?>>
- Specified by:
get
in class java.util.AbstractList<AVP<?>>
size
public int size()
- Specified by:
size
in interface java.util.Collection<AVP<?>>
- Specified by:
size
in interface java.util.List<AVP<?>>
- Specified by:
size
in class java.util.AbstractCollection<AVP<?>>
getAVPs
public <T> java.util.Iterator<AVP<T>> getAVPs(Type<T> type)
Copyright © 2010. All Rights Reserved.