Modifier and Type | Method and Description |
---|---|
static JShell.Builder |
JShell.builder()
Factory method for
JShell.Builder which, in-turn, is used
for creating instances of JShell . |
JShell.Builder |
JShell.Builder.err(PrintStream err)
Error output for the running evaluation (it's
System.err ). |
JShell.Builder |
JShell.Builder.idGenerator(BiFunction<Snippet,Integer,String> generator)
Set the generator of identifying names for Snippets.
|
JShell.Builder |
JShell.Builder.in(InputStream in)
Input for the running evaluation (it's
System.in ). |
JShell.Builder |
JShell.Builder.out(PrintStream out)
Output for the running evaluation (it's
System.out ). |
JShell.Builder |
JShell.Builder.tempVariableNameGenerator(Supplier<String> generator)
Set a generator of temp variable names for
VarSnippet of
Snippet.SubKind.TEMP_VAR_EXPRESSION_SUBKIND . |
Copyright © 2015, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-04-22-203349.buildd.src