diff --git a/src/java/com/threerings/stats/data/StatSet.java b/src/java/com/threerings/stats/data/StatSet.java index 1244216e..5e9bf064 100644 --- a/src/java/com/threerings/stats/data/StatSet.java +++ b/src/java/com/threerings/stats/data/StatSet.java @@ -38,12 +38,24 @@ public class StatSet extends DSet public void updateStats (Stat stat); } + /** Creates a stat set with the specified contents. */ + public StatSet (Iterable contents) + { + super(contents); + } + /** Creates a stat set with the specified contents. */ public StatSet (Iterator contents) { super(contents); } + /** Creates a stat set with the specified contents. */ + public StatSet (Stat stat) + { + add(stat); + } + /** Creates a blank stat set. */ public StatSet () {