applyToNodes() is superfluous now that we have getNodeObjects().
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5869 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -323,16 +323,6 @@ public abstract class PeerManager
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Applies the supplied function to all {@link NodeObject}s. The operation should not modify
|
||||
* the objects unless you really know what you're doing. More likely it will summarize
|
||||
* information contained therein.
|
||||
*/
|
||||
public <T> Iterable<T> applyToNodes (Function<NodeObject,T> op)
|
||||
{
|
||||
return Iterables.transform(getNodeObjects(), op);
|
||||
}
|
||||
|
||||
/**
|
||||
* Invokes the supplied function on <em>all</em> node objects (except the local node). A caller
|
||||
* that needs to call an invocation service method on a remote node should use this mechanism
|
||||
|
||||
Reference in New Issue
Block a user