public class SacJS extends JavaScriptObjectX
Modifier and Type | Field and Description |
---|---|
static Comparator<SacJS> |
NAME_COMPARATOR
A lexical comparator that sorts (1) by account name, and (2) by counting method.
|
Modifier | Constructor and Description |
---|---|
protected |
SacJS() |
Modifier and Type | Method and Description |
---|---|
String |
accountName()
The account name for this superaccount.
|
static StringBuilder |
appendSwitch(SacJS sac,
StringBuilder b)
Appends the value for the 'a' switch that designates this superaccount.
|
CountingMethodJS.SwitchMnemonic |
countingMethodMnemonic()
The switch mnemonic of the counting method.
|
String |
countingMethodName()
The name of the counting method.
|
(package private) void |
init(String countingMethodName,
String accountName)
Initializes a superaccount that was received on the wire.
|
_enumerablePropertyNames, _in, _isDuckType, _isDuckType
_delete, _get, _getBoolean, _getByte, _getChar, _getDouble, _getFloat, _getInt, _getShort, _getString, _hasOwnProperty, _hasProperty, _propertyIsEnumerable, _set, _setBoolean, _setByte, _setChar, _setDouble, _setFloat, _setInt, _setShort, _setString, cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
public static final Comparator<SacJS> NAME_COMPARATOR
accountName()
,
countingMethodName()
protected SacJS()
final void init(String countingMethodName, String accountName) throws CountingMethodJS.NoSuchMethod
CountingMethodJS.NoSuchMethod
- if the counting method is unrecognized.public final String accountName()
public static final StringBuilder appendSwitch(SacJS sac, StringBuilder b)
sac
- the superaccount, or null for the null account.SacSelection.aSacSwitch()
public final CountingMethodJS.SwitchMnemonic countingMethodMnemonic()
public final String countingMethodName()