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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user