Constructor and Description |
---|
TupleRefBuilder()
Creates a new TupleRefBuilder object.
|
TupleRefBuilder(TupleRef tupleRef)
Creates a new TupleRefBuilder object.
|
Modifier and Type | Method and Description |
---|---|
TupleRefBuilder |
bind(String var,
String value)
Adds the given binding to this tuple.
|
TupleRefBuilder |
bindings(Iterable<VarBinding> bindings)
Adds the given bindings to this tuple.
|
TupleRefBuilder |
bindings(Stream<VarBinding> bindings)
Adds the given bindings to this tuple.
|
TupleRefBuilder |
bindings(VarBinding... bindings)
Adds the given bindings to this tuple.
|
TupleRef |
build()
Returns the current
TupleRef . |
TupleRefBuilder |
start()
Starts building a new tuple.
|
TupleRefBuilder |
start(TupleRef tupleRef)
Starts building a new tuple.
|
static TupleRefBuilder |
with(TupleRef tupleRef)
Creates a new builder for the given TupleRef.
|
static TupleRefBuilder |
with(VarBinding... bindings)
Creates a new builder with the given bindings.
|
public TupleRefBuilder()
public TupleRefBuilder(TupleRef tupleRef)
public static TupleRefBuilder with(VarBinding... bindings)
public static TupleRefBuilder with(TupleRef tupleRef)
public TupleRefBuilder start()
public TupleRefBuilder start(TupleRef tupleRef)
public TupleRefBuilder bindings(VarBinding... bindings)
public TupleRefBuilder bindings(Iterable<VarBinding> bindings)
public TupleRefBuilder bindings(Stream<VarBinding> bindings)
public TupleRefBuilder bind(String var, String value)
Copyright © 2024 The Cornutum Project. All rights reserved.