Class IteratedList<T>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<T>
ee.jakarta.tck.ws.rs.spec.client.webtarget.IteratedList<T>
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<T>,Collection<T>,List<T>,RandomAccess
A RandomAccess collection of objects upon each a certain method is called
creating object of the same type. Created objects are put into the collection
after the method is called on each item in the collection
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcallMethodWithArgs(T t, String methodName, Object... args) protected voidvoidFor each member of the collection call given method with arguments Add newly created items into a collection afterwardsprotected MethodfindTargetMethodByNameAndArgs(String name, Object... args) protected booleanisMethodOfArguments(Method m, Object... args) Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll
-
Field Details
-
clazz
-
-
Constructor Details
-
IteratedList
-
-
Method Details
-
doWithAll
For each member of the collection call given method with arguments Add newly created items into a collection afterwards- Throws:
JAXRSCommonClient.Fault
-
doLog
-
callMethodWithArgs
protected void callMethodWithArgs(T t, String methodName, Object... args) throws JAXRSCommonClient.Fault - Throws:
JAXRSCommonClient.Fault
-
findTargetMethodByNameAndArgs
protected Method findTargetMethodByNameAndArgs(String name, Object... args) throws JAXRSCommonClient.Fault - Throws:
JAXRSCommonClient.Fault
-
isMethodOfArguments
-