492 lines
26 KiB
HTML
492 lines
26 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!--NewPage-->
|
|
<HTML>
|
|
<HEAD>
|
|
<!-- Generated by javadoc (build 1.6.0_24) on Wed Apr 06 17:00:17 PDT 2011 -->
|
|
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<TITLE>
|
|
Uses of Class com.threerings.stats.data.Stat (vilya 1.3 API)
|
|
</TITLE>
|
|
|
|
<META NAME="date" CONTENT="2011-04-06">
|
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
|
|
|
<SCRIPT type="text/javascript">
|
|
function windowTitle()
|
|
{
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="Uses of Class com.threerings.stats.data.Stat (vilya 1.3 API)";
|
|
}
|
|
}
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
</NOSCRIPT>
|
|
|
|
</HEAD>
|
|
|
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
|
<HR>
|
|
|
|
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<A NAME="navbar_top"><!-- --></A>
|
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
PREV
|
|
NEXT</FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../../../index.html?com/threerings/stats/data//class-useStat.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="Stat.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_top"></A>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
|
|
<HR>
|
|
<CENTER>
|
|
<H2>
|
|
<B>Uses of Class<br>com.threerings.stats.data.Stat</B></H2>
|
|
</CENTER>
|
|
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
Packages that use <A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><A HREF="#com.threerings.stats.data"><B>com.threerings.stats.data</B></A></TD>
|
|
<TD> </TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><A HREF="#com.threerings.stats.server.persist"><B>com.threerings.stats.server.persist</B></A></TD>
|
|
<TD> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
<A NAME="com.threerings.stats.data"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
Uses of <A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A> in <A HREF="../../../../../com/threerings/stats/data/package-summary.html">com.threerings.stats.data</A></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../../../../com/threerings/stats/data/package-summary.html">com.threerings.stats.data</A> with type parameters of type <A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> class</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../../com/threerings/stats/data/StatModifier.html" title="class in com.threerings.stats.data">StatModifier<T extends Stat></A></B></CODE>
|
|
|
|
<BR>
|
|
Encapsulates a modification to a single stat that can be serialized and sent to a different
|
|
server, if needed, to update stats loaded at runtime.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2">Subclasses of <A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A> in <A HREF="../../../../../com/threerings/stats/data/package-summary.html">com.threerings.stats.data</A></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> class</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../../com/threerings/stats/data/ByteByteStringMapStat.html" title="class in com.threerings.stats.data">ByteByteStringMapStat</A></B></CODE>
|
|
|
|
<BR>
|
|
Maps up to 127 string values to integers in the range 0 - 127.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> class</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../../com/threerings/stats/data/ByteStringSetStat.html" title="class in com.threerings.stats.data">ByteStringSetStat</A></B></CODE>
|
|
|
|
<BR>
|
|
A string set that maps its values to bytes.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> class</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../../com/threerings/stats/data/IntArrayStat.html" title="class in com.threerings.stats.data">IntArrayStat</A></B></CODE>
|
|
|
|
<BR>
|
|
Used to track an integer array statistic.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> class</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../../com/threerings/stats/data/IntSetStat.html" title="class in com.threerings.stats.data">IntSetStat</A></B></CODE>
|
|
|
|
<BR>
|
|
Used to track a statistic comprised of a bounded set of integers.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> class</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../../com/threerings/stats/data/IntStat.html" title="class in com.threerings.stats.data">IntStat</A></B></CODE>
|
|
|
|
<BR>
|
|
Used to track a single integer statistic.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> class</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../../com/threerings/stats/data/IntStringSetStat.html" title="class in com.threerings.stats.data">IntStringSetStat</A></B></CODE>
|
|
|
|
<BR>
|
|
A string set that maps its values to integers.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> class</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../../com/threerings/stats/data/MaxIntStat.html" title="class in com.threerings.stats.data">MaxIntStat</A></B></CODE>
|
|
|
|
<BR>
|
|
Extends the <A HREF="../../../../../com/threerings/stats/data/IntStat.html" title="class in com.threerings.stats.data"><CODE>IntStat</CODE></A> by maintaining a maximum value which is updated every time a value
|
|
is accumulated to the stat.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> class</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../../com/threerings/stats/data/MaxValueIntStat.html" title="class in com.threerings.stats.data">MaxValueIntStat</A></B></CODE>
|
|
|
|
<BR>
|
|
Extends the <A HREF="../../../../../com/threerings/stats/data/IntStat.html" title="class in com.threerings.stats.data"><CODE>IntStat</CODE></A> by maintaining the maximum value that the stat has ever been
|
|
assigned (unlike <A HREF="../../../../../com/threerings/stats/data/MaxIntStat.html" title="class in com.threerings.stats.data"><CODE>MaxIntStat</CODE></A>, which tracks the maximum value that the stat has ever
|
|
been incremented by).</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> class</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../../com/threerings/stats/data/SetStat.html" title="class in com.threerings.stats.data">SetStat<T></A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> class</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../../com/threerings/stats/data/ShortStringSetStat.html" title="class in com.threerings.stats.data">ShortStringSetStat</A></B></CODE>
|
|
|
|
<BR>
|
|
A string set that maps its values to shorts.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> class</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../../com/threerings/stats/data/StringMapStat.html" title="class in com.threerings.stats.data">StringMapStat</A></B></CODE>
|
|
|
|
<BR>
|
|
Used to track a statistic comprised of a set of strings that map to numeric counts.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> class</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../../../com/threerings/stats/data/StringSetStat.html" title="class in com.threerings.stats.data">StringSetStat</A></B></CODE>
|
|
|
|
<BR>
|
|
Used to track a statistic comprised of a set of strings.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../com/threerings/stats/data/package-summary.html">com.threerings.stats.data</A> with type parameters of type <A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
|
|
<TR ALIGN="right" VALIGN="">
|
|
<TD NOWRAP><FONT SIZE="-1">
|
|
<CODE><T extends <A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A>>
|
|
<BR>
|
|
void</CODE></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
</CODE></FONT></TD>
|
|
<TD><CODE><B>StatSet.</B><B><A HREF="../../../../../com/threerings/stats/data/StatSet.html#syncStat(com.threerings.stats.data.StatModifier)">syncStat</A></B>(<A HREF="../../../../../com/threerings/stats/data/StatModifier.html" title="class in com.threerings.stats.data">StatModifier</A><T> modifier)</CODE>
|
|
|
|
<BR>
|
|
Updates a stat in this set, using the supplied StatModifier.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../com/threerings/stats/data/package-summary.html">com.threerings.stats.data</A> that return <A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A></CODE></FONT></TD>
|
|
<TD><CODE><B>Stat.</B><B><A HREF="../../../../../com/threerings/stats/data/Stat.html#clone()">clone</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A></CODE></FONT></TD>
|
|
<TD><CODE><B>Stat.Type.</B><B><A HREF="../../../../../com/threerings/stats/data/Stat.Type.html#newStat()">newStat</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns a new blank stat instance of the specified type.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../com/threerings/stats/data/package-summary.html">com.threerings.stats.data</A> with parameters of type <A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B>StatSet.</B><B><A HREF="../../../../../com/threerings/stats/data/StatSet.html#addQuietly(com.threerings.stats.data.Stat)">addQuietly</A></B>(<A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A> stat)</CODE>
|
|
|
|
<BR>
|
|
Don't call this method, it's only needed by some tricky business we do when preventing
|
|
distributed object event generation for all but the bounty criteria related stats.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B>StatSet.Container.</B><B><A HREF="../../../../../com/threerings/stats/data/StatSet.Container.html#addToStats(com.threerings.stats.data.Stat)">addToStats</A></B>(<A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A> stat)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B>Stat.</B><B><A HREF="../../../../../com/threerings/stats/data/Stat.html#initType(com.threerings.stats.data.Stat.Type, com.threerings.stats.data.Stat)">initType</A></B>(<A HREF="../../../../../com/threerings/stats/data/Stat.Type.html" title="interface in com.threerings.stats.data">Stat.Type</A> type,
|
|
<A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A> prototype)</CODE>
|
|
|
|
<BR>
|
|
Used by the <A HREF="../../../../../com/threerings/stats/data/Stat.Type.html" title="interface in com.threerings.stats.data"><CODE>Stat.Type</CODE></A> implementation to map itself to an integer code.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B>StatSet.Container.</B><B><A HREF="../../../../../com/threerings/stats/data/StatSet.Container.html#updateStats(com.threerings.stats.data.Stat)">updateStats</A></B>(<A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A> stat)</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2">Constructor parameters in <A HREF="../../../../../com/threerings/stats/data/package-summary.html">com.threerings.stats.data</A> with type arguments of type <A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../../../../com/threerings/stats/data/StatSet.html#StatSet(java.lang.Iterable)">StatSet</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><<A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A>> contents)</CODE>
|
|
|
|
<BR>
|
|
Creates a stat set with the specified contents.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../../../../com/threerings/stats/data/StatSet.html#StatSet(java.util.Iterator)">StatSet</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A>> contents)</CODE>
|
|
|
|
<BR>
|
|
Creates a stat set with the specified contents.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
<A NAME="com.threerings.stats.server.persist"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
Uses of <A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A> in <A HREF="../../../../../com/threerings/stats/server/persist/package-summary.html">com.threerings.stats.server.persist</A></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../com/threerings/stats/server/persist/package-summary.html">com.threerings.stats.server.persist</A> with type parameters of type <A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
|
|
<TR ALIGN="right" VALIGN="">
|
|
<TD NOWRAP><FONT SIZE="-1">
|
|
<CODE><T extends <A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A>>
|
|
<BR>
|
|
T</CODE></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
</CODE></FONT></TD>
|
|
<TD><CODE><B>StatRepository.</B><B><A HREF="../../../../../com/threerings/stats/server/persist/StatRepository.html#updateStat(int, com.threerings.stats.data.StatModifier)">updateStat</A></B>(int playerId,
|
|
<A HREF="../../../../../com/threerings/stats/data/StatModifier.html" title="class in com.threerings.stats.data">StatModifier</A><T> modifier)</CODE>
|
|
|
|
<BR>
|
|
Applies a modification to a single stat.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../com/threerings/stats/server/persist/package-summary.html">com.threerings.stats.server.persist</A> that return types with arguments of type <A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A><<A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A>></CODE></FONT></TD>
|
|
<TD><CODE><B>StatRepository.</B><B><A HREF="../../../../../com/threerings/stats/server/persist/StatRepository.html#loadStats(int)">loadStats</A></B>(int playerId)</CODE>
|
|
|
|
<BR>
|
|
Loads the stats associated with the specified player.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../com/threerings/stats/server/persist/package-summary.html">com.threerings.stats.server.persist</A> with parameters of type <A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B>StatRepository.</B><B><A HREF="../../../../../com/threerings/stats/server/persist/StatRepository.html#writeModified(int, com.threerings.stats.data.Stat[])">writeModified</A></B>(int playerId,
|
|
<A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A>[] stats)</CODE>
|
|
|
|
<BR>
|
|
Writes out any of the stats in the supplied array that have been modified since they were
|
|
first loaded.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2">Method parameters in <A HREF="../../../../../com/threerings/stats/server/persist/package-summary.html">com.threerings.stats.server.persist</A> with type arguments of type <A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> void</CODE></FONT></TD>
|
|
<TD><CODE><B>StatRepository.</B><B><A HREF="../../../../../com/threerings/stats/server/persist/StatRepository.html#writeModified(int, java.lang.Iterable)">writeModified</A></B>(int playerId,
|
|
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><<A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data">Stat</A>> stats)</CODE>
|
|
|
|
<BR>
|
|
Writes out any of the stats in the supplied iterable that have been modified since they were
|
|
first loaded.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
<HR>
|
|
|
|
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<A NAME="navbar_bottom"><!-- --></A>
|
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../com/threerings/stats/data/Stat.html" title="class in com.threerings.stats.data"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
PREV
|
|
NEXT</FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../../../index.html?com/threerings/stats/data//class-useStat.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="Stat.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_bottom"></A>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
|
<HR>
|
|
Copyright © 2011. All Rights Reserved.
|
|
</BODY>
|
|
</HTML>
|