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 |
---|---|
JShell |
JShell.Builder.build()
Builds a JShell state engine.
|
static JShell |
JShell.create()
Create a new JShell state engine.
|
Modifier and Type | Method and Description |
---|---|
JShell.Subscription |
JShell.onShutdown(Consumer<JShell> listener)
Register a callback to be called when this JShell instance terminates.
|
Copyright © 2015, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-Ubuntu+0-9b134-2ubuntu1