public class WorkspacesCloseable extends Object implements AutoCloseable
AutoCloseable
for multiple workspaces
NOTE: Workspaces are closed in REVERSED order to how they are provided to the costructor;
this is to mirror nested workspace useConstructor and Description |
---|
WorkspacesCloseable(MemoryWorkspace... workspaces) |
public WorkspacesCloseable(@NonNull MemoryWorkspace... workspaces)
public void close()
close
in interface AutoCloseable
Copyright © 2019. All rights reserved.