public class ResourceDescriptions extends ArrayList<ResourceDescription>
ResourceDescription
objects.modCount
Constructor and Description |
---|
ResourceDescriptions() |
Modifier and Type | Method and Description |
---|---|
ResourceDescriptions |
append(String name,
String description)
Adds a new
ResourceDescription to this list. |
ResourceDescriptions |
append(String name,
String uri,
String description)
Adds a new
ResourceDescription to this list when the uri is different from the name. |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
public ResourceDescriptions()
public ResourceDescriptions append(String name, String description)
ResourceDescription
to this list.name
- The name of the child resource.description
- The description of the child resource.public ResourceDescriptions append(String name, String uri, String description)
ResourceDescription
to this list when the uri is different from the name.name
- The name of the child resource.uri
- The URI of the child resource.description
- The description of the child resource.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.