Regen docsite

This commit is contained in:
Mike Hearn 2016-09-23 11:55:23 +02:00
parent ac57c5cf86
commit 9551b0c7e5
2338 changed files with 29012 additions and 30813 deletions

View File

@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 0e8996317ea97eb6f5837df02a05a760
config: 02da61908148262295ef57918c434b8d
tags: 645f666f9bcd5a90fca523b33c5a78b7

Binary file not shown.

After

Width:  |  Height:  |  Size: 907 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

75
docs/build/html/_sources/clientrpc.txt vendored Normal file
View File

@ -0,0 +1,75 @@
Client RPC
==========
There are multiple ways to interact with a node from a *client program*, but if your client is written in a JVM
compatible language the easiest way to do so is using the client library. The library connects to your running
node using a message queue protocol and then provides a simple RPC interface to interact with it. You make calls
on a Java object as normal, and the marshalling back and forth is handled for you.
The starting point for the client library is the `CordaRPCClient`_ class. This provides a ``proxy`` method that
returns an implementation of the `CordaRPCOps`_ interface. A timeout parameter can be specified, and observables that
are returned by RPCs can be subscribed to in order to receive an ongoing stream of updates from the node. More
detail on how to use this is provided in the docs for the proxy method.
.. warning:: The returned object is somewhat expensive to create and consumes a small amount of server side
resources. When you're done with it, cast it to ``Closeable`` or ``AutoCloseable`` and close it. Don't create
one for every call you make - create a proxy and reuse it.
Observables
-----------
The RPC system handles observables in a special way. When a method returns an observable, whether directly or
as a sub-object of the response object graph, an observable is created on the client to match the one on the
server. Objects emitted by the server-side observable are pushed onto a queue which is then drained by the client.
The returned observable may even emit object graphs with even more observables in them, and it all works as you
would expect.
This feature comes with a cost: the server must queue up objects emitted by the server-side observable until you
download them. Therefore RPCs that use this feature are marked with the ``@RPCReturnsObservables`` annotation, and
you are expected to subscribe to all the observables returned. If you don't want an observable then subscribe
then unsubscribe immediately to clear the buffers and indicate that you aren't interested. If your app quits then
server side resources will be freed automatically.
When all the observables returned by an RPC are unsubscribed on the client side, that unsubscription propagates
through to the server where the corresponding server-side observables are also unsubscribed.
.. warning:: If you leak an observable or proxy on the client side and it gets garbage collected, you will get
a warning printed to the logs and the proxy will be closed for you. But don't rely on this, as garbage
collection is non-deterministic.
Versioning
----------
The client RPC protocol is versioned with a simple incrementing integer. When a proxy is created the server is
queried for its protocol version, and you can specify your minimum requirement. Methods added in later versions
are tagged with the ``@RPCSinceVersion`` annotation. If you try to use a method that the server isn't advertising
support of, an ``UnsupportedOperationException`` is thrown. If you want to know the version of the server, just
use the ``protocolVersion`` property (i.e. ``getProtocolVersion`` in Java).
Thread safety
-------------
A proxy is thread safe, blocking, and will only allow a single RPC to be in flight at once. Any observables that
are returned and you subscribe to will have objects emitted on a background thread. Observables returned as part
of one RPC and observables returned from another may have their callbacks invoked in parallel, but observables
returned as part of the same specific RPC invocation are processed serially and will not be invoked in parallel.
If you want to make multiple calls to the server in parallel you can do that by creating multiple proxies, but
be aware that the server itself may *not* process your work in parallel even if you make your requests that way.
Error handling
--------------
If something goes wrong with the RPC infrastructure itself, an ``RPCException`` is thrown. If you call a method that
requires a higher version of the protocol than the server supports, ``UnsupportedOperationException`` is thrown.
Otherwise, if the server implementation throws an exception, that exception is serialised and rethrown on the client
side as if it was thrown from inside the called RPC method. These exceptions can be caught as normal.
Wire protocol
-------------
The client RPC wire protocol is not currently documented. To use it you must use the client library provided.
This is likely to change in a future release.
.. _CordaRPCClient: api/com.r3corda.client/-corda-r-p-c-client/index.html
.. _CordaRPCOps: api/com.r3corda.node.services.messaging/-corda-r-p-c-ops.html

View File

@ -19,95 +19,82 @@ Corda uses the Typesafe configuration library to parse the configuration see the
uses HOCON format see `HOCON documents <https://github.com/typesafehub/config/blob/master/HOCON.md>`_
Configuration File Examples
--------------------------
---------------------------
General node configuration file for hosting the IRSDemo services.
.. code-block:: text
basedir : "./nodea"
myLegalName : "Bank A"
nearestCity : "London"
keyStorePassword : "cordacadevpass"
trustStorePassword : "trustpass"
dataSourceProperties : {
dataSourceClassName : org.h2.jdbcx.JdbcDataSource
"dataSource.url" : "jdbc:h2:"${basedir}"/persistence"
"dataSource.user" : sa
"dataSource.password" : ""
}
artemisAddress : "localhost:31337"
webAddress : "localhost:31339"
hostNotaryServiceLocally: false
extraAdvertisedServiceIds: "corda.interest_rates"
mapService : {
hostServiceLocally : false
address : "localhost:12345"
identity : "Notary Service"
}
useHTTPS : false
basedir : "./nodea"
myLegalName : "Bank A"
nearestCity : "London"
keyStorePassword : "cordacadevpass"
trustStorePassword : "trustpass"
dataSourceProperties : {
dataSourceClassName : org.h2.jdbcx.JdbcDataSource
"dataSource.url" : "jdbc:h2:"${basedir}"/persistence"
"dataSource.user" : sa
"dataSource.password" : ""
}
artemisAddress : "localhost:31337"
webAddress : "localhost:31339"
hostNotaryServiceLocally: false
extraAdvertisedServiceIds: "corda.interest_rates"
networkMapAddress : "localhost:12345"
useHTTPS : false
NetworkMapService plus Simple Notary configuration file.
.. code-block:: text
basedir : "./nameserver"
myLegalName : "Notary Service"
nearestCity : "London"
keyStorePassword : "cordacadevpass"
trustStorePassword : "trustpass"
artemisAddress : "localhost:12345"
webAddress : "localhost:12346"
hostNotaryServiceLocally: true
extraAdvertisedServiceIds: ""
mapService : {
hostServiceLocally : true
address : ${artemisAddress}
identity : ${myLegalName}
}
useHTTPS : false
basedir : "./nameserver"
myLegalName : "Notary Service"
nearestCity : "London"
keyStorePassword : "cordacadevpass"
trustStorePassword : "trustpass"
artemisAddress : "localhost:12345"
webAddress : "localhost:12346"
hostNotaryServiceLocally: true
extraAdvertisedServiceIds: ""
useHTTPS : false
Configuration File Fields
--------------------------
-------------------------
:basedir: This specifies the node workspace folder either as an absolute path, or relative to the current working directory. It can be overidden by the ``--base-directory`` command line option, in which case the the value in the file is ignored and a ``node.conf`` file is expected in that workspace directory as the configuration source.
:myLegalName: The legal identity of the node acts as a human readable alias to the node's public key and several demos use this to lookup the NodeInfo.
:nearestCity: The location of the node as used to locate coordinates on the world map when running the network visualiser demo. See :doc:`visualiser`.
:nearestCity: The location of the node as used to locate coordinates on the world map when running the network simulator demo. See :doc:`network-simulator`.
:keyStorePassword:
The password to unlock the KeyStore file (``<workspace>/certificates/sslkeystore.jks``) containing the node certificate and private key.
The password to unlock the KeyStore file (``<workspace>/certificates/sslkeystore.jks``) containing the node certificate and private key.
note:: This is the non-secret value for the development certificates automatically generated during the first node run. Longer term these keys will be managed in secure hardware devices.
note:: This is the non-secret value for the development certificates automatically generated during the first node run. Longer term these keys will be managed in secure hardware devices.
:trustStorePassword:
The password to unlock the Trust store file (``<workspace>/certificates/truststore.jks``) containing the R3 Corda root certificate. This is the non-secret value for the development certificates automatically generated during the first node run.
The password to unlock the Trust store file (``<workspace>/certificates/truststore.jks``) containing the R3 Corda root certificate. This is the non-secret value for the development certificates automatically generated during the first node run.
.. note:: Longer term these keys will be managed in secure hardware devices.
.. note:: Longer term these keys will be managed in secure hardware devices.
:dataSourceProperties:
This section is used to configure the jdbc connection and database driver used for the nodes persistence. Currently the defaults in ``/node/src/main/resources/reference.conf`` are as shown in the first example. This is currently the only configuration that has been tested, although in the future full support for other storage layers will be validated.
:artemisAddress:
The host and port on which the node is available for protocol operations over ArtemisMQ.
The host and port on which the node is available for protocol operations over ArtemisMQ.
.. note:: In practice the ArtemisMQ messaging services bind to all local addresses on the specified port. However, note that the host is the included as the advertised entry in the NetworkMapService. As a result the value listed here must be externally accessible when running nodes across a cluster of machines.
.. note:: In practice the ArtemisMQ messaging services bind to all local addresses on the specified port. However, note that the host is the included as the advertised entry in the NetworkMapService. As a result the value listed here must be externally accessible when running nodes across a cluster of machines.
:webAddress:
The host and port on which the node is available for web operations.
The host and port on which the node is available for web operations.
.. note:: If HTTPS is enabled then the browser security checks will require that the accessing url host name is one of either the machine name, fully qualified machine name, or server IP address to line up with the Subject Alternative Names contained within the development certificates. This is addition to requiring the ``/config/dev/corda_dev_ca.cer`` root certificate be installed as a Trusted CA.
.. note:: If HTTPS is enabled then the browser security checks will require that the accessing url host name is one of either the machine name, fully qualified machine name, or server IP address to line up with the Subject Alternative Names contained within the development certificates. This is addition to requiring the ``/config/dev/corda_dev_ca.cer`` root certificate be installed as a Trusted CA.
:hostNotaryServiceLocally: If true the Node will host and advertise a verifying Notary service.
:extraAdvertisedServiceIds: A list of ServiceType id strings to be advertised to the NetworkMapService and thus be available when other nodes query the NetworkMapCache for supporting nodes. This can also include plugin services loaded from .jar files in the
:mapService.hostServiceLocally: If true the node is declaring itself as the NetworkMapService host. Otherwise the configuration below is the remote connection details for the node to connect to the NetworkMapService.
:mapService.address: If the node is hosting the NetworkMapService this should be exactly equal to the artemisAddress (hence $ substitution above). Otherwise this value is the remote HostAndPort string for the ArtemisMQ service on the hosting node.
:mapService.identity: If the node is hosting the NetworkMapService this should be exactly equal to the myLegalName (hence $ substitution above). Otherwise this value must match the myLegalName of the hosting node.
:networkMapAddress: If `null`, or missing the node is declaring itself as the NetworkMapService host. Otherwise the configuration value is the remote HostAndPort string for the ArtemisMQ service on the hosting node.
:useHTTPS: If false the node's web server will be plain HTTP. If true the node will use the same certificate and private key from the ``<workspace>/certificates/sslkeystore.jks`` file as the ArtemisMQ port for HTTPS. If HTTPS is enabled then unencrypted HTTP traffic to the node's **webAddress** port is not supported.

View File

@ -13,15 +13,13 @@ To create an app plugin you must you must extend from `CordaPluginRegistry`_. Th
specific details of the implementation, but you can extend the server in the following ways:
1. Required protocols: Specify which protocols will be whitelisted for use in your web APIs.
2. Service plugins: Register your :ref:`services`.
2. Service plugins: Register your services (see below).
3. Web APIs: You may register your own endpoints under /api/ of the built-in web server.
4. Static web endpoints: You may register your own static serving directories for serving web content.
Services
--------
.. _services:
Services are classes which are constructed after the node has started. It is provided a `ServiceHubInternal`_ which
allows a richer API than the `ServiceHub`_ exposed to contracts. It enables adding protocols, registering
message handlers and more. The service does not run in a separate thread, so the only entry point to the service is during
@ -44,7 +42,7 @@ execution of the node server there will be many other configuration and persiste
.. warning:: Also note that the bootstrapping process of the ``corda.jar`` unpacks the Corda dependencies into a temporary folder. It is therefore suggested that the CAPSULE_CACHE_DIR environment variable be set before starting the process to control this location.
Installing Apps
------------------
---------------
Once you have created your app JAR you can install it to a node by adding it to ``<node_dir>/plugins/``. In this
case the ``node_dir`` is the location where your node server's JAR and configuration file is.
@ -69,7 +67,7 @@ The configuration file and workspace paths can be overidden on the command line
Otherwise the workspace folder for the node is created based upon the ``basedir`` property in the ``node.conf`` file and if this is relative it is applied relative to the current working path.
Debugging your Node
------------------
-------------------
To enable remote debugging of the corda process use a command line such as:

View File

@ -39,13 +39,6 @@ Read on to learn:
node-administration
corda-configuration-files
.. toctree::
:maxdepth: 2
:caption: Contracts
contract-catalogue
contract-irs
.. toctree::
:maxdepth: 2
:caption: Tutorials
@ -57,6 +50,20 @@ Read on to learn:
protocol-state-machines
oracles
event-scheduling
secure-coding-guidelines
.. toctree::
:maxdepth: 2
:caption: Contracts
contract-catalogue
contract-irs
.. toctree::
:maxdepth: 2
:caption: Node API
clientrpc
.. toctree::
:maxdepth: 2
@ -64,7 +71,7 @@ Read on to learn:
release-process
release-notes
visualiser
network-simulator
codestyle
building-the-docs

View File

@ -0,0 +1,41 @@
Network Simulator
=================
A network simulator is provided which shows traffic between nodes through the lifecycle of an interest rate swap
contract. It can optionally also show network setup, during which nodes register themselves with the network
map service and are notified of the changes to the map. The network simulator is run from the command line via Gradle:
**Windows**::
gradlew.bat network-simulator:run
**Other**::
./gradlew network-simulator:run
Interface
---------
.. image:: network-simulator.png
The network simulator can be run automatically, or stepped manually through each step of the interest rate swap. The
options on the simulator window are:
Simulate initialisation
If checked, the nodes registering with the network map is shown. Normally this setup step
is not shown, but may be of interest to understand the details of node discovery.
Run
Runs the network simulation in automatic mode, in which it progresses each step on a timed basis. Once running,
the simulation can be paused in order to manually progress it, or reset.
Next
Manually progress the simulation to the next step.
Reset
Reset the simulation (only available when paused).
Map/Circle
How the nodes are shown, by default nodes are rendered on a world map, but alternatively they can rendered
in a circle layout.
While the simulation runs, details of the steps currently being executed are shown in a sidebar on the left hand side
of the window.
.. TODO: Add documentation on how to use with different contracts for testing/debugging

View File

