> -  void add(Triple triple);
> +  Triple add(Triple triple);

Returning something from add() does not work for me.

(And even if it did, I would have expected "boolean" as to whether the triple was actually added or not.)

1/ I don't understand "possibly mapping" being in the API. A triple is a triple. What is the client supposed to do differently with .equals one returned (it is .equals?)

2/ I am finding that having a flow back from add operations difficult to deal with.

A sequence of add(Triple) can be batched up and only need to be performed before another operation is called that can observe the change.

In the case a remote destination, the overhead per add is significant (network rounds). But if it is delayed, then the return of anything is not available.

For a general interface, this should be

    void add(Triple)

        Andy


Reply via email to