public class Components extends ArrayList<Component<?>>
modCount| Constructor and Description |
|---|
Components() |
| Modifier and Type | Method and Description |
|---|---|
static Components |
empty() |
Component<?> |
first()
Get the first matched element.
|
String |
html() |
Component<?> |
last()
Get the last matched component.
|
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, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic static Components empty()
public String html()
public Component<?> first()
null if contents is empty.public Component<?> last()
null if contents is empty.Copyright © 2012–2023 Friederich Christophe. All rights reserved.