@ -260,7 +260,7 @@ Let's fill out the ``receiveAndCheckProposedTransaction()`` method.
val maybeSTX = sendAndReceive<SignedTransaction>(otherSide, buyerSessionID, sessionID, hello)
maybeSTX.validate {
maybeSTX.unwrap {
// Check that the tx proposed by the buyer is valid.
val missingSigs: Set<PublicKey> = it.verifySignatures(throwIfSignaturesAreMissing = false)
val expected = setOf(myKeyPair.public, notaryNode.identity.owningKey)
@ -421,7 +421,7 @@ OK, let's do the same for the buyer side:
private fun receiveAndValidateTradeRequest(): SellerTradeInfo {
// Wait for a trade request to come in on our pre-provided session ID.
val maybeTradeRequest = receive<SellerTradeInfo>(sessionID)
maybeTradeRequest.validate {
maybeTradeRequest.unwrap {
// What is the seller trying to sell us?
val asset = it.assetForSale.state.data
val assetTypeName = asset.javaClass.name
@ -449,7 +449,7 @@ OK, let's do the same for the buyer side:
// TODO: Protect against the seller terminating here and leaving us in the lurch without the final tx.
return sendAndReceive<SignaturesFromSeller>(otherSide, theirSessionID, sessionID, stx).validate { it }
return sendAndReceive<SignaturesFromSeller>(otherSide, theirSessionID, sessionID, stx).unwrap { it }
}
private fun signWithOurKeys(cashSigningPubKeys: List<PublicKey>, ptx: TransactionBuilder): SignedTransaction {

View File

@ -3,6 +3,19 @@ Release notes
Here are brief summaries of what's changed between each snapshot release.
Unreleased
----------
API changes:
* The transaction types (Signed, Wire, LedgerTransaction) have moved to ``com.r3corda.core.transactions``. You can
update your code by just deleting the broken import lines and letting your IDE re-import them from the right
location.
* ``AbstractStateReplacementProtocol.verifyProposal`` has changed its prototype in a minor way.
* The ``UntrustworthyData<T>.validate`` method has been renamed to ``unwrap`` - the old name is now deprecated.
* The wallet, wallet service, etc. are now vault, vault service, etc. These better reflect the intent that they
are a generic secure data store, rather than something which holds cash.
Milestone 3
-----------

View File

@ -0,0 +1,47 @@
Secure coding guidelines
------------------------
The platform does what it can to be secure by default and safe by design. Unfortunately the platform cannot
prevent every kind of security mistake. This document describes what to think about when writing applications
to block various kinds of attack. Whilst it may be tempting to just assume no reasonable counterparty would
attempt to subvert your trades using protocol level attacks, relying on trust for software security makes it
harder to scale up your operations later when you might want to add counterparties quickly and without
extensive vetting.
Protocols
---------
:doc:`protocol-state-machines` are how your app communicates with other parties on the network. Therefore they
are the typical entry point for malicious data into your app and must be treated with care.
The ``receive`` methods return data wrapped in the ``UntrustworthyData<T>`` marker type. This type doesn't add
any functionality, it's only there to remind you to properly validate everything that you get from the network.
Remember that the other side may *not* be running the code you provide to take part in the protocol: they are
allowed to do anything! Things to watch out for:
* A transaction that doesn't match a partial transaction built or proposed earlier in the protocol, for instance,
if you propose to trade a cash state worth $100 for an asset, and the transaction to sign comes back from the
other side, you must check that it points to the state you actually requested. Otherwise the attacker could
get you to sign a transaction that spends a much larger state to you, if they know the ID of one!
* A transaction that isn't of the right type. There are two transaction types: general and notary change. If you
are expecting one type but get the other you may find yourself signing a transaction that transfers your assets
to the control of a hostile notary.
* Unexpected changes in any part of the states in a transaction. If you have access to all the needed data, you
could re-run the builder logic and do a comparison of the resulting states to ensure that it's what you expected.
For instance if the data needed to construct the next state is available to both parties, the function to
calculate the transaction you want to mutually agree could be shared between both classes implementing both
sides of the protocol.
The theme should be clear: signing is a very sensitive operation, so you need to be sure you know what it is you
are about to sign, and that nothing has changed in the small print!
Contracts
---------
Contracts are arbitrary functions inside a JVM sandbox and therefore they have a lot of leeway to shoot themselves
in the foot. Things to watch out for:
* Changes in states that should not be allowed by the current state transition. You will want to check that no
fields are changing except the intended fields!
* Accidentally catching and discarding exceptions that might be thrown by validation logic.
* Calling into other contracts via virtual methods if you don't know what those other contracts are or might do.

View File

@ -64,10 +64,10 @@ Clauses
-------
We'll tackle the inner clauses that contain the bulk of the verification logic, first, and the clause which handles
grouping of input/output states later. The clauses must implement the ``Clause`` interface, which defines
grouping of input/output states later. The clauses must extend the ``Clause`` abstract class, which defines
the ``verify`` function, and the ``requiredCommands`` property used to determine the conditions under which a clause
is triggered. Normally clauses would extend ``ConcreteClause`` which provides defaults suitable for a clause which
verifies transactions, rather than delegating to other clauses.
is triggered. Composite clauses should extend the ``CompositeClause`` abstract class, which extends ``Clause`` to
add support for wrapping around multiple clauses.
The ``verify`` function defined in the ``Clause`` interface is similar to the conventional ``Contract`` verification
function, although it adds new parameters and returns the set of commands which it has processed. Normally this returned
@ -80,7 +80,7 @@ The ``Move`` clause for the commercial paper contract is relatively simple, so w
.. sourcecode:: kotlin
class Move: ConcreteClause<State, Commands, Issued<Terms>>() {
class Move: Clause<State, Commands, Issued<Terms>>() {
override val requiredCommands: Set<Class<out CommandData>>
get() = setOf(Commands.Move::class.java)
@ -103,7 +103,7 @@ The ``Move`` clause for the commercial paper contract is relatively simple, so w
.. sourcecode:: java
class Move extends ConcreteClause<State, Commands, State> {
class Move extends Clause<State, Commands, State> {
@NotNull
@Override
public Set<Class<? extends CommandData>> getRequiredCommands() {

View File

@ -760,7 +760,7 @@ The time-lock contract mentioned above can be implemented very simply:
class TestTimeLock : Contract {
...
override fun verify(tx: TransactionForContract) {
val timestamp: Timestamp? = tx.timestamp
val time = tx.timestamp.before ?: throw IllegalStateException(...)
...
requireThat {
"the time specified in the time-lock has passed" by
@ -783,6 +783,16 @@ When we construct a transaction that generates the encumbered state, we must pla
position of that transaction. And when we subsequently consume that encumbered state, the same encumbrance state must be
available somewhere within the input set of states.
In future, we will consider the concept of a *covenant*. This is where the encumbrance travels alongside each iteration of
the encumbered state. For example, a cash state may be encumbered with a *domicile* encumbrance, which checks the domicile of
the identity of the owner that the cash state is being moved to, in order to uphold sanction screening regulations, and prevent
cash being paid to parties domiciled in e.g. North Korea. In this case, the encumbrance should be permanently attached to
the all future cash states stemming from this one.
We will also consider marking states that are capable of being encumbrances as such. This will prevent states being used
as encumbrances inadvertently. For example, the time-lock above would be usable as an encumbrance, but it makes no sense to
be able to encumber a cash state with another one.
Clauses
-------

View File

@ -1,78 +0,0 @@
.. highlight:: kotlin
.. raw:: html
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/codesets.js"></script>
Using the visualiser
====================
In order to assist with understanding of the state model, the repository includes a simple graph visualiser. The
visualiser is integrated with the unit test framework and the same domain specific language. It is currently very
early and the diagrams it produces are not especially beautiful. The intention is to improve it in future releases.
.. image:: visualiser.png
An example of how to use it can be seen in ``src/test/kotlin/contracts/CommercialPaperTests.kt``.
Briefly, define a set of transactions in a group using the same DSL that is used in the unit tests. Here's an example
of a trade lifecycle using the commercial paper contract
.. container:: codeset
.. sourcecode:: kotlin
val group: TransactionGroupDSL<ContractState> = transactionGroupFor() {
roots {
transaction(900.DOLLARS.CASH `owned by` ALICE label "alice's $900")
transaction(someProfits.CASH `owned by` MEGA_CORP_PUBKEY label "some profits")
}
// Some CP is issued onto the ledger by MegaCorp.
transaction("Issuance") {
output("paper") { PAPER_1 }
arg(MEGA_CORP_PUBKEY) { CommercialPaper.Commands.Issue() }
}
// The CP is sold to alice for her $900, $100 less than the face value. At 10% interest after only 7 days,
// that sounds a bit too good to be true!
transaction("Trade") {
input("paper")
input("alice's $900")
output("borrowed $900") { 900.DOLLARS.CASH `owned by` MEGA_CORP_PUBKEY }
output("alice's paper") { "paper".output `owned by` ALICE }
arg(ALICE) { Cash.Commands.Move() }
arg(MEGA_CORP_PUBKEY) { CommercialPaper.Commands.Move() }
}
// Time passes, and Alice redeem's her CP for $1000, netting a $100 profit. MegaCorp has received $1200
// as a single payment from somewhere and uses it to pay Alice off, keeping the remaining $200 as change.
transaction("Redemption", redemptionTime) {
input("alice's paper")
input("some profits")
output("Alice's profit") { aliceGetsBack.CASH `owned by` ALICE }
output("Change") { (someProfits - aliceGetsBack).CASH `owned by` MEGA_CORP_PUBKEY }
if (!destroyPaperAtRedemption)
output { "paper".output }
arg(MEGA_CORP_PUBKEY) { Cash.Commands.Move() }
arg(ALICE) { CommercialPaper.Commands.Redeem() }
}
}
Now you can define a main method in your unit test class that takes the ``TransactionGroupDSL`` object and uses it:
.. container:: codeset
.. sourcecode:: kotlin
CommercialPaperTests().trade().visualise()
This will open up a window with the following features:
* The nodes can be dragged around to try and obtain a better layout (an improved layout algorithm will be a future
feature).
* States are rendered as circles. Transactions are small blue squares. Commands are small diamonds.
* Clicking a state will open up a window that shows its fields.

View File

@ -85,6 +85,10 @@ div.sphinxsidebar #searchbox input[type="text"] {
width: 170px;
}
div.sphinxsidebar #searchbox input[type="submit"] {
width: 30px;
}
img {
border: 0;
max-width: 100%;

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,41 @@
<HTML>
<HEAD>
<title>AggregatedList.<init> - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">AggregatedList</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">AggregatedList</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.AggregatedList$<init>(javafx.collections.ObservableList((com.r3corda.client.fxutils.AggregatedList.E)), kotlin.Function1((com.r3corda.client.fxutils.AggregatedList.E, com.r3corda.client.fxutils.AggregatedList.K)), kotlin.Function2((com.r3corda.client.fxutils.AggregatedList.K, javafx.collections.ObservableList((com.r3corda.client.fxutils.AggregatedList.E)), com.r3corda.client.fxutils.AggregatedList.A)))/list">list</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">E</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils.AggregatedList$<init>(javafx.collections.ObservableList((com.r3corda.client.fxutils.AggregatedList.E)), kotlin.Function1((com.r3corda.client.fxutils.AggregatedList.E, com.r3corda.client.fxutils.AggregatedList.K)), kotlin.Function2((com.r3corda.client.fxutils.AggregatedList.K, javafx.collections.ObservableList((com.r3corda.client.fxutils.AggregatedList.E)), com.r3corda.client.fxutils.AggregatedList.A)))/toKey">toKey</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">E</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">K</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils.AggregatedList$<init>(javafx.collections.ObservableList((com.r3corda.client.fxutils.AggregatedList.E)), kotlin.Function1((com.r3corda.client.fxutils.AggregatedList.E, com.r3corda.client.fxutils.AggregatedList.K)), kotlin.Function2((com.r3corda.client.fxutils.AggregatedList.K, javafx.collections.ObservableList((com.r3corda.client.fxutils.AggregatedList.E)), com.r3corda.client.fxutils.AggregatedList.A)))/assemble">assemble</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">K</span><span class="symbol">,</span>&nbsp;<span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">A</span><span class="symbol">)</span></code><br/>
<p>Given an <a href="#">ObservableList</a>&lt;<a href="#">E</a>&gt; and a grouping key <a href="#">K</a>, <a href="index.html">AggregatedList</a> groups the elements by the key into a fresh
<a href="#">ObservableList</a>&lt;<a href="#">E</a>&gt; for each group and exposes the groups as an observable list of <a href="#">A</a>s by calling <a href="-init-.html#com.r3corda.client.fxutils.AggregatedList$<init>(javafx.collections.ObservableList((com.r3corda.client.fxutils.AggregatedList.E)), kotlin.Function1((com.r3corda.client.fxutils.AggregatedList.E, com.r3corda.client.fxutils.AggregatedList.K)), kotlin.Function2((com.r3corda.client.fxutils.AggregatedList.K, javafx.collections.ObservableList((com.r3corda.client.fxutils.AggregatedList.E)), com.r3corda.client.fxutils.AggregatedList.A)))/assemble">assemble</a> on each.</p>
<p>Changes done to elements of the input list are reflected in the observable list of the respective group, whereas
additions/removals of elements in the underlying list are reflected in the exposed <a href="#">ObservableList</a>&lt;<a href="#">A</a>&gt; by
adding/deleting aggregations as expected.</p>
<p>The ordering of the exposed list is based on the <a href="#">hashCode</a> of keys.</p>
<p>Example:
val statesGroupedByCurrency = AggregatedList(states, { state -&gt; state.currency }) { currency, group -&gt;
object {
val currency = currency
val states = group
}
}</p>
<p>The above creates an observable list of (currency, statesOfCurrency) pairs.</p>
<p>Note that update events to the source list are discarded, assuming the key of elements does not change.
TODO Should we handle this case? It requires additional bookkeeping of sourceIndex-&gt;(aggregationIndex, groupIndex)</p>
<br/>
<br/>
<h3>Parameters</h3>
<a name="list"></a>
<code>list</code> - The underlying list.<br/>
<br/>
<a name="toKey"></a>
<code>toKey</code> - Function to extract the key from an element.<br/>
<br/>
<a name="assemble"></a>
<code>assemble</code> - Function to assemble the aggregation into the exposed <a href="#">A</a>.<br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>AggregatedList.assemble - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">AggregatedList</a>&nbsp;/&nbsp;<a href=".">assemble</a><br/>
<br/>
<h1>assemble</h1>
<a name="com.r3corda.client.fxutils.AggregatedList$assemble"></a>
<code><span class="keyword">val </span><span class="identifier">assemble</span><span class="symbol">: </span><span class="symbol">(</span><span class="identifier">K</span><span class="symbol">,</span>&nbsp;<span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">A</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,16 @@
<HTML>
<HEAD>
<title>AggregatedList.getSourceIndex - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">AggregatedList</a>&nbsp;/&nbsp;<a href=".">getSourceIndex</a><br/>
<br/>
<h1>getSourceIndex</h1>
<a name="com.r3corda.client.fxutils.AggregatedList$getSourceIndex(kotlin.Int)"></a>
<code><span class="keyword">fun </span><span class="identifier">getSourceIndex</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.AggregatedList$getSourceIndex(kotlin.Int)/index">index</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code><br/>
<p>We cannot implement this as aggregations are one to many</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>AggregatedList.get - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">AggregatedList</a>&nbsp;/&nbsp;<a href=".">get</a><br/>
<br/>
<h1>get</h1>
<a name="com.r3corda.client.fxutils.AggregatedList$get(kotlin.Int)"></a>
<code><span class="keyword">fun </span><span class="identifier">get</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.AggregatedList$get(kotlin.Int)/index">index</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">A</span><span class="symbol">?</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,149 @@
<HTML>
<HEAD>
<title>AggregatedList - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href=".">AggregatedList</a><br/>
<br/>
<h1>AggregatedList</h1>
<code><span class="keyword">class </span><span class="identifier">AggregatedList</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">E</span><span class="symbol">, </span><span class="identifier">K</span>&nbsp;<span class="symbol">:</span>&nbsp;<span class="identifier">Any</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<span class="identifier">TransformationList</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">,</span>&nbsp;<span class="identifier">E</span><span class="symbol">&gt;</span></code><br/>
<p>Given an <a href="#">ObservableList</a>&lt;<a href="#">E</a>&gt; and a grouping key <a href="#">K</a>, AggregatedList groups the elements by the key into a fresh
<a href="#">ObservableList</a>&lt;<a href="#">E</a>&gt; for each group and exposes the groups as an observable list of <a href="#">A</a>s by calling <a href="assemble.html">assemble</a> on each.</p>
<p>Changes done to elements of the input list are reflected in the observable list of the respective group, whereas
additions/removals of elements in the underlying list are reflected in the exposed <a href="#">ObservableList</a>&lt;<a href="#">A</a>&gt; by
adding/deleting aggregations as expected.</p>
<p>The ordering of the exposed list is based on the <a href="#">hashCode</a> of keys.</p>
<p>Example:
val statesGroupedByCurrency = AggregatedList(states, { state -&gt; state.currency }) { currency, group -&gt;
object {
val currency = currency
val states = group
}
}</p>
<p>The above creates an observable list of (currency, statesOfCurrency) pairs.</p>
<p>Note that update events to the source list are discarded, assuming the key of elements does not change.
TODO Should we handle this case? It requires additional bookkeeping of sourceIndex-&gt;(aggregationIndex, groupIndex)</p>
<br/>
<br/>
<h3>Parameters</h3>
<a name="list"></a>
<code>list</code> - The underlying list.<br/>
<br/>
<a name="toKey"></a>
<code>toKey</code> - Function to extract the key from an element.<br/>
<br/>
<a name="assemble"></a>
<code>assemble</code> - Function to assemble the aggregation into the exposed <a href="#">A</a>.<br/>
<br/>
<br/>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<a href="-init-.html">&lt;init&gt;</a></td>
<td>
<code><span class="identifier">AggregatedList</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.AggregatedList$<init>(javafx.collections.ObservableList((com.r3corda.client.fxutils.AggregatedList.E)), kotlin.Function1((com.r3corda.client.fxutils.AggregatedList.E, com.r3corda.client.fxutils.AggregatedList.K)), kotlin.Function2((com.r3corda.client.fxutils.AggregatedList.K, javafx.collections.ObservableList((com.r3corda.client.fxutils.AggregatedList.E)), com.r3corda.client.fxutils.AggregatedList.A)))/list">list</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">E</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils.AggregatedList$<init>(javafx.collections.ObservableList((com.r3corda.client.fxutils.AggregatedList.E)), kotlin.Function1((com.r3corda.client.fxutils.AggregatedList.E, com.r3corda.client.fxutils.AggregatedList.K)), kotlin.Function2((com.r3corda.client.fxutils.AggregatedList.K, javafx.collections.ObservableList((com.r3corda.client.fxutils.AggregatedList.E)), com.r3corda.client.fxutils.AggregatedList.A)))/toKey">toKey</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">E</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">K</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils.AggregatedList$<init>(javafx.collections.ObservableList((com.r3corda.client.fxutils.AggregatedList.E)), kotlin.Function1((com.r3corda.client.fxutils.AggregatedList.E, com.r3corda.client.fxutils.AggregatedList.K)), kotlin.Function2((com.r3corda.client.fxutils.AggregatedList.K, javafx.collections.ObservableList((com.r3corda.client.fxutils.AggregatedList.E)), com.r3corda.client.fxutils.AggregatedList.A)))/assemble">assemble</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">K</span><span class="symbol">,</span>&nbsp;<span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">A</span><span class="symbol">)</span></code><p>Given an <a href="#">ObservableList</a>&lt;<a href="#">E</a>&gt; and a grouping key <a href="#">K</a>, AggregatedList groups the elements by the key into a fresh
<a href="#">ObservableList</a>&lt;<a href="#">E</a>&gt; for each group and exposes the groups as an observable list of <a href="#">A</a>s by calling <a href="-init-.html#com.r3corda.client.fxutils.AggregatedList$<init>(javafx.collections.ObservableList((com.r3corda.client.fxutils.AggregatedList.E)), kotlin.Function1((com.r3corda.client.fxutils.AggregatedList.E, com.r3corda.client.fxutils.AggregatedList.K)), kotlin.Function2((com.r3corda.client.fxutils.AggregatedList.K, javafx.collections.ObservableList((com.r3corda.client.fxutils.AggregatedList.E)), com.r3corda.client.fxutils.AggregatedList.A)))/assemble">assemble</a> on each.</p>
</td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="assemble.html">assemble</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">assemble</span><span class="symbol">: </span><span class="symbol">(</span><span class="identifier">K</span><span class="symbol">,</span>&nbsp;<span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">A</span></code></td>
</tr>
<tr>
<td>
<a href="size.html">size</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">size</span><span class="symbol">: </span><span class="identifier">Int</span></code></td>
</tr>
<tr>
<td>
<a href="to-key.html">toKey</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">toKey</span><span class="symbol">: </span><span class="symbol">(</span><span class="identifier">E</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">K</span></code></td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<a href="get.html">get</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">get</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.AggregatedList$get(kotlin.Int)/index">index</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">A</span><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
<a href="get-source-index.html">getSourceIndex</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">getSourceIndex</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.AggregatedList$getSourceIndex(kotlin.Int)/index">index</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code><p>We cannot implement this as aggregations are one to many</p>
</td>
</tr>
<tr>
<td>
<a href="source-changed.html">sourceChanged</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">sourceChanged</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.AggregatedList$sourceChanged(javafx.collections.ListChangeListener.Change((com.r3corda.client.fxutils.AggregatedList.E)))/c">c</span><span class="symbol">:</span>&nbsp;<span class="identifier">Change</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">E</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
</tbody>
</table>
<h3>Extension Functions</h3>
<table>
<tbody>
<tr>
<td>
<a href="../javafx.collections.-observable-list/filter.html">filter</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span> <span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">filter</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$filter(javafx.collections.ObservableList((com.r3corda.client.fxutils.filter.A)), javafx.beans.value.ObservableValue((kotlin.Function1((com.r3corda.client.fxutils.filter.A, kotlin.Boolean)))))/predicate">predicate</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="symbol">(</span><span class="identifier">A</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">Boolean</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span></code><p>enum class FilterCriterion { HEIGHT, NAME }
val filterCriterion: ObservableValue = (..)
val people: ObservableList = (..)
fun filterFunction(filterCriterion: FilterCriterion): (Person) -&gt; Boolean { .. }</p>
</td>
</tr>
<tr>
<td>
<a href="../javafx.collections.-observable-list/fold.html">fold</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">B</span><span class="symbol">&gt;</span> <span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">fold</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$fold(javafx.collections.ObservableList((com.r3corda.client.fxutils.fold.A)), com.r3corda.client.fxutils.fold.B, kotlin.Function2((com.r3corda.client.fxutils.fold.B, com.r3corda.client.fxutils.fold.A, )))/initial">initial</span><span class="symbol">:</span>&nbsp;<span class="identifier">B</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils$fold(javafx.collections.ObservableList((com.r3corda.client.fxutils.fold.A)), com.r3corda.client.fxutils.fold.B, kotlin.Function2((com.r3corda.client.fxutils.fold.B, com.r3corda.client.fxutils.fold.A, )))/folderFunction">folderFunction</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">B</span><span class="symbol">,</span>&nbsp;<span class="identifier">A</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">B</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span></code><p>val people: ObservableList = (..)
val concatenatedNames = people.fold("", { names, person -&gt; names + person.name })
val concatenatedNames2 = people.map(Person::name).fold("", String::plus)</p>
</td>
</tr>
<tr>
<td>
<a href="../../com.r3corda.core/kotlin.collections.-list/index-of-or-throw.html">indexOfOrThrow</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span> <span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">indexOfOrThrow</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core$indexOfOrThrow(kotlin.collections.List((com.r3corda.core.indexOfOrThrow.T)), com.r3corda.core.indexOfOrThrow.T)/item">item</span><span class="symbol">:</span>&nbsp;<span class="identifier">T</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code><p>Returns the index of the given item or throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</a> if not found.</p>
</td>
</tr>
<tr>
<td>
<a href="../javafx.collections.-observable-list/map.html">map</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">B</span><span class="symbol">&gt;</span> <span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">map</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$map(javafx.collections.ObservableList((com.r3corda.client.fxutils.map.A)), kotlin.Function1((com.r3corda.client.fxutils.map.A, com.r3corda.client.fxutils.map.B)))/function">function</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">A</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">B</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span></code><p>val dogs: ObservableList = (..)
val dogOwners: ObservableList = dogs.map { it.owner }</p>
</td>
</tr>
<tr>
<td>
<a href="../../com.r3corda.core/kotlin.collections.-iterable/none-or-single.html">noneOrSingle</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span> <span class="identifier">Iterable</span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">noneOrSingle</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core$noneOrSingle(kotlin.collections.Iterable((com.r3corda.core.noneOrSingle.T)), kotlin.Function1((com.r3corda.core.noneOrSingle.T, kotlin.Boolean)))/predicate">predicate</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">T</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">Boolean</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">T</span><span class="symbol">?</span></code><p>Returns the single element matching the given <a href="../../com.r3corda.core/kotlin.collections.-iterable/none-or-single.html#com.r3corda.core$noneOrSingle(kotlin.collections.Iterable((com.r3corda.core.noneOrSingle.T)), kotlin.Function1((com.r3corda.core.noneOrSingle.T, kotlin.Boolean)))/predicate">predicate</a>, or <code>null</code> if element was not found,
or throws if more than one element was found.</p>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span> <span class="identifier">Iterable</span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">noneOrSingle</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">T</span><span class="symbol">?</span></code><p>Returns single element, or <code>null</code> if element was not found, or throws if more than one element was found.</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>AggregatedList.size - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">AggregatedList</a>&nbsp;/&nbsp;<a href=".">size</a><br/>
<br/>
<h1>size</h1>
<a name="com.r3corda.client.fxutils.AggregatedList$size"></a>
<code><span class="keyword">val </span><span class="identifier">size</span><span class="symbol">: </span><span class="identifier">Int</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>AggregatedList.sourceChanged - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">AggregatedList</a>&nbsp;/&nbsp;<a href=".">sourceChanged</a><br/>
<br/>
<h1>sourceChanged</h1>
<a name="com.r3corda.client.fxutils.AggregatedList$sourceChanged(javafx.collections.ListChangeListener.Change((com.r3corda.client.fxutils.AggregatedList.E)))"></a>
<code><span class="keyword">protected</span> <span class="keyword">fun </span><span class="identifier">sourceChanged</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.AggregatedList$sourceChanged(javafx.collections.ListChangeListener.Change((com.r3corda.client.fxutils.AggregatedList.E)))/c">c</span><span class="symbol">:</span>&nbsp;<span class="identifier">Change</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">E</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>AggregatedList.toKey - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">AggregatedList</a>&nbsp;/&nbsp;<a href=".">toKey</a><br/>
<br/>
<h1>toKey</h1>
<a name="com.r3corda.client.fxutils.AggregatedList$toKey"></a>
<code><span class="keyword">val </span><span class="identifier">toKey</span><span class="symbol">: </span><span class="symbol">(</span><span class="identifier">E</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">K</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>AmountBindings.exchange - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">AmountBindings</a>&nbsp;/&nbsp;<a href=".">exchange</a><br/>
<br/>
<h1>exchange</h1>
<a name="com.r3corda.client.fxutils.AmountBindings$exchange(javafx.beans.value.ObservableValue((java.util.Currency)), javafx.beans.value.ObservableValue((com.r3corda.client.model.ExchangeRate)))"></a>
<code><span class="keyword">fun </span><span class="identifier">exchange</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.AmountBindings$exchange(javafx.beans.value.ObservableValue((java.util.Currency)), javafx.beans.value.ObservableValue((com.r3corda.client.model.ExchangeRate)))/currency">currency</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils.AmountBindings$exchange(javafx.beans.value.ObservableValue((java.util.Currency)), javafx.beans.value.ObservableValue((com.r3corda.client.model.ExchangeRate)))/exchangeRate">exchangeRate</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><a href="../../com.r3corda.client.model/-exchange-rate/index.html"><span class="identifier">ExchangeRate</span></a><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">&lt;ERROR CLASS&gt;</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">,</span>&nbsp;<span class="symbol">(</span><a href="../../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">&gt;</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">Long</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,38 @@
<HTML>
<HEAD>
<title>AmountBindings - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href=".">AmountBindings</a><br/>
<br/>
<h1>AmountBindings</h1>
<code><span class="keyword">object </span><span class="identifier">AmountBindings</span></code><br/>
<p>Utility bindings for the <a href="../../com.r3corda.core.contracts/-amount/index.html">Amount</a> type, similar in spirit to <a href="#">Bindings</a></p>
<br/>
<br/>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<a href="exchange.html">exchange</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">exchange</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.AmountBindings$exchange(javafx.beans.value.ObservableValue((java.util.Currency)), javafx.beans.value.ObservableValue((com.r3corda.client.model.ExchangeRate)))/currency">currency</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils.AmountBindings$exchange(javafx.beans.value.ObservableValue((java.util.Currency)), javafx.beans.value.ObservableValue((com.r3corda.client.model.ExchangeRate)))/exchangeRate">exchangeRate</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><a href="../../com.r3corda.client.model/-exchange-rate/index.html"><span class="identifier">ExchangeRate</span></a><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">&lt;ERROR CLASS&gt;</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">,</span>&nbsp;<span class="symbol">(</span><a href="../../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">&gt;</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">Long</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="sum.html">sum</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span> <span class="identifier">sum</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.AmountBindings$sum(javafx.collections.ObservableList((com.r3corda.core.contracts.Amount((com.r3corda.client.fxutils.AmountBindings.sum.T)))), com.r3corda.client.fxutils.AmountBindings.sum.T)/amounts">amounts</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableList</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils.AmountBindings$sum(javafx.collections.ObservableList((com.r3corda.core.contracts.Amount((com.r3corda.client.fxutils.AmountBindings.sum.T)))), com.r3corda.client.fxutils.AmountBindings.sum.T)/token">token</span><span class="symbol">:</span>&nbsp;<span class="identifier">T</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="sum-amount-exchange.html">sumAmountExchange</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">sumAmountExchange</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.AmountBindings$sumAmountExchange(javafx.collections.ObservableList((com.r3corda.core.contracts.Amount((java.util.Currency)))), javafx.beans.value.ObservableValue((java.util.Currency)), javafx.beans.value.ObservableValue((com.r3corda.client.model.ExchangeRate)))/amounts">amounts</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableList</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils.AmountBindings$sumAmountExchange(javafx.collections.ObservableList((com.r3corda.core.contracts.Amount((java.util.Currency)))), javafx.beans.value.ObservableValue((java.util.Currency)), javafx.beans.value.ObservableValue((com.r3corda.client.model.ExchangeRate)))/currency">currency</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils.AmountBindings$sumAmountExchange(javafx.collections.ObservableList((com.r3corda.core.contracts.Amount((java.util.Currency)))), javafx.beans.value.ObservableValue((java.util.Currency)), javafx.beans.value.ObservableValue((com.r3corda.client.model.ExchangeRate)))/exchangeRate">exchangeRate</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><a href="../../com.r3corda.client.model/-exchange-rate/index.html"><span class="identifier">ExchangeRate</span></a><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>AmountBindings.sumAmountExchange - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">AmountBindings</a>&nbsp;/&nbsp;<a href=".">sumAmountExchange</a><br/>
<br/>
<h1>sumAmountExchange</h1>
<a name="com.r3corda.client.fxutils.AmountBindings$sumAmountExchange(javafx.collections.ObservableList((com.r3corda.core.contracts.Amount((java.util.Currency)))), javafx.beans.value.ObservableValue((java.util.Currency)), javafx.beans.value.ObservableValue((com.r3corda.client.model.ExchangeRate)))"></a>
<code><span class="keyword">fun </span><span class="identifier">sumAmountExchange</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.AmountBindings$sumAmountExchange(javafx.collections.ObservableList((com.r3corda.core.contracts.Amount((java.util.Currency)))), javafx.beans.value.ObservableValue((java.util.Currency)), javafx.beans.value.ObservableValue((com.r3corda.client.model.ExchangeRate)))/amounts">amounts</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableList</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils.AmountBindings$sumAmountExchange(javafx.collections.ObservableList((com.r3corda.core.contracts.Amount((java.util.Currency)))), javafx.beans.value.ObservableValue((java.util.Currency)), javafx.beans.value.ObservableValue((com.r3corda.client.model.ExchangeRate)))/currency">currency</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils.AmountBindings$sumAmountExchange(javafx.collections.ObservableList((com.r3corda.core.contracts.Amount((java.util.Currency)))), javafx.beans.value.ObservableValue((java.util.Currency)), javafx.beans.value.ObservableValue((com.r3corda.client.model.ExchangeRate)))/exchangeRate">exchangeRate</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><a href="../../com.r3corda.client.model/-exchange-rate/index.html"><span class="identifier">ExchangeRate</span></a><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">&lt;</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Currency.html"><span class="identifier">Currency</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>AmountBindings.sum - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">AmountBindings</a>&nbsp;/&nbsp;<a href=".">sum</a><br/>
<br/>
<h1>sum</h1>
<a name="com.r3corda.client.fxutils.AmountBindings$sum(javafx.collections.ObservableList((com.r3corda.core.contracts.Amount((com.r3corda.client.fxutils.AmountBindings.sum.T)))), com.r3corda.client.fxutils.AmountBindings.sum.T)"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span> <span class="identifier">sum</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.AmountBindings$sum(javafx.collections.ObservableList((com.r3corda.core.contracts.Amount((com.r3corda.client.fxutils.AmountBindings.sum.T)))), com.r3corda.client.fxutils.AmountBindings.sum.T)/amounts">amounts</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableList</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-amount/index.html"><span class="identifier">Amount</span></a><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils.AmountBindings$sum(javafx.collections.ObservableList((com.r3corda.core.contracts.Amount((com.r3corda.client.fxutils.AmountBindings.sum.T)))), com.r3corda.client.fxutils.AmountBindings.sum.T)/token">token</span><span class="symbol">:</span>&nbsp;<span class="identifier">T</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,26 @@
<HTML>
<HEAD>
<title>ChosenList.<init> - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">ChosenList</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">ChosenList</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.ChosenList$<init>(javafx.beans.value.ObservableValue((javafx.collections.ObservableList((com.r3corda.client.fxutils.ChosenList.E)))))/chosenListObservable">chosenListObservable</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">E</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">)</span></code><br/>
<p><a href="index.html">ChosenList</a> manages an <a href="#">ObservableList</a> that may be changed by the wrapping <a href="#">ObservableValue</a>. Whenever the underlying
<a href="#">ObservableValue</a> changes the exposed list changes to the new value. Changes to the list are simply propagated.</p>
<p>Example:
val filteredStates = ChosenList(EasyBind.map(filterCriteriaType) { type -&gt;
when (type) {
is (ByCurrency) -&gt; statesFilteredByCurrency
is (ByIssuer) -&gt; statesFilteredByIssuer
}
})</p>
<p>The above will create a list that chooses and delegates to the appropriate filtered list based on the type of filter.</p>
<br/>
<br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>ChosenList.get - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">ChosenList</a>&nbsp;/&nbsp;<a href=".">get</a><br/>
<br/>
<h1>get</h1>
<a name="com.r3corda.client.fxutils.ChosenList$get(kotlin.Int)"></a>
<code><span class="keyword">fun </span><span class="identifier">get</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.ChosenList$get(kotlin.Int)/index">index</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">E</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,109 @@
<HTML>
<HEAD>
<title>ChosenList - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href=".">ChosenList</a><br/>
<br/>
<h1>ChosenList</h1>
<code><span class="keyword">class </span><span class="identifier">ChosenList</span><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<span class="identifier">ObservableListBase</span><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span></code><br/>
<p>ChosenList manages an <a href="#">ObservableList</a> that may be changed by the wrapping <a href="#">ObservableValue</a>. Whenever the underlying
<a href="#">ObservableValue</a> changes the exposed list changes to the new value. Changes to the list are simply propagated.</p>
<p>Example:
val filteredStates = ChosenList(EasyBind.map(filterCriteriaType) { type -&gt;
when (type) {
is (ByCurrency) -&gt; statesFilteredByCurrency
is (ByIssuer) -&gt; statesFilteredByIssuer
}
})</p>
<p>The above will create a list that chooses and delegates to the appropriate filtered list based on the type of filter.</p>
<br/>
<br/>
<br/>
<br/>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<a href="-init-.html">&lt;init&gt;</a></td>
<td>
<code><span class="identifier">ChosenList</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.ChosenList$<init>(javafx.beans.value.ObservableValue((javafx.collections.ObservableList((com.r3corda.client.fxutils.ChosenList.E)))))/chosenListObservable">chosenListObservable</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">E</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">)</span></code><p>ChosenList manages an <a href="#">ObservableList</a> that may be changed by the wrapping <a href="#">ObservableValue</a>. Whenever the underlying
<a href="#">ObservableValue</a> changes the exposed list changes to the new value. Changes to the list are simply propagated.</p>
</td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="size.html">size</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">size</span><span class="symbol">: </span><span class="identifier">Int</span></code></td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<a href="get.html">get</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">get</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.ChosenList$get(kotlin.Int)/index">index</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">E</span></code></td>
</tr>
</tbody>
</table>
<h3>Extension Functions</h3>
<table>
<tbody>
<tr>
<td>
<a href="../javafx.collections.-observable-list/filter.html">filter</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span> <span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">filter</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$filter(javafx.collections.ObservableList((com.r3corda.client.fxutils.filter.A)), javafx.beans.value.ObservableValue((kotlin.Function1((com.r3corda.client.fxutils.filter.A, kotlin.Boolean)))))/predicate">predicate</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="symbol">(</span><span class="identifier">A</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">Boolean</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span></code><p>enum class FilterCriterion { HEIGHT, NAME }
val filterCriterion: ObservableValue = (..)
val people: ObservableList = (..)
fun filterFunction(filterCriterion: FilterCriterion): (Person) -&gt; Boolean { .. }</p>
</td>
</tr>
<tr>
<td>
<a href="../javafx.collections.-observable-list/fold.html">fold</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">B</span><span class="symbol">&gt;</span> <span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">fold</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$fold(javafx.collections.ObservableList((com.r3corda.client.fxutils.fold.A)), com.r3corda.client.fxutils.fold.B, kotlin.Function2((com.r3corda.client.fxutils.fold.B, com.r3corda.client.fxutils.fold.A, )))/initial">initial</span><span class="symbol">:</span>&nbsp;<span class="identifier">B</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils$fold(javafx.collections.ObservableList((com.r3corda.client.fxutils.fold.A)), com.r3corda.client.fxutils.fold.B, kotlin.Function2((com.r3corda.client.fxutils.fold.B, com.r3corda.client.fxutils.fold.A, )))/folderFunction">folderFunction</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">B</span><span class="symbol">,</span>&nbsp;<span class="identifier">A</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">B</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span></code><p>val people: ObservableList = (..)
val concatenatedNames = people.fold("", { names, person -&gt; names + person.name })
val concatenatedNames2 = people.map(Person::name).fold("", String::plus)</p>
</td>
</tr>
<tr>
<td>
<a href="../../com.r3corda.core/kotlin.collections.-list/index-of-or-throw.html">indexOfOrThrow</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span> <span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">indexOfOrThrow</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core$indexOfOrThrow(kotlin.collections.List((com.r3corda.core.indexOfOrThrow.T)), com.r3corda.core.indexOfOrThrow.T)/item">item</span><span class="symbol">:</span>&nbsp;<span class="identifier">T</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code><p>Returns the index of the given item or throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</a> if not found.</p>
</td>
</tr>
<tr>
<td>
<a href="../javafx.collections.-observable-list/map.html">map</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">B</span><span class="symbol">&gt;</span> <span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">map</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$map(javafx.collections.ObservableList((com.r3corda.client.fxutils.map.A)), kotlin.Function1((com.r3corda.client.fxutils.map.A, com.r3corda.client.fxutils.map.B)))/function">function</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">A</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">B</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span></code><p>val dogs: ObservableList = (..)
val dogOwners: ObservableList = dogs.map { it.owner }</p>
</td>
</tr>
<tr>
<td>
<a href="../../com.r3corda.core/kotlin.collections.-iterable/none-or-single.html">noneOrSingle</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span> <span class="identifier">Iterable</span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">noneOrSingle</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core$noneOrSingle(kotlin.collections.Iterable((com.r3corda.core.noneOrSingle.T)), kotlin.Function1((com.r3corda.core.noneOrSingle.T, kotlin.Boolean)))/predicate">predicate</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">T</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">Boolean</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">T</span><span class="symbol">?</span></code><p>Returns the single element matching the given <a href="../../com.r3corda.core/kotlin.collections.-iterable/none-or-single.html#com.r3corda.core$noneOrSingle(kotlin.collections.Iterable((com.r3corda.core.noneOrSingle.T)), kotlin.Function1((com.r3corda.core.noneOrSingle.T, kotlin.Boolean)))/predicate">predicate</a>, or <code>null</code> if element was not found,
or throws if more than one element was found.</p>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span> <span class="identifier">Iterable</span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">noneOrSingle</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">T</span><span class="symbol">?</span></code><p>Returns single element, or <code>null</code> if element was not found, or throws if more than one element was found.</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>ChosenList.size - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">ChosenList</a>&nbsp;/&nbsp;<a href=".">size</a><br/>
<br/>
<h1>size</h1>
<a name="com.r3corda.client.fxutils.ChosenList$size"></a>
<code><span class="keyword">val </span><span class="identifier">size</span><span class="symbol">: </span><span class="identifier">Int</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,16 @@
<HTML>
<HEAD>
<title>FlattenedList.<init> - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">FlattenedList</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">FlattenedList</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.FlattenedList$<init>(javafx.collections.ObservableList((javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.FlattenedList.A)))))/sourceList">sourceList</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">)</span></code><br/>
<p><a href="index.html">FlattenedList</a> flattens the passed in list of <a href="#">ObservableValue</a>s so that changes in individual updates to the values
are reflected in the exposed list as expected.</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,23 @@
<HTML>
<HEAD>
<title>FlattenedList.WrappedObservableValue.<init> - </title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="../index.html">FlattenedList</a>&nbsp;/&nbsp;<a href="index.html">WrappedObservableValue</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">WrappedObservableValue</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.FlattenedList.WrappedObservableValue$<init>(javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.FlattenedList.WrappedObservableValue.A)))/observableValue">observableValue</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">)</span></code><br/>
<p>We maintain an ObservableValue-&gt;index map. This is needed because we need the ObservableValues index in order to
propagate a change and if the listener closure captures the index at the time of the call to
<a href="#">ObservableValue.addListener</a> it will become incorrect if the indices shift around later.</p>
<p>Note that because of the bookkeeping required for this map, any remove operation and any add operation that
inserts to the middle of the list will be O(N) as we need to scan the map and shift indices accordingly.</p>
<p>Note also that were wrapping each ObservableValue, this is required because we want to support reusing of
ObservableValues and we need each to have a different hash.</p>
<br/>
<br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,48 @@
<HTML>
<HEAD>
<title>FlattenedList.WrappedObservableValue - </title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="../index.html">FlattenedList</a>&nbsp;/&nbsp;<a href=".">WrappedObservableValue</a><br/>
<br/>
<h1>WrappedObservableValue</h1>
<code><span class="keyword">class </span><span class="identifier">WrappedObservableValue</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span></code><br/>
<p>We maintain an ObservableValue-&gt;index map. This is needed because we need the ObservableValues index in order to
propagate a change and if the listener closure captures the index at the time of the call to
<a href="#">ObservableValue.addListener</a> it will become incorrect if the indices shift around later.</p>
<p>Note that because of the bookkeeping required for this map, any remove operation and any add operation that
inserts to the middle of the list will be O(N) as we need to scan the map and shift indices accordingly.</p>
<p>Note also that were wrapping each ObservableValue, this is required because we want to support reusing of
ObservableValues and we need each to have a different hash.</p>
<br/>
<br/>
<br/>
<br/>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<a href="-init-.html">&lt;init&gt;</a></td>
<td>
<code><span class="identifier">WrappedObservableValue</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.FlattenedList.WrappedObservableValue$<init>(javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.FlattenedList.WrappedObservableValue.A)))/observableValue">observableValue</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">)</span></code><p>We maintain an ObservableValue-&gt;index map. This is needed because we need the ObservableValues index in order to
propagate a change and if the listener closure captures the index at the time of the call to
<a href="#">ObservableValue.addListener</a> it will become incorrect if the indices shift around later.</p>
</td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="observable-value.html">observableValue</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">observableValue</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>FlattenedList.WrappedObservableValue.observableValue - </title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="../index.html">FlattenedList</a>&nbsp;/&nbsp;<a href="index.html">WrappedObservableValue</a>&nbsp;/&nbsp;<a href=".">observableValue</a><br/>
<br/>
<h1>observableValue</h1>
<a name="com.r3corda.client.fxutils.FlattenedList.WrappedObservableValue$observableValue"></a>
<code><span class="keyword">val </span><span class="identifier">observableValue</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>FlattenedList.getSourceIndex - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">FlattenedList</a>&nbsp;/&nbsp;<a href=".">getSourceIndex</a><br/>
<br/>
<h1>getSourceIndex</h1>
<a name="com.r3corda.client.fxutils.FlattenedList$getSourceIndex(kotlin.Int)"></a>
<code><span class="keyword">fun </span><span class="identifier">getSourceIndex</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.FlattenedList$getSourceIndex(kotlin.Int)/index">index</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>FlattenedList.get - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">FlattenedList</a>&nbsp;/&nbsp;<a href=".">get</a><br/>
<br/>
<h1>get</h1>
<a name="com.r3corda.client.fxutils.FlattenedList$get(kotlin.Int)"></a>
<code><span class="keyword">fun </span><span class="identifier">get</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.FlattenedList$get(kotlin.Int)/index">index</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">A</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>FlattenedList.indexMap - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">FlattenedList</a>&nbsp;/&nbsp;<a href=".">indexMap</a><br/>
<br/>
<h1>indexMap</h1>
<a name="com.r3corda.client.fxutils.FlattenedList$indexMap"></a>
<code><span class="keyword">val </span><span class="identifier">indexMap</span><span class="symbol">: </span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/HashMap.html"><span class="identifier">HashMap</span></a><span class="symbol">&lt;</span><a href="-wrapped-observable-value/index.html"><span class="identifier">WrappedObservableValue</span></a><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<span class="identifier">&lt;ERROR CLASS&gt;</span><span class="symbol">&lt;</span><span class="identifier">Int</span><span class="symbol">,</span>&nbsp;<span class="identifier">ChangeListener</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,137 @@
<HTML>
<HEAD>
<title>FlattenedList - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href=".">FlattenedList</a><br/>
<br/>
<h1>FlattenedList</h1>
<code><span class="keyword">class </span><span class="identifier">FlattenedList</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<span class="identifier">TransformationList</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">,</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
<p>FlattenedList flattens the passed in list of <a href="#">ObservableValue</a>s so that changes in individual updates to the values
are reflected in the exposed list as expected.</p>
<br/>
<br/>
<h3>Types</h3>
<table>
<tbody>
<tr>
<td>
<a href="-wrapped-observable-value/index.html">WrappedObservableValue</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">WrappedObservableValue</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span></code><p>We maintain an ObservableValue-&gt;index map. This is needed because we need the ObservableValues index in order to
propagate a change and if the listener closure captures the index at the time of the call to
<a href="#">ObservableValue.addListener</a> it will become incorrect if the indices shift around later.</p>
</td>
</tr>
</tbody>
</table>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<a href="-init-.html">&lt;init&gt;</a></td>
<td>
<code><span class="identifier">FlattenedList</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.FlattenedList$<init>(javafx.collections.ObservableList((javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.FlattenedList.A)))))/sourceList">sourceList</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">)</span></code><p>FlattenedList flattens the passed in list of <a href="#">ObservableValue</a>s so that changes in individual updates to the values
are reflected in the exposed list as expected.</p>
</td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="index-map.html">indexMap</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">indexMap</span><span class="symbol">: </span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/HashMap.html"><span class="identifier">HashMap</span></a><span class="symbol">&lt;</span><a href="-wrapped-observable-value/index.html"><span class="identifier">WrappedObservableValue</span></a><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">,</span>&nbsp;<span class="identifier">&lt;ERROR CLASS&gt;</span><span class="symbol">&lt;</span><span class="identifier">Int</span><span class="symbol">,</span>&nbsp;<span class="identifier">ChangeListener</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="size.html">size</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">size</span><span class="symbol">: </span><span class="identifier">Int</span></code></td>
</tr>
<tr>
<td>
<a href="source-list.html">sourceList</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">sourceList</span><span class="symbol">: </span><span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<a href="get.html">get</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">get</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.FlattenedList$get(kotlin.Int)/index">index</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">A</span></code></td>
</tr>
<tr>
<td>
<a href="get-source-index.html">getSourceIndex</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">getSourceIndex</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.FlattenedList$getSourceIndex(kotlin.Int)/index">index</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code></td>
</tr>
<tr>
<td>
<a href="source-changed.html">sourceChanged</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">sourceChanged</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.FlattenedList$sourceChanged(javafx.collections.ListChangeListener.Change((javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.FlattenedList.A)))))/c">c</span><span class="symbol">:</span>&nbsp;<span class="identifier">Change</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
</tbody>
</table>
<h3>Extension Functions</h3>
<table>
<tbody>
<tr>
<td>
<a href="../javafx.collections.-observable-list/filter.html">filter</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span> <span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">filter</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$filter(javafx.collections.ObservableList((com.r3corda.client.fxutils.filter.A)), javafx.beans.value.ObservableValue((kotlin.Function1((com.r3corda.client.fxutils.filter.A, kotlin.Boolean)))))/predicate">predicate</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="symbol">(</span><span class="identifier">A</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">Boolean</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span></code><p>enum class FilterCriterion { HEIGHT, NAME }
val filterCriterion: ObservableValue = (..)
val people: ObservableList = (..)
fun filterFunction(filterCriterion: FilterCriterion): (Person) -&gt; Boolean { .. }</p>
</td>
</tr>
<tr>
<td>
<a href="../javafx.collections.-observable-list/fold.html">fold</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">B</span><span class="symbol">&gt;</span> <span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">fold</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$fold(javafx.collections.ObservableList((com.r3corda.client.fxutils.fold.A)), com.r3corda.client.fxutils.fold.B, kotlin.Function2((com.r3corda.client.fxutils.fold.B, com.r3corda.client.fxutils.fold.A, )))/initial">initial</span><span class="symbol">:</span>&nbsp;<span class="identifier">B</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils$fold(javafx.collections.ObservableList((com.r3corda.client.fxutils.fold.A)), com.r3corda.client.fxutils.fold.B, kotlin.Function2((com.r3corda.client.fxutils.fold.B, com.r3corda.client.fxutils.fold.A, )))/folderFunction">folderFunction</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">B</span><span class="symbol">,</span>&nbsp;<span class="identifier">A</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">B</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span></code><p>val people: ObservableList = (..)
val concatenatedNames = people.fold("", { names, person -&gt; names + person.name })
val concatenatedNames2 = people.map(Person::name).fold("", String::plus)</p>
</td>
</tr>
<tr>
<td>
<a href="../../com.r3corda.core/kotlin.collections.-list/index-of-or-throw.html">indexOfOrThrow</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span> <span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">indexOfOrThrow</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core$indexOfOrThrow(kotlin.collections.List((com.r3corda.core.indexOfOrThrow.T)), com.r3corda.core.indexOfOrThrow.T)/item">item</span><span class="symbol">:</span>&nbsp;<span class="identifier">T</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code><p>Returns the index of the given item or throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html">IllegalArgumentException</a> if not found.</p>
</td>
</tr>
<tr>
<td>
<a href="../javafx.collections.-observable-list/map.html">map</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">B</span><span class="symbol">&gt;</span> <span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">map</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$map(javafx.collections.ObservableList((com.r3corda.client.fxutils.map.A)), kotlin.Function1((com.r3corda.client.fxutils.map.A, com.r3corda.client.fxutils.map.B)))/function">function</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">A</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">B</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span></code><p>val dogs: ObservableList = (..)
val dogOwners: ObservableList = dogs.map { it.owner }</p>
</td>
</tr>
<tr>
<td>
<a href="../../com.r3corda.core/kotlin.collections.-iterable/none-or-single.html">noneOrSingle</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span> <span class="identifier">Iterable</span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">noneOrSingle</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.core$noneOrSingle(kotlin.collections.Iterable((com.r3corda.core.noneOrSingle.T)), kotlin.Function1((com.r3corda.core.noneOrSingle.T, kotlin.Boolean)))/predicate">predicate</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">T</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">Boolean</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">T</span><span class="symbol">?</span></code><p>Returns the single element matching the given <a href="../../com.r3corda.core/kotlin.collections.-iterable/none-or-single.html#com.r3corda.core$noneOrSingle(kotlin.collections.Iterable((com.r3corda.core.noneOrSingle.T)), kotlin.Function1((com.r3corda.core.noneOrSingle.T, kotlin.Boolean)))/predicate">predicate</a>, or <code>null</code> if element was not found,
or throws if more than one element was found.</p>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span> <span class="identifier">Iterable</span><span class="symbol">&lt;</span><span class="identifier">T</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">noneOrSingle</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">T</span><span class="symbol">?</span></code><p>Returns single element, or <code>null</code> if element was not found, or throws if more than one element was found.</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>FlattenedList.size - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">FlattenedList</a>&nbsp;/&nbsp;<a href=".">size</a><br/>
<br/>
<h1>size</h1>
<a name="com.r3corda.client.fxutils.FlattenedList$size"></a>
<code><span class="keyword">val </span><span class="identifier">size</span><span class="symbol">: </span><span class="identifier">Int</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>FlattenedList.sourceChanged - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">FlattenedList</a>&nbsp;/&nbsp;<a href=".">sourceChanged</a><br/>
<br/>
<h1>sourceChanged</h1>
<a name="com.r3corda.client.fxutils.FlattenedList$sourceChanged(javafx.collections.ListChangeListener.Change((javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.FlattenedList.A)))))"></a>
<code><span class="keyword">protected</span> <span class="keyword">fun </span><span class="identifier">sourceChanged</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils.FlattenedList$sourceChanged(javafx.collections.ListChangeListener.Change((javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.FlattenedList.A)))))/c">c</span><span class="symbol">:</span>&nbsp;<span class="identifier">Change</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>FlattenedList.sourceList - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">FlattenedList</a>&nbsp;/&nbsp;<a href=".">sourceList</a><br/>
<br/>
<h1>sourceList</h1>
<a name="com.r3corda.client.fxutils.FlattenedList$sourceList"></a>
<code><span class="keyword">val </span><span class="identifier">sourceList</span><span class="symbol">: </span><span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>foldToObservableList - </title>
<link rel="stylesheet" href="../style.css">
</HEAD>
<BODY>
<a href="index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href=".">foldToObservableList</a><br/>
<br/>
<h1>foldToObservableList</h1>
<a name="com.r3corda.client.fxutils$foldToObservableList(((com.r3corda.client.fxutils.foldToObservableList.A)), com.r3corda.client.fxutils.foldToObservableList.C, kotlin.Function3((com.r3corda.client.fxutils.foldToObservableList.A, com.r3corda.client.fxutils.foldToObservableList.C, javafx.collections.ObservableList((com.r3corda.client.fxutils.foldToObservableList.B)), )))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">B</span><span class="symbol">, </span><span class="identifier">C</span><span class="symbol">&gt;</span> <span class="identifier">&lt;ERROR CLASS&gt;</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">foldToObservableList</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$foldToObservableList(((com.r3corda.client.fxutils.foldToObservableList.A)), com.r3corda.client.fxutils.foldToObservableList.C, kotlin.Function3((com.r3corda.client.fxutils.foldToObservableList.A, com.r3corda.client.fxutils.foldToObservableList.C, javafx.collections.ObservableList((com.r3corda.client.fxutils.foldToObservableList.B)), )))/initialAccumulator">initialAccumulator</span><span class="symbol">:</span>&nbsp;<span class="identifier">C</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils$foldToObservableList(((com.r3corda.client.fxutils.foldToObservableList.A)), com.r3corda.client.fxutils.foldToObservableList.C, kotlin.Function3((com.r3corda.client.fxutils.foldToObservableList.A, com.r3corda.client.fxutils.foldToObservableList.C, javafx.collections.ObservableList((com.r3corda.client.fxutils.foldToObservableList.B)), )))/folderFun">folderFun</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">A</span><span class="symbol">,</span>&nbsp;<span class="identifier">C</span><span class="symbol">,</span>&nbsp;<span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">C</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,16 @@
<HTML>
<HEAD>
<title>foldToObservableValue - </title>
<link rel="stylesheet" href="../style.css">
</HEAD>
<BODY>
<a href="index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href=".">foldToObservableValue</a><br/>
<br/>
<h1>foldToObservableValue</h1>
<a name="com.r3corda.client.fxutils$foldToObservableValue(((com.r3corda.client.fxutils.foldToObservableValue.A)), com.r3corda.client.fxutils.foldToObservableValue.B, kotlin.Function2((com.r3corda.client.fxutils.foldToObservableValue.A, com.r3corda.client.fxutils.foldToObservableValue.B, )))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">B</span><span class="symbol">&gt;</span> <span class="identifier">&lt;ERROR CLASS&gt;</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">foldToObservableValue</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$foldToObservableValue(((com.r3corda.client.fxutils.foldToObservableValue.A)), com.r3corda.client.fxutils.foldToObservableValue.B, kotlin.Function2((com.r3corda.client.fxutils.foldToObservableValue.A, com.r3corda.client.fxutils.foldToObservableValue.B, )))/initial">initial</span><span class="symbol">:</span>&nbsp;<span class="identifier">B</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils$foldToObservableValue(((com.r3corda.client.fxutils.foldToObservableValue.A)), com.r3corda.client.fxutils.foldToObservableValue.B, kotlin.Function2((com.r3corda.client.fxutils.foldToObservableValue.A, com.r3corda.client.fxutils.foldToObservableValue.B, )))/folderFun">folderFun</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">A</span><span class="symbol">,</span>&nbsp;<span class="identifier">B</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">B</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span></code><br/>
<p>Simple utilities for converting an <a href="#">rx.Observable</a> into a javafx <a href="#">ObservableValue</a>/<a href="#">ObservableList</a></p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,115 @@
<HTML>
<HEAD>
<title>com.r3corda.client.fxutils - </title>
<link rel="stylesheet" href="../style.css">
</HEAD>
<BODY>
<a href=".">com.r3corda.client.fxutils</a><br/>
<br/>
<h2>Package com.r3corda.client.fxutils</h2>
<h3>Types</h3>
<table>
<tbody>
<tr>
<td>
<a href="-aggregated-list/index.html">AggregatedList</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">AggregatedList</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">E</span><span class="symbol">, </span><span class="identifier">K</span>&nbsp;<span class="symbol">:</span>&nbsp;<span class="identifier">Any</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<span class="identifier">TransformationList</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">,</span>&nbsp;<span class="identifier">E</span><span class="symbol">&gt;</span></code><p>Given an <a href="#">ObservableList</a>&lt;<a href="#">E</a>&gt; and a grouping key <a href="#">K</a>, <a href="-aggregated-list/index.html">AggregatedList</a> groups the elements by the key into a fresh
<a href="#">ObservableList</a>&lt;<a href="#">E</a>&gt; for each group and exposes the groups as an observable list of <a href="#">A</a>s by calling <a href="-aggregated-list/assemble.html">assemble</a> on each.</p>
</td>
</tr>
<tr>
<td>
<a href="-amount-bindings/index.html">AmountBindings</a></td>
<td>
<code><span class="keyword">object </span><span class="identifier">AmountBindings</span></code><p>Utility bindings for the <a href="../com.r3corda.core.contracts/-amount/index.html">Amount</a> type, similar in spirit to <a href="#">Bindings</a></p>
</td>
</tr>
<tr>
<td>
<a href="-chosen-list/index.html">ChosenList</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">ChosenList</span><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<span class="identifier">ObservableListBase</span><span class="symbol">&lt;</span><span class="identifier">E</span><span class="symbol">&gt;</span></code><p><a href="-chosen-list/index.html">ChosenList</a> manages an <a href="#">ObservableList</a> that may be changed by the wrapping <a href="#">ObservableValue</a>. Whenever the underlying
<a href="#">ObservableValue</a> changes the exposed list changes to the new value. Changes to the list are simply propagated.</p>
</td>
</tr>
<tr>
<td>
<a href="-flattened-list/index.html">FlattenedList</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">FlattenedList</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span>&nbsp;<span class="symbol">:</span>&nbsp;<span class="identifier">TransformationList</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">,</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><p><a href="-flattened-list/index.html">FlattenedList</a> flattens the passed in list of <a href="#">ObservableValue</a>s so that changes in individual updates to the values
are reflected in the exposed list as expected.</p>
</td>
</tr>
</tbody>
</table>
<h3>Extensions for External Classes</h3>
<table>
<tbody>
<tr>
<td>
<a href="javafx.beans.value.-observable-value/index.html">javafx.beans.value.ObservableValue</a></td>
<td>
</td>
</tr>
<tr>
<td>
<a href="javafx.collections.-observable-list/index.html">javafx.collections.ObservableList</a></td>
<td>
</td>
</tr>
<tr>
<td>
<a href="kotlin.-function1/index.html">kotlin.Function1</a></td>
<td>
</td>
</tr>
<tr>
<td>
<a href="kotlin.-function2/index.html">kotlin.Function2</a></td>
<td>
</td>
</tr>
<tr>
<td>
<a href="kotlin.-function3/index.html">kotlin.Function3</a></td>
<td>
</td>
</tr>
<tr>
<td>
<a href="kotlin.-function4/index.html">kotlin.Function4</a></td>
<td>
</td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<a href="fold-to-observable-list.html">foldToObservableList</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">B</span><span class="symbol">, </span><span class="identifier">C</span><span class="symbol">&gt;</span> <span class="identifier">&lt;ERROR CLASS&gt;</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">foldToObservableList</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$foldToObservableList(((com.r3corda.client.fxutils.foldToObservableList.A)), com.r3corda.client.fxutils.foldToObservableList.C, kotlin.Function3((com.r3corda.client.fxutils.foldToObservableList.A, com.r3corda.client.fxutils.foldToObservableList.C, javafx.collections.ObservableList((com.r3corda.client.fxutils.foldToObservableList.B)), )))/initialAccumulator">initialAccumulator</span><span class="symbol">:</span>&nbsp;<span class="identifier">C</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils$foldToObservableList(((com.r3corda.client.fxutils.foldToObservableList.A)), com.r3corda.client.fxutils.foldToObservableList.C, kotlin.Function3((com.r3corda.client.fxutils.foldToObservableList.A, com.r3corda.client.fxutils.foldToObservableList.C, javafx.collections.ObservableList((com.r3corda.client.fxutils.foldToObservableList.B)), )))/folderFun">folderFun</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">A</span><span class="symbol">,</span>&nbsp;<span class="identifier">C</span><span class="symbol">,</span>&nbsp;<span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">C</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="fold-to-observable-value.html">foldToObservableValue</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">B</span><span class="symbol">&gt;</span> <span class="identifier">&lt;ERROR CLASS&gt;</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">foldToObservableValue</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$foldToObservableValue(((com.r3corda.client.fxutils.foldToObservableValue.A)), com.r3corda.client.fxutils.foldToObservableValue.B, kotlin.Function2((com.r3corda.client.fxutils.foldToObservableValue.A, com.r3corda.client.fxutils.foldToObservableValue.B, )))/initial">initial</span><span class="symbol">:</span>&nbsp;<span class="identifier">B</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils$foldToObservableValue(((com.r3corda.client.fxutils.foldToObservableValue.A)), com.r3corda.client.fxutils.foldToObservableValue.B, kotlin.Function2((com.r3corda.client.fxutils.foldToObservableValue.A, com.r3corda.client.fxutils.foldToObservableValue.B, )))/folderFun">folderFun</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">A</span><span class="symbol">,</span>&nbsp;<span class="identifier">B</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">B</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span></code><p>Simple utilities for converting an <a href="#">rx.Observable</a> into a javafx <a href="#">ObservableValue</a>/<a href="#">ObservableList</a></p>
</td>
</tr>
<tr>
<td>
<a href="lift.html">lift</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span> <span class="identifier">A</span><span class="symbol">.</span><span class="identifier">lift</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span></code><p>val aliceHeight: ObservableValue = (..)
val bobHeight: ObservableValue = (..)
fun sumHeight(a: Long, b: Long): Long { .. }</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,18 @@
<HTML>
<HEAD>
<title>bind - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">javafx.beans.value.ObservableValue</a>&nbsp;/&nbsp;<a href=".">bind</a><br/>
<br/>
<h1>bind</h1>
<a name="com.r3corda.client.fxutils$bind(javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.bind.A)), kotlin.Function1((com.r3corda.client.fxutils.bind.A, javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.bind.B)))))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">B</span><span class="symbol">&gt;</span> <span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">bind</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$bind(javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.bind.A)), kotlin.Function1((com.r3corda.client.fxutils.bind.A, javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.bind.B)))))/function">function</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">A</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">B</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">B</span><span class="symbol">&gt;</span></code><br/>
<p>data class Person(val height: ObservableValue)
val person: ObservableValue = (..)
val personHeight: ObservableValue = person.bind { it.height }</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,32 @@
<HTML>
<HEAD>
<title>com.r3corda.client.fxutils.javafx.beans.value.ObservableValue - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href=".">javafx.beans.value.ObservableValue</a><br/>
<br/>
<h3>Extensions for javafx.beans.value.ObservableValue</h3>
<table>
<tbody>
<tr>
<td>
<a href="bind.html">bind</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">B</span><span class="symbol">&gt;</span> <span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">bind</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$bind(javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.bind.A)), kotlin.Function1((com.r3corda.client.fxutils.bind.A, javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.bind.B)))))/function">function</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">A</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">B</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">B</span><span class="symbol">&gt;</span></code><p>data class Person(val height: ObservableValue)
val person: ObservableValue = (..)
val personHeight: ObservableValue = person.bind { it.height }</p>
</td>
</tr>
<tr>
<td>
<a href="map.html">map</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">B</span><span class="symbol">&gt;</span> <span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">map</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$map(javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.map.A)), kotlin.Function1((com.r3corda.client.fxutils.map.A, com.r3corda.client.fxutils.map.B)))/function">function</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">A</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">B</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span></code><p>val person: ObservableValue = (..)
val personName: ObservableValue = person.map { it.name }</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,17 @@
<HTML>
<HEAD>
<title>map - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">javafx.beans.value.ObservableValue</a>&nbsp;/&nbsp;<a href=".">map</a><br/>
<br/>
<h1>map</h1>
<a name="com.r3corda.client.fxutils$map(javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.map.A)), kotlin.Function1((com.r3corda.client.fxutils.map.A, com.r3corda.client.fxutils.map.B)))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">B</span><span class="symbol">&gt;</span> <span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">map</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$map(javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.map.A)), kotlin.Function1((com.r3corda.client.fxutils.map.A, com.r3corda.client.fxutils.map.B)))/function">function</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">A</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">B</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span></code><br/>
<p>val person: ObservableValue = (..)
val personName: ObservableValue = person.map { it.name }</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,22 @@
<HTML>
<HEAD>
<title>filter - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">javafx.collections.ObservableList</a>&nbsp;/&nbsp;<a href=".">filter</a><br/>
<br/>
<h1>filter</h1>
<a name="com.r3corda.client.fxutils$filter(javafx.collections.ObservableList((com.r3corda.client.fxutils.filter.A)), javafx.beans.value.ObservableValue((kotlin.Function1((com.r3corda.client.fxutils.filter.A, kotlin.Boolean)))))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span> <span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">filter</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$filter(javafx.collections.ObservableList((com.r3corda.client.fxutils.filter.A)), javafx.beans.value.ObservableValue((kotlin.Function1((com.r3corda.client.fxutils.filter.A, kotlin.Boolean)))))/predicate">predicate</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="symbol">(</span><span class="identifier">A</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">Boolean</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span></code><br/>
<p>enum class FilterCriterion { HEIGHT, NAME }
val filterCriterion: ObservableValue = (..)
val people: ObservableList = (..)
fun filterFunction(filterCriterion: FilterCriterion): (Person) -&gt; Boolean { .. }</p>
<p>val filteredPeople: ObservableList = people.filter(filterCriterion.map(filterFunction))</p>
<br/>
<br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,18 @@
<HTML>
<HEAD>
<title>flatten - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">javafx.collections.ObservableList</a>&nbsp;/&nbsp;<a href=".">flatten</a><br/>
<br/>
<h1>flatten</h1>
<a name="com.r3corda.client.fxutils$flatten(javafx.collections.ObservableList((javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.flatten.A)))))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span> <span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">flatten</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span></code><br/>
<p>data class Person(val height: ObservableValue)
val people: ObservableList = (..)
val heights: ObservableList = people.map(Person::height).flatten()</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,18 @@
<HTML>
<HEAD>
<title>fold - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">javafx.collections.ObservableList</a>&nbsp;/&nbsp;<a href=".">fold</a><br/>
<br/>
<h1>fold</h1>
<a name="com.r3corda.client.fxutils$fold(javafx.collections.ObservableList((com.r3corda.client.fxutils.fold.A)), com.r3corda.client.fxutils.fold.B, kotlin.Function2((com.r3corda.client.fxutils.fold.B, com.r3corda.client.fxutils.fold.A, )))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">B</span><span class="symbol">&gt;</span> <span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">fold</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$fold(javafx.collections.ObservableList((com.r3corda.client.fxutils.fold.A)), com.r3corda.client.fxutils.fold.B, kotlin.Function2((com.r3corda.client.fxutils.fold.B, com.r3corda.client.fxutils.fold.A, )))/initial">initial</span><span class="symbol">:</span>&nbsp;<span class="identifier">B</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils$fold(javafx.collections.ObservableList((com.r3corda.client.fxutils.fold.A)), com.r3corda.client.fxutils.fold.B, kotlin.Function2((com.r3corda.client.fxutils.fold.B, com.r3corda.client.fxutils.fold.A, )))/folderFunction">folderFunction</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">B</span><span class="symbol">,</span>&nbsp;<span class="identifier">A</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">B</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span></code><br/>
<p>val people: ObservableList = (..)
val concatenatedNames = people.fold("", { names, person -&gt; names + person.name })
val concatenatedNames2 = people.map(Person::name).fold("", String::plus)</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,51 @@
<HTML>
<HEAD>
<title>com.r3corda.client.fxutils.javafx.collections.ObservableList - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href=".">javafx.collections.ObservableList</a><br/>
<br/>
<h3>Extensions for javafx.collections.ObservableList</h3>
<table>
<tbody>
<tr>
<td>
<a href="filter.html">filter</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span> <span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">filter</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$filter(javafx.collections.ObservableList((com.r3corda.client.fxutils.filter.A)), javafx.beans.value.ObservableValue((kotlin.Function1((com.r3corda.client.fxutils.filter.A, kotlin.Boolean)))))/predicate">predicate</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="symbol">(</span><span class="identifier">A</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">Boolean</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span></code><p>enum class FilterCriterion { HEIGHT, NAME }
val filterCriterion: ObservableValue = (..)
val people: ObservableList = (..)
fun filterFunction(filterCriterion: FilterCriterion): (Person) -&gt; Boolean { .. }</p>
</td>
</tr>
<tr>
<td>
<a href="flatten.html">flatten</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span> <span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">flatten</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span></code><p>data class Person(val height: ObservableValue)
val people: ObservableList = (..)
val heights: ObservableList = people.map(Person::height).flatten()</p>
</td>
</tr>
<tr>
<td>
<a href="fold.html">fold</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">B</span><span class="symbol">&gt;</span> <span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">fold</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$fold(javafx.collections.ObservableList((com.r3corda.client.fxutils.fold.A)), com.r3corda.client.fxutils.fold.B, kotlin.Function2((com.r3corda.client.fxutils.fold.B, com.r3corda.client.fxutils.fold.A, )))/initial">initial</span><span class="symbol">:</span>&nbsp;<span class="identifier">B</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils$fold(javafx.collections.ObservableList((com.r3corda.client.fxutils.fold.A)), com.r3corda.client.fxutils.fold.B, kotlin.Function2((com.r3corda.client.fxutils.fold.B, com.r3corda.client.fxutils.fold.A, )))/folderFunction">folderFunction</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">B</span><span class="symbol">,</span>&nbsp;<span class="identifier">A</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">B</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span></code><p>val people: ObservableList = (..)
val concatenatedNames = people.fold("", { names, person -&gt; names + person.name })
val concatenatedNames2 = people.map(Person::name).fold("", String::plus)</p>
</td>
</tr>
<tr>
<td>
<a href="map.html">map</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">B</span><span class="symbol">&gt;</span> <span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">map</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$map(javafx.collections.ObservableList((com.r3corda.client.fxutils.map.A)), kotlin.Function1((com.r3corda.client.fxutils.map.A, com.r3corda.client.fxutils.map.B)))/function">function</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">A</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">B</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span></code><p>val dogs: ObservableList = (..)
val dogOwners: ObservableList = dogs.map { it.owner }</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,17 @@
<HTML>
<HEAD>
<title>map - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">javafx.collections.ObservableList</a>&nbsp;/&nbsp;<a href=".">map</a><br/>
<br/>
<h1>map</h1>
<a name="com.r3corda.client.fxutils$map(javafx.collections.ObservableList((com.r3corda.client.fxutils.map.A)), kotlin.Function1((com.r3corda.client.fxutils.map.A, com.r3corda.client.fxutils.map.B)))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">B</span><span class="symbol">&gt;</span> <span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="keyword">out</span>&nbsp;<span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">.</span><span class="identifier">map</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$map(javafx.collections.ObservableList((com.r3corda.client.fxutils.map.A)), kotlin.Function1((com.r3corda.client.fxutils.map.A, com.r3corda.client.fxutils.map.B)))/function">function</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">A</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">B</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableList</span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span></code><br/>
<p>val dogs: ObservableList = (..)
val dogOwners: ObservableList = dogs.map { it.owner }</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,21 @@
<HTML>
<HEAD>
<title>com.r3corda.client.fxutils.kotlin.Function1 - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href=".">kotlin.Function1</a><br/>
<br/>
<h3>Extensions for kotlin.Function1</h3>
<table>
<tbody>
<tr>
<td>
<a href="lift.html">lift</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">R</span><span class="symbol">&gt;</span> <span class="symbol">(</span><span class="identifier">A</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">R</span><span class="symbol">.</span><span class="identifier">lift</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$lift(kotlin.Function1((com.r3corda.client.fxutils.lift.A, com.r3corda.client.fxutils.lift.R)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.A)))/arg0">arg0</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">R</span><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>lift - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">kotlin.Function1</a>&nbsp;/&nbsp;<a href=".">lift</a><br/>
<br/>
<h1>lift</h1>
<a name="com.r3corda.client.fxutils$lift(kotlin.Function1((com.r3corda.client.fxutils.lift.A, com.r3corda.client.fxutils.lift.R)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.A)))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">R</span><span class="symbol">&gt;</span> <span class="symbol">(</span><span class="identifier">A</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">R</span><span class="symbol">.</span><span class="identifier">lift</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$lift(kotlin.Function1((com.r3corda.client.fxutils.lift.A, com.r3corda.client.fxutils.lift.R)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.A)))/arg0">arg0</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">R</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,21 @@
<HTML>
<HEAD>
<title>com.r3corda.client.fxutils.kotlin.Function2 - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href=".">kotlin.Function2</a><br/>
<br/>
<h3>Extensions for kotlin.Function2</h3>
<table>
<tbody>
<tr>
<td>
<a href="lift.html">lift</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">B</span><span class="symbol">, </span><span class="identifier">R</span><span class="symbol">&gt;</span> <span class="symbol">(</span><span class="identifier">A</span><span class="symbol">,</span>&nbsp;<span class="identifier">B</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">R</span><span class="symbol">.</span><span class="identifier">lift</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$lift(kotlin.Function2((com.r3corda.client.fxutils.lift.A, com.r3corda.client.fxutils.lift.B, com.r3corda.client.fxutils.lift.R)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.A)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.B)))/arg0">arg0</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils$lift(kotlin.Function2((com.r3corda.client.fxutils.lift.A, com.r3corda.client.fxutils.lift.B, com.r3corda.client.fxutils.lift.R)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.A)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.B)))/arg1">arg1</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">R</span><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>lift - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">kotlin.Function2</a>&nbsp;/&nbsp;<a href=".">lift</a><br/>
<br/>
<h1>lift</h1>
<a name="com.r3corda.client.fxutils$lift(kotlin.Function2((com.r3corda.client.fxutils.lift.A, com.r3corda.client.fxutils.lift.B, com.r3corda.client.fxutils.lift.R)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.A)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.B)))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">B</span><span class="symbol">, </span><span class="identifier">R</span><span class="symbol">&gt;</span> <span class="symbol">(</span><span class="identifier">A</span><span class="symbol">,</span>&nbsp;<span class="identifier">B</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">R</span><span class="symbol">.</span><span class="identifier">lift</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$lift(kotlin.Function2((com.r3corda.client.fxutils.lift.A, com.r3corda.client.fxutils.lift.B, com.r3corda.client.fxutils.lift.R)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.A)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.B)))/arg0">arg0</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils$lift(kotlin.Function2((com.r3corda.client.fxutils.lift.A, com.r3corda.client.fxutils.lift.B, com.r3corda.client.fxutils.lift.R)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.A)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.B)))/arg1">arg1</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">R</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,21 @@
<HTML>
<HEAD>
<title>com.r3corda.client.fxutils.kotlin.Function3 - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href=".">kotlin.Function3</a><br/>
<br/>
<h3>Extensions for kotlin.Function3</h3>
<table>
<tbody>
<tr>
<td>
<a href="lift.html">lift</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">B</span><span class="symbol">, </span><span class="identifier">C</span><span class="symbol">, </span><span class="identifier">R</span><span class="symbol">&gt;</span> <span class="symbol">(</span><span class="identifier">A</span><span class="symbol">,</span>&nbsp;<span class="identifier">B</span><span class="symbol">,</span>&nbsp;<span class="identifier">C</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">R</span><span class="symbol">.</span><span class="identifier">lift</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$lift(kotlin.Function3((com.r3corda.client.fxutils.lift.A, com.r3corda.client.fxutils.lift.B, com.r3corda.client.fxutils.lift.C, com.r3corda.client.fxutils.lift.R)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.A)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.B)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.C)))/arg0">arg0</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils$lift(kotlin.Function3((com.r3corda.client.fxutils.lift.A, com.r3corda.client.fxutils.lift.B, com.r3corda.client.fxutils.lift.C, com.r3corda.client.fxutils.lift.R)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.A)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.B)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.C)))/arg1">arg1</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils$lift(kotlin.Function3((com.r3corda.client.fxutils.lift.A, com.r3corda.client.fxutils.lift.B, com.r3corda.client.fxutils.lift.C, com.r3corda.client.fxutils.lift.R)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.A)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.B)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.C)))/arg2">arg2</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">C</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">R</span><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>lift - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">kotlin.Function3</a>&nbsp;/&nbsp;<a href=".">lift</a><br/>
<br/>
<h1>lift</h1>
<a name="com.r3corda.client.fxutils$lift(kotlin.Function3((com.r3corda.client.fxutils.lift.A, com.r3corda.client.fxutils.lift.B, com.r3corda.client.fxutils.lift.C, com.r3corda.client.fxutils.lift.R)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.A)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.B)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.C)))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">B</span><span class="symbol">, </span><span class="identifier">C</span><span class="symbol">, </span><span class="identifier">R</span><span class="symbol">&gt;</span> <span class="symbol">(</span><span class="identifier">A</span><span class="symbol">,</span>&nbsp;<span class="identifier">B</span><span class="symbol">,</span>&nbsp;<span class="identifier">C</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">R</span><span class="symbol">.</span><span class="identifier">lift</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$lift(kotlin.Function3((com.r3corda.client.fxutils.lift.A, com.r3corda.client.fxutils.lift.B, com.r3corda.client.fxutils.lift.C, com.r3corda.client.fxutils.lift.R)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.A)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.B)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.C)))/arg0">arg0</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils$lift(kotlin.Function3((com.r3corda.client.fxutils.lift.A, com.r3corda.client.fxutils.lift.B, com.r3corda.client.fxutils.lift.C, com.r3corda.client.fxutils.lift.R)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.A)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.B)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.C)))/arg1">arg1</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils$lift(kotlin.Function3((com.r3corda.client.fxutils.lift.A, com.r3corda.client.fxutils.lift.B, com.r3corda.client.fxutils.lift.C, com.r3corda.client.fxutils.lift.R)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.A)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.B)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.C)))/arg2">arg2</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">C</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">R</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,21 @@
<HTML>
<HEAD>
<title>com.r3corda.client.fxutils.kotlin.Function4 - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href=".">kotlin.Function4</a><br/>
<br/>
<h3>Extensions for kotlin.Function4</h3>
<table>
<tbody>
<tr>
<td>
<a href="lift.html">lift</a></td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">B</span><span class="symbol">, </span><span class="identifier">C</span><span class="symbol">, </span><span class="identifier">D</span><span class="symbol">, </span><span class="identifier">R</span><span class="symbol">&gt;</span> <span class="symbol">(</span><span class="identifier">A</span><span class="symbol">,</span>&nbsp;<span class="identifier">B</span><span class="symbol">,</span>&nbsp;<span class="identifier">C</span><span class="symbol">,</span>&nbsp;<span class="identifier">D</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">R</span><span class="symbol">.</span><span class="identifier">lift</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$lift(kotlin.Function4((com.r3corda.client.fxutils.lift.A, com.r3corda.client.fxutils.lift.B, com.r3corda.client.fxutils.lift.C, com.r3corda.client.fxutils.lift.D, com.r3corda.client.fxutils.lift.R)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.A)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.B)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.C)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.D)))/arg0">arg0</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils$lift(kotlin.Function4((com.r3corda.client.fxutils.lift.A, com.r3corda.client.fxutils.lift.B, com.r3corda.client.fxutils.lift.C, com.r3corda.client.fxutils.lift.D, com.r3corda.client.fxutils.lift.R)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.A)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.B)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.C)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.D)))/arg1">arg1</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils$lift(kotlin.Function4((com.r3corda.client.fxutils.lift.A, com.r3corda.client.fxutils.lift.B, com.r3corda.client.fxutils.lift.C, com.r3corda.client.fxutils.lift.D, com.r3corda.client.fxutils.lift.R)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.A)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.B)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.C)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.D)))/arg2">arg2</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">C</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils$lift(kotlin.Function4((com.r3corda.client.fxutils.lift.A, com.r3corda.client.fxutils.lift.B, com.r3corda.client.fxutils.lift.C, com.r3corda.client.fxutils.lift.D, com.r3corda.client.fxutils.lift.R)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.A)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.B)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.C)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.D)))/arg3">arg3</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">D</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">R</span><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>lift - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href="index.html">kotlin.Function4</a>&nbsp;/&nbsp;<a href=".">lift</a><br/>
<br/>
<h1>lift</h1>
<a name="com.r3corda.client.fxutils$lift(kotlin.Function4((com.r3corda.client.fxutils.lift.A, com.r3corda.client.fxutils.lift.B, com.r3corda.client.fxutils.lift.C, com.r3corda.client.fxutils.lift.D, com.r3corda.client.fxutils.lift.R)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.A)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.B)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.C)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.D)))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">, </span><span class="identifier">B</span><span class="symbol">, </span><span class="identifier">C</span><span class="symbol">, </span><span class="identifier">D</span><span class="symbol">, </span><span class="identifier">R</span><span class="symbol">&gt;</span> <span class="symbol">(</span><span class="identifier">A</span><span class="symbol">,</span>&nbsp;<span class="identifier">B</span><span class="symbol">,</span>&nbsp;<span class="identifier">C</span><span class="symbol">,</span>&nbsp;<span class="identifier">D</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">R</span><span class="symbol">.</span><span class="identifier">lift</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.fxutils$lift(kotlin.Function4((com.r3corda.client.fxutils.lift.A, com.r3corda.client.fxutils.lift.B, com.r3corda.client.fxutils.lift.C, com.r3corda.client.fxutils.lift.D, com.r3corda.client.fxutils.lift.R)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.A)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.B)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.C)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.D)))/arg0">arg0</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils$lift(kotlin.Function4((com.r3corda.client.fxutils.lift.A, com.r3corda.client.fxutils.lift.B, com.r3corda.client.fxutils.lift.C, com.r3corda.client.fxutils.lift.D, com.r3corda.client.fxutils.lift.R)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.A)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.B)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.C)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.D)))/arg1">arg1</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils$lift(kotlin.Function4((com.r3corda.client.fxutils.lift.A, com.r3corda.client.fxutils.lift.B, com.r3corda.client.fxutils.lift.C, com.r3corda.client.fxutils.lift.D, com.r3corda.client.fxutils.lift.R)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.A)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.B)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.C)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.D)))/arg2">arg2</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">C</span><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.fxutils$lift(kotlin.Function4((com.r3corda.client.fxutils.lift.A, com.r3corda.client.fxutils.lift.B, com.r3corda.client.fxutils.lift.C, com.r3corda.client.fxutils.lift.D, com.r3corda.client.fxutils.lift.R)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.A)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.B)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.C)), javafx.beans.value.ObservableValue((com.r3corda.client.fxutils.lift.D)))/arg3">arg3</span><span class="symbol">:</span>&nbsp;<span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">D</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">R</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,22 @@
<HTML>
<HEAD>
<title>lift - </title>
<link rel="stylesheet" href="../style.css">
</HEAD>
<BODY>
<a href="index.html">com.r3corda.client.fxutils</a>&nbsp;/&nbsp;<a href=".">lift</a><br/>
<br/>
<h1>lift</h1>
<a name="com.r3corda.client.fxutils$lift(com.r3corda.client.fxutils.lift.A)"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span> <span class="identifier">A</span><span class="symbol">.</span><span class="identifier">lift</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">ObservableValue</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span></code><br/>
<p>val aliceHeight: ObservableValue = (..)
val bobHeight: ObservableValue = (..)
fun sumHeight(a: Long, b: Long): Long { .. }</p>
<p>val aliceBobSumHeight = ::sumHeight.lift(aliceHeight, bobHeight)
val aliceHeightPlus2 = ::sumHeight.lift(aliceHeight, 2L.lift())</p>
<br/>
<br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,16 @@
<HTML>
<HEAD>
<title>EventGenerator.<init> - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">EventGenerator</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">EventGenerator</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.mock.EventGenerator$<init>(kotlin.collections.List((com.r3corda.core.crypto.Party)), com.r3corda.core.crypto.Party)/parties">parties</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.mock.EventGenerator$<init>(kotlin.collections.List((com.r3corda.core.crypto.Party)), com.r3corda.core.crypto.Party)/notary">notary</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">)</span></code><br/>
<p><a href="../-generator/index.html">Generator</a>s for incoming/outgoing events to/from the <a href="#">WalletMonitorService</a>. Internally it keeps track of owned
state/ref pairs, but it doesnt necessarily generate "correct" events</p>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>EventGenerator.amountGenerator - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">EventGenerator</a>&nbsp;/&nbsp;<a href=".">amountGenerator</a><br/>
<br/>
<h1>amountGenerator</h1>
<a name="com.r3corda.client.mock.EventGenerator$amountGenerator"></a>
<code><span class="keyword">val </span><span class="identifier">amountGenerator</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>EventGenerator.amountIssuedGenerator - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">EventGenerator</a>&nbsp;/&nbsp;<a href=".">amountIssuedGenerator</a><br/>
<br/>
<h1>amountIssuedGenerator</h1>
<a name="com.r3corda.client.mock.EventGenerator$amountIssuedGenerator"></a>
<code><span class="keyword">val </span><span class="identifier">amountIssuedGenerator</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>EventGenerator.cashStateGenerator - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">EventGenerator</a>&nbsp;/&nbsp;<a href=".">cashStateGenerator</a><br/>
<br/>
<h1>cashStateGenerator</h1>
<a name="com.r3corda.client.mock.EventGenerator$cashStateGenerator"></a>
<code><span class="keyword">val </span><span class="identifier">cashStateGenerator</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>EventGenerator.clientToServiceCommandGenerator - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">EventGenerator</a>&nbsp;/&nbsp;<a href=".">clientToServiceCommandGenerator</a><br/>
<br/>
<h1>clientToServiceCommandGenerator</h1>
<a name="com.r3corda.client.mock.EventGenerator$clientToServiceCommandGenerator"></a>
<code><span class="keyword">val </span><span class="identifier">clientToServiceCommandGenerator</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>EventGenerator.consumedGenerator - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">EventGenerator</a>&nbsp;/&nbsp;<a href=".">consumedGenerator</a><br/>
<br/>
<h1>consumedGenerator</h1>
<a name="com.r3corda.client.mock.EventGenerator$consumedGenerator"></a>
<code><span class="keyword">val </span><span class="identifier">consumedGenerator</span><span class="symbol">: </span><a href="../-generator/index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-state-ref/index.html"><span class="identifier">StateRef</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>EventGenerator.currencies - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">EventGenerator</a>&nbsp;/&nbsp;<a href=".">currencies</a><br/>
<br/>
<h1>currencies</h1>
<a name="com.r3corda.client.mock.EventGenerator$currencies"></a>
<code><span class="keyword">val </span><span class="identifier">currencies</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>EventGenerator.currencyGenerator - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">EventGenerator</a>&nbsp;/&nbsp;<a href=".">currencyGenerator</a><br/>
<br/>
<h1>currencyGenerator</h1>
<a name="com.r3corda.client.mock.EventGenerator$currencyGenerator"></a>
<code><span class="keyword">val </span><span class="identifier">currencyGenerator</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>EventGenerator.exitCashGenerator - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">EventGenerator</a>&nbsp;/&nbsp;<a href=".">exitCashGenerator</a><br/>
<br/>
<h1>exitCashGenerator</h1>
<a name="com.r3corda.client.mock.EventGenerator$exitCashGenerator"></a>
<code><span class="keyword">val </span><span class="identifier">exitCashGenerator</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,148 @@
<HTML>
<HEAD>
<title>EventGenerator - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href=".">EventGenerator</a><br/>
<br/>
<h1>EventGenerator</h1>
<code><span class="keyword">class </span><span class="identifier">EventGenerator</span></code><br/>
<p><a href="../-generator/index.html">Generator</a>s for incoming/outgoing events to/from the <a href="#">WalletMonitorService</a>. Internally it keeps track of owned
state/ref pairs, but it doesnt necessarily generate "correct" events</p>
<br/>
<br/>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<a href="-init-.html">&lt;init&gt;</a></td>
<td>
<code><span class="identifier">EventGenerator</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.mock.EventGenerator$<init>(kotlin.collections.List((com.r3corda.core.crypto.Party)), com.r3corda.core.crypto.Party)/parties">parties</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">&gt;</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.mock.EventGenerator$<init>(kotlin.collections.List((com.r3corda.core.crypto.Party)), com.r3corda.core.crypto.Party)/notary">notary</span><span class="symbol">:</span>&nbsp;<a href="../../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">)</span></code><p><a href="../-generator/index.html">Generator</a>s for incoming/outgoing events to/from the <a href="#">WalletMonitorService</a>. Internally it keeps track of owned
state/ref pairs, but it doesnt necessarily generate "correct" events</p>
</td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="amount-generator.html">amountGenerator</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">amountGenerator</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="amount-issued-generator.html">amountIssuedGenerator</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">amountIssuedGenerator</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="cash-state-generator.html">cashStateGenerator</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">cashStateGenerator</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="client-to-service-command-generator.html">clientToServiceCommandGenerator</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">clientToServiceCommandGenerator</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="consumed-generator.html">consumedGenerator</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">consumedGenerator</span><span class="symbol">: </span><a href="../-generator/index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-state-ref/index.html"><span class="identifier">StateRef</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="currencies.html">currencies</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">currencies</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="currency-generator.html">currencyGenerator</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">currencyGenerator</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="exit-cash-generator.html">exitCashGenerator</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">exitCashGenerator</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="issue-cash-generator.html">issueCashGenerator</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">issueCashGenerator</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="issue-ref-generator.html">issueRefGenerator</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">issueRefGenerator</span><span class="symbol">: </span><a href="../-generator/index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="issuer-generator.html">issuerGenerator</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">issuerGenerator</span><span class="symbol">: </span><a href="../-generator/index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="move-cash-generator.html">moveCashGenerator</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">moveCashGenerator</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="notary.html">notary</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">notary</span><span class="symbol">: </span><a href="../../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a></code></td>
</tr>
<tr>
<td>
<a href="output-state-generator.html">outputStateGenerator</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">outputStateGenerator</span><span class="symbol">: </span><a href="../-generator/index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.node.services.monitor/-service-to-client-event/-output-state/index.html"><span class="identifier">OutputState</span></a><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="parties.html">parties</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">parties</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="party-generator.html">partyGenerator</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">partyGenerator</span><span class="symbol">: </span><a href="../-generator/index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="produced-generator.html">producedGenerator</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">producedGenerator</span><span class="symbol">: </span><a href="../-generator/index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-state-and-ref/index.html"><span class="identifier">StateAndRef</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-contract-state/index.html"><span class="identifier">ContractState</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="public-key-generator.html">publicKeyGenerator</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">publicKeyGenerator</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="service-to-client-event-generator.html">serviceToClientEventGenerator</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">serviceToClientEventGenerator</span><span class="symbol">: </span><a href="../-generator/index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.node.services.monitor/-service-to-client-event/index.html"><span class="identifier">ServiceToClientEvent</span></a><span class="symbol">&gt;</span></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>EventGenerator.issueCashGenerator - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">EventGenerator</a>&nbsp;/&nbsp;<a href=".">issueCashGenerator</a><br/>
<br/>
<h1>issueCashGenerator</h1>
<a name="com.r3corda.client.mock.EventGenerator$issueCashGenerator"></a>
<code><span class="keyword">val </span><span class="identifier">issueCashGenerator</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>EventGenerator.issueRefGenerator - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">EventGenerator</a>&nbsp;/&nbsp;<a href=".">issueRefGenerator</a><br/>
<br/>
<h1>issueRefGenerator</h1>
<a name="com.r3corda.client.mock.EventGenerator$issueRefGenerator"></a>
<code><span class="keyword">val </span><span class="identifier">issueRefGenerator</span><span class="symbol">: </span><a href="../-generator/index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.serialization/-opaque-bytes/index.html"><span class="identifier">OpaqueBytes</span></a><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>EventGenerator.issuerGenerator - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">EventGenerator</a>&nbsp;/&nbsp;<a href=".">issuerGenerator</a><br/>
<br/>
<h1>issuerGenerator</h1>
<a name="com.r3corda.client.mock.EventGenerator$issuerGenerator"></a>
<code><span class="keyword">val </span><span class="identifier">issuerGenerator</span><span class="symbol">: </span><a href="../-generator/index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-party-and-reference/index.html"><span class="identifier">PartyAndReference</span></a><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>EventGenerator.moveCashGenerator - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">EventGenerator</a>&nbsp;/&nbsp;<a href=".">moveCashGenerator</a><br/>
<br/>
<h1>moveCashGenerator</h1>
<a name="com.r3corda.client.mock.EventGenerator$moveCashGenerator"></a>
<code><span class="keyword">val </span><span class="identifier">moveCashGenerator</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -1,14 +1,14 @@
<HTML>
<HEAD>
<title>WireTransaction.notary - </title>
<title>EventGenerator.notary - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.core.contracts</a>&nbsp;/&nbsp;<a href="index.html">WireTransaction</a>&nbsp;/&nbsp;<a href=".">notary</a><br/>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">EventGenerator</a>&nbsp;/&nbsp;<a href=".">notary</a><br/>
<br/>
<h1>notary</h1>
<a name="com.r3corda.core.contracts.WireTransaction$notary"></a>
<code><span class="keyword">val </span><span class="identifier">notary</span><span class="symbol">: </span><a href="../../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">?</span></code><br/>
<a name="com.r3corda.client.mock.EventGenerator$notary"></a>
<code><span class="keyword">val </span><span class="identifier">notary</span><span class="symbol">: </span><a href="../../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a></code><br/>
<br/>
<br/>
</BODY>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>EventGenerator.outputStateGenerator - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">EventGenerator</a>&nbsp;/&nbsp;<a href=".">outputStateGenerator</a><br/>
<br/>
<h1>outputStateGenerator</h1>
<a name="com.r3corda.client.mock.EventGenerator$outputStateGenerator"></a>
<code><span class="keyword">val </span><span class="identifier">outputStateGenerator</span><span class="symbol">: </span><a href="../-generator/index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.node.services.monitor/-service-to-client-event/-output-state/index.html"><span class="identifier">OutputState</span></a><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>EventGenerator.parties - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">EventGenerator</a>&nbsp;/&nbsp;<a href=".">parties</a><br/>
<br/>
<h1>parties</h1>
<a name="com.r3corda.client.mock.EventGenerator$parties"></a>
<code><span class="keyword">val </span><span class="identifier">parties</span><span class="symbol">: </span><span class="identifier">List</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>EventGenerator.partyGenerator - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">EventGenerator</a>&nbsp;/&nbsp;<a href=".">partyGenerator</a><br/>
<br/>
<h1>partyGenerator</h1>
<a name="com.r3corda.client.mock.EventGenerator$partyGenerator"></a>
<code><span class="keyword">val </span><span class="identifier">partyGenerator</span><span class="symbol">: </span><a href="../-generator/index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.crypto/-party/index.html"><span class="identifier">Party</span></a><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>EventGenerator.producedGenerator - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">EventGenerator</a>&nbsp;/&nbsp;<a href=".">producedGenerator</a><br/>
<br/>
<h1>producedGenerator</h1>
<a name="com.r3corda.client.mock.EventGenerator$producedGenerator"></a>
<code><span class="keyword">val </span><span class="identifier">producedGenerator</span><span class="symbol">: </span><a href="../-generator/index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><span class="identifier">Set</span><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-state-and-ref/index.html"><span class="identifier">StateAndRef</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.core.contracts/-contract-state/index.html"><span class="identifier">ContractState</span></a><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>EventGenerator.publicKeyGenerator - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">EventGenerator</a>&nbsp;/&nbsp;<a href=".">publicKeyGenerator</a><br/>
<br/>
<h1>publicKeyGenerator</h1>
<a name="com.r3corda.client.mock.EventGenerator$publicKeyGenerator"></a>
<code><span class="keyword">val </span><span class="identifier">publicKeyGenerator</span><span class="symbol">: </span><span class="identifier">&lt;ERROR CLASS&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>EventGenerator.serviceToClientEventGenerator - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">EventGenerator</a>&nbsp;/&nbsp;<a href=".">serviceToClientEventGenerator</a><br/>
<br/>
<h1>serviceToClientEventGenerator</h1>
<a name="com.r3corda.client.mock.EventGenerator$serviceToClientEventGenerator"></a>
<code><span class="keyword">val </span><span class="identifier">serviceToClientEventGenerator</span><span class="symbol">: </span><a href="../-generator/index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><a href="../../com.r3corda.node.services.monitor/-service-to-client-event/index.html"><span class="identifier">ServiceToClientEvent</span></a><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,36 @@
<HTML>
<HEAD>
<title>Generator.<init> - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">Generator</a>&nbsp;/&nbsp;<a href=".">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<code><span class="identifier">Generator</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.mock.Generator$<init>(kotlin.Function1((java.util.Random, com.r3corda.core.ErrorOr((com.r3corda.client.mock.Generator.A)))))/generate">generate</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Random.html"><span class="identifier">Random</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="../../com.r3corda.core/-error-or/index.html"><span class="identifier">ErrorOr</span></a><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">)</span></code><br/>
<p>This file defines a basic <a href="index.html">Generator</a> library for composing random generators of objects.</p>
<p>An object of type <a href="index.html">Generator</a>&lt;<a href="#">A</a>&gt; captures a generator of <a href="#">A</a>s. Generators may be composed in several ways.</p>
<p><a href="choice.html">Generator.choice</a> picks a generator from the specified list and runs that.
<a href="frequency.html">Generator.frequency</a> is similar to <a href="choice.html">choice</a> but the probability may be specified for each generator (it is normalised before picking).
<a href="combine.html">Generator.combine</a> combines two generators of A and B with a function (A, B) -&gt; C. Variants exist for other arities.
<a href="bind.html">Generator.bind</a> sequences two generators using an arbitrary A-&gt;Generator function. Keep the usage of this
function minimal as it may explode the stack, especially when using recursion.</p>
<p>There are other utilities as well, the type of which are usually descriptive.</p>
<p>Example:
val birdNameGenerator = Generator.pickOne(listOf("raven", "pigeon"))
val birdHeightGenerator = Generator.doubleRange(from = 10.0, to = 30.0)
val birdGenerator = birdNameGenerator.combine(birdHeightGenerator) { name, height -&gt; Bird(name, height) }
val birdsGenerator = Generator.replicate(2, birdGenerator)
val mammalsGenerator = Generator.sampleBernoulli(listOf(Mammal("fox"), Mammal("elephant")))
val animalsGenerator = Generator.frequency(
0.2 to birdsGenerator,
0.8 to mammalsGenerator
)
val animals = animalsGenerator.generate(Random()).getOrThrow()</p>
<p>The above will generate a random list of animals.</p>
<br/>
<br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>Generator.bind - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">Generator</a>&nbsp;/&nbsp;<a href=".">bind</a><br/>
<br/>
<h1>bind</h1>
<a name="com.r3corda.client.mock.Generator$bind(kotlin.Function1((com.r3corda.client.mock.Generator.A, com.r3corda.client.mock.Generator((com.r3corda.client.mock.Generator.bind.B)))))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span> <span class="identifier">bind</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.mock.Generator$bind(kotlin.Function1((com.r3corda.client.mock.Generator.A, com.r3corda.client.mock.Generator((com.r3corda.client.mock.Generator.bind.B)))))/function">function</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">A</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><span class="identifier">Nothing</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>Generator.choice - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">Generator</a>&nbsp;/&nbsp;<a href=".">choice</a><br/>
<br/>
<h1>choice</h1>
<a name="com.r3corda.client.mock.Generator.Companion$choice(kotlin.collections.List((com.r3corda.client.mock.Generator((com.r3corda.client.mock.Generator.Companion.choice.A)))))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span> <span class="identifier">choice</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.mock.Generator.Companion$choice(kotlin.collections.List((com.r3corda.client.mock.Generator((com.r3corda.client.mock.Generator.Companion.choice.A)))))/generators">generators</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><a href="index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><span class="identifier">Nothing</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>Generator.fail - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">Generator</a>&nbsp;/&nbsp;<a href=".">fail</a><br/>
<br/>
<h1>fail</h1>
<a name="com.r3corda.client.mock.Generator.Companion$fail(java.lang.Exception)"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span> <span class="identifier">fail</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.mock.Generator.Companion$fail(java.lang.Exception)/error">error</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html"><span class="identifier">Exception</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>Generator.frequency - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">Generator</a>&nbsp;/&nbsp;<a href=".">frequency</a><br/>
<br/>
<h1>frequency</h1>
<a name="com.r3corda.client.mock.Generator.Companion$frequency(kotlin.Array((((kotlin.Double, com.r3corda.client.mock.Generator((com.r3corda.client.mock.Generator.Companion.frequency.A)))))))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span> <span class="identifier">frequency</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="com.r3corda.client.mock.Generator.Companion$frequency(kotlin.Array((((kotlin.Double, com.r3corda.client.mock.Generator((com.r3corda.client.mock.Generator.Companion.frequency.A)))))))/generators">generators</span><span class="symbol">:</span>&nbsp;<span class="identifier">&lt;ERROR CLASS&gt;</span><span class="symbol">&lt;</span><span class="identifier">Double</span><span class="symbol">,</span>&nbsp;<a href="index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>Generator.generate - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">Generator</a>&nbsp;/&nbsp;<a href=".">generate</a><br/>
<br/>
<h1>generate</h1>
<a name="com.r3corda.client.mock.Generator$generate"></a>
<code><span class="keyword">val </span><span class="identifier">generate</span><span class="symbol">: </span><span class="symbol">(</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Random.html"><span class="identifier">Random</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="../../com.r3corda.core/-error-or/index.html"><span class="identifier">ErrorOr</span></a><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>Generator.impure - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">Generator</a>&nbsp;/&nbsp;<a href=".">impure</a><br/>
<br/>
<h1>impure</h1>
<a name="com.r3corda.client.mock.Generator.Companion$impure(kotlin.Function0((com.r3corda.client.mock.Generator.Companion.impure.A)))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span> <span class="identifier">impure</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.mock.Generator.Companion$impure(kotlin.Function0((com.r3corda.client.mock.Generator.Companion.impure.A)))/valueClosure">valueClosure</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">A</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>Generator.map - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">Generator</a>&nbsp;/&nbsp;<a href=".">map</a><br/>
<br/>
<h1>map</h1>
<a name="com.r3corda.client.mock.Generator$map(kotlin.Function1((com.r3corda.client.mock.Generator.A, com.r3corda.client.mock.Generator.map.B)))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span> <span class="identifier">map</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.mock.Generator$map(kotlin.Function1((com.r3corda.client.mock.Generator.A, com.r3corda.client.mock.Generator.map.B)))/function">function</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="identifier">A</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">B</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>Generator.product - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">Generator</a>&nbsp;/&nbsp;<a href=".">product</a><br/>
<br/>
<h1>product</h1>
<a name="com.r3corda.client.mock.Generator$product(com.r3corda.client.mock.Generator((kotlin.Function1((com.r3corda.client.mock.Generator.A, com.r3corda.client.mock.Generator.product.B)))))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span> <span class="identifier">product</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.mock.Generator$product(com.r3corda.client.mock.Generator((kotlin.Function1((com.r3corda.client.mock.Generator.A, com.r3corda.client.mock.Generator.product.B)))))/other">other</span><span class="symbol">:</span>&nbsp;<a href="index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><span class="symbol">(</span><span class="identifier">A</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">B</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><span class="identifier">B</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>Generator.pure - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">Generator</a>&nbsp;/&nbsp;<a href=".">pure</a><br/>
<br/>
<h1>pure</h1>
<a name="com.r3corda.client.mock.Generator.Companion$pure(com.r3corda.client.mock.Generator.Companion.pure.A)"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span> <span class="identifier">pure</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.mock.Generator.Companion$pure(com.r3corda.client.mock.Generator.Companion.pure.A)/value">value</span><span class="symbol">:</span>&nbsp;<span class="identifier">A</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>Generator.sequence - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">Generator</a>&nbsp;/&nbsp;<a href=".">sequence</a><br/>
<br/>
<h1>sequence</h1>
<a name="com.r3corda.client.mock.Generator.Companion$sequence(kotlin.collections.List((com.r3corda.client.mock.Generator((com.r3corda.client.mock.Generator.Companion.sequence.A)))))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span> <span class="identifier">sequence</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.mock.Generator.Companion$sequence(kotlin.collections.List((com.r3corda.client.mock.Generator((com.r3corda.client.mock.Generator.Companion.sequence.A)))))/generators">generators</span><span class="symbol">:</span>&nbsp;<span class="identifier">List</span><span class="symbol">&lt;</span><a href="index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><span class="identifier">List</span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>Generator.success - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href="index.html">Generator</a>&nbsp;/&nbsp;<a href=".">success</a><br/>
<br/>
<h1>success</h1>
<a name="com.r3corda.client.mock.Generator.Companion$success(kotlin.Function1((java.util.Random, com.r3corda.client.mock.Generator.Companion.success.A)))"></a>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span> <span class="identifier">success</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.mock.Generator.Companion$success(kotlin.Function1((java.util.Random, com.r3corda.client.mock.Generator.Companion.success.A)))/generate">generate</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/Random.html"><span class="identifier">Random</span></a><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<span class="identifier">A</span><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><span class="identifier">A</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>com.r3corda.client.mock.doubleRange - </title>
<link rel="stylesheet" href="../style.css">
</HEAD>
<BODY>
<a href="index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href=".">doubleRange</a><br/>
<br/>
<h1>doubleRange</h1>
<a name="com.r3corda.client.mock$doubleRange(com.r3corda.client.mock.Generator.Companion, kotlin.Double, kotlin.Double)"></a>
<code><span class="keyword">fun </span><span class="identifier">Generator.Companion</span><span class="symbol">.</span><span class="identifier">doubleRange</span><span class="symbol">(</span><span class="identifier" id="com.r3corda.client.mock$doubleRange(com.r3corda.client.mock.Generator.Companion, kotlin.Double, kotlin.Double)/from">from</span><span class="symbol">:</span>&nbsp;<span class="identifier">Double</span><span class="symbol">, </span><span class="identifier" id="com.r3corda.client.mock$doubleRange(com.r3corda.client.mock.Generator.Companion, kotlin.Double, kotlin.Double)/to">to</span><span class="symbol">:</span>&nbsp;<span class="identifier">Double</span><span class="symbol">)</span><span class="symbol">: </span><a href="-generator/index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><span class="identifier">Double</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<HTML>
<HEAD>
<title>com.r3corda.client.mock.double - </title>
<link rel="stylesheet" href="../style.css">
</HEAD>
<BODY>
<a href="index.html">com.r3corda.client.mock</a>&nbsp;/&nbsp;<a href=".">double</a><br/>
<br/>
<h1>double</h1>
<a name="com.r3corda.client.mock$double(com.r3corda.client.mock.Generator.Companion)"></a>
<code><span class="keyword">fun </span><span class="identifier">Generator.Companion</span><span class="symbol">.</span><span class="identifier">double</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="-generator/index.html"><span class="identifier">Generator</span></a><span class="symbol">&lt;</span><span class="identifier">Double</span><span class="symbol">&gt;</span></code><br/>
<br/>
<br/>
</BODY>
</HTML>

Some files were not shown because too many files have changed in this diff Show More