Cleaned up the fine-grained permissions system a bit so that Yohoho can make

use of it in good conscience.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5117 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-05-22 12:03:30 +00:00
parent 74791b0493
commit 86dd4d75c7
9 changed files with 130 additions and 56 deletions
@@ -65,6 +65,22 @@ public class DSet<E extends DSet.Entry>
public Comparable getKey ();
}
/**
* Creates a new DSet of the appropriate generic type.
*/
public static <E extends DSet.Entry> DSet<E> newDSet ()
{
return new DSet<E>();
}
/**
* Creates a new DSet of the appropriate generic type.
*/
public static <E extends DSet.Entry> DSet<E> newDSet (Iterable<E> source)
{
return new DSet<E>(source);
}
/**
* Creates a distributed set and populates it with values from the supplied iterator. This
* should be done before the set is unleashed into the wild distributed object world because no