public final class CloseableList extends Object implements Closeable
| Constructor and Description |
|---|
CloseableList() |
public boolean isClosed()
public void add(Closeable closeable) throws IllegalStateException, NullPointerException
closeable - the closeable to addIllegalStateException - if the list is already closedNullPointerException - if the argument is nullpublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2015 eXo Platform SAS. All Rights Reserved.