Hi,

This might be a trivial question.

Consider the following snippet from the java api repository

WalkResponse r = riak.walk("bucket", "key", "bucket,_,1");
    if (r.isSuccess()) {
        List<? extends List<RiakObject>> steps = r.getSteps();
        for (List<RiakObject> step : steps) {
            for (RiakObject o : step) {
                // process the object
            }
        }
    }



Why are there 2 nested list?

Thank you

Akhil Kodali
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to