Ray suggests we call it asSet() instead of toSet() since it's a view.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5320 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-08-13 20:49:02 +00:00
parent ca56aa97aa
commit 40e64e2cf9
@@ -261,7 +261,7 @@ public class DSet<E extends DSet.Entry>
/**
* Creates an <b>immutable</b> view of this distributed set as a Java set.
*/
public Set<E> toSet ()
public Set<E> asSet ()
{
return new AbstractSet<E>() {
@Override public boolean add (E o) {