From 27c8eac61c8e4719e02c9bfd6aa8c4ec7416a786 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Tue, 11 Sep 2007 01:50:24 +0000 Subject: [PATCH] Added getRecordedCount(). git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@425 c613c5cb-e716-0410-b11b-feb51c14d237 --- .../com/threerings/parlor/rating/util/Percentiler.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/java/com/threerings/parlor/rating/util/Percentiler.java b/src/java/com/threerings/parlor/rating/util/Percentiler.java index 969bfcec..7c690a1d 100644 --- a/src/java/com/threerings/parlor/rating/util/Percentiler.java +++ b/src/java/com/threerings/parlor/rating/util/Percentiler.java @@ -141,6 +141,14 @@ public class Percentiler } } + /** + * Returns the total number of values ever recorded to this percentiler. + */ + public long getRecordedCount () + { + return _total; + } + /** * Returns true if thsi percentiler has been modified since it was created or since the last * call to {@link #clearModified}.