public interface Container
Modifier and Type | Method and Description |
---|---|
default Container |
empty()
Empties this container, removing all children.
|
default boolean |
isEmpty() |
default boolean |
isReadOnly() |
default int |
size() |
default int size()
default boolean isEmpty()
true
if this container is empty, i.e. size()
== 0.default boolean isReadOnly()
default Container empty()
this
for chaining.ReadOnlyObjectException
- if this container is read-only.Copyright © 2015–2018 MapR Technologies, Inc.. All rights reserved.