Modifier and Type | Method and Description |
---|---|
List<SnippetEvent> |
JShell.drop(PersistentSnippet snippet)
Remove a declaration from the state.
|
List<SnippetEvent> |
JShell.eval(String input)
Evaluate the input String, including definition and/or execution, if
applicable.
|
Modifier and Type | Method and Description |
---|---|
JShell.Subscription |
JShell.onSnippetEvent(Consumer<SnippetEvent> listener)
Register a callback to be called when the Status of a snippet changes.
|
Copyright © 2015, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-04-29-133312.buildd.src