Inspirel banner

Programming Distributed Systems with YAMI4

3.4.3 Java

The com.inspirel.yami package includes the Parameters class, which has the default constructor:

import com.inspirel.yami.Parameters;

// ...
{
    Parameters params = new Parameters();
    // ...
}

It is relatively inexpensive to create empty parameters objects, so the recommended practice is to create them in the innermost scope where they are needed.