public class CompositeCloseable extends Object implements Closeable
Constructor and Description |
---|
CompositeCloseable(Closeable closeable,
Closeable closeable2) |
CompositeCloseable(Collection<Closeable> closeables) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this stream and releases any system resources associated with it.
|
public CompositeCloseable(@Nonnull Closeable closeable, @Nonnull Closeable closeable2)
public CompositeCloseable(Collection<Closeable> closeables)
public void close()
Closeable
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2002-2017 Atlassian. All Rights Reserved.