TransactionSingleOpWriteExample
Date: 2016-02-29

de.zib.scalaris.examples

## Class TransactionSingleOpWriteExample

- java.lang.Object
- - de.zib.scalaris.examples.TransactionSingleOpWriteExample

-     public class TransactionSingleOpWriteExample
      extends Object

  Provides an example for using the `write` methods of the `TransactionSingleOp` class.
  Since:
    2.0
  Version:
    2.0
  Author:
    Nico Kruber, kruber@zib.de

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TransactionSingleOpWriteExample()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `main(String[] args)` Writes a key/value pair given on the command line with the `write` methods of `TransactionSingleOp`. If no value or key is given, the default key `"key"` and the default value `"value"` is used.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TransactionSingleOpWriteExample

          public TransactionSingleOpWriteExample()

  - ### Method Detail

    - #### main

          public static void main(String[] args)

      Writes a key/value pair given on the command line with the `write` methods of `TransactionSingleOp`.
      If no value or key is given, the default key `"key"` and the default value `"value"` is used.
      Parameters:
        `args` - command line arguments (first argument can be an optional key and the second an optional value)