Package | Description |
---|---|
jdk.jshell |
Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL),
which interactively evaluate "snippets" of Java programming language code.
|
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-09-03-162606.buildd.src