Package org.kohsuke.stapler
Class FunctionList
Immutable list of
Functions.- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionFunctionList(Collection<Function> functions) FunctionList(Function... functions) -
Method Summary
Modifier and TypeMethodDescriptionannotated(Class<? extends Annotation> ann) ReturnsFunctions that are annotated with the given annotation.get(int index) ReturnsFunctions that have the given name.ReturnsFunctions that start with the given prefix.ReturnsFunctions that has the given type parameterssignatureStartsWith(Class... args) ReturnsFunctions that has the parameters that start with given types (but can have additional parameters.)intsize()union(FunctionList that) Compute set unions of two lists.Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
FunctionList
-
FunctionList
-
-
Method Details
-
get
-
size
public int size()- Specified by:
sizein interfaceCollection<Function>- Specified by:
sizein interfaceList<Function>- Specified by:
sizein classAbstractCollection<Function>
-
union
Compute set unions of two lists. -
prefix
ReturnsFunctions that start with the given prefix. -
annotated
ReturnsFunctions that are annotated with the given annotation. -
name
ReturnsFunctions that have the given name. -
signature
ReturnsFunctions that has the given type parameters -
webMethodsLegacy
-
signatureStartsWith
ReturnsFunctions that has the parameters that start with given types (but can have additional parameters.)
-