@Override gets the point across
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@898 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -39,13 +39,13 @@ public class LobbyDispatcher extends InvocationDispatcher<LobbyMarshaller>
|
|||||||
this.provider = provider;
|
this.provider = provider;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public LobbyMarshaller createMarshaller ()
|
public LobbyMarshaller createMarshaller ()
|
||||||
{
|
{
|
||||||
return new LobbyMarshaller();
|
return new LobbyMarshaller();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void dispatchRequest (
|
public void dispatchRequest (
|
||||||
ClientObject source, int methodId, Object[] args)
|
ClientObject source, int methodId, Object[] args)
|
||||||
throws InvocationException
|
throws InvocationException
|
||||||
|
|||||||
@@ -43,13 +43,13 @@ public class SimulatorDispatcher extends InvocationDispatcher<SimulatorMarshalle
|
|||||||
this.provider = provider;
|
this.provider = provider;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public SimulatorMarshaller createMarshaller ()
|
public SimulatorMarshaller createMarshaller ()
|
||||||
{
|
{
|
||||||
return new SimulatorMarshaller();
|
return new SimulatorMarshaller();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void dispatchRequest (
|
public void dispatchRequest (
|
||||||
ClientObject source, int methodId, Object[] args)
|
ClientObject source, int methodId, Object[] args)
|
||||||
throws InvocationException
|
throws InvocationException
|
||||||
|
|||||||
@@ -59,13 +59,13 @@ public class CardGameDecoder extends InvocationDecoder
|
|||||||
this.receiver = receiver;
|
this.receiver = receiver;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public String getReceiverCode ()
|
public String getReceiverCode ()
|
||||||
{
|
{
|
||||||
return RECEIVER_CODE;
|
return RECEIVER_CODE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void dispatchNotification (int methodId, Object[] args)
|
public void dispatchNotification (int methodId, Object[] args)
|
||||||
{
|
{
|
||||||
switch (methodId) {
|
switch (methodId) {
|
||||||
|
|||||||
@@ -42,13 +42,13 @@ public class TrickCardGameDispatcher extends InvocationDispatcher<TrickCardGameM
|
|||||||
this.provider = provider;
|
this.provider = provider;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public TrickCardGameMarshaller createMarshaller ()
|
public TrickCardGameMarshaller createMarshaller ()
|
||||||
{
|
{
|
||||||
return new TrickCardGameMarshaller();
|
return new TrickCardGameMarshaller();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void dispatchRequest (
|
public void dispatchRequest (
|
||||||
ClientObject source, int methodId, Object[] args)
|
ClientObject source, int methodId, Object[] args)
|
||||||
throws InvocationException
|
throws InvocationException
|
||||||
|
|||||||
@@ -60,13 +60,13 @@ public class ParlorDecoder extends InvocationDecoder
|
|||||||
this.receiver = receiver;
|
this.receiver = receiver;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public String getReceiverCode ()
|
public String getReceiverCode ()
|
||||||
{
|
{
|
||||||
return RECEIVER_CODE;
|
return RECEIVER_CODE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void dispatchNotification (int methodId, Object[] args)
|
public void dispatchNotification (int methodId, Object[] args)
|
||||||
{
|
{
|
||||||
switch (methodId) {
|
switch (methodId) {
|
||||||
|
|||||||
@@ -25,13 +25,13 @@ public class ChoiceParameter extends Parameter
|
|||||||
return "m.choice_" + choices[index];
|
return "m.choice_" + choices[index];
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override @ActionScript(omit=true) // documentation inherited
|
@Override @ActionScript(omit=true)
|
||||||
public String getLabel ()
|
public String getLabel ()
|
||||||
{
|
{
|
||||||
return "m.choice_" + ident;
|
return "m.choice_" + ident;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public Object getDefaultValue ()
|
public Object getDefaultValue ()
|
||||||
{
|
{
|
||||||
return start;
|
return start;
|
||||||
|
|||||||
@@ -19,13 +19,13 @@ public class RangeParameter extends Parameter
|
|||||||
/** The starting value for this parameter. */
|
/** The starting value for this parameter. */
|
||||||
public int start;
|
public int start;
|
||||||
|
|
||||||
@Override @ActionScript(omit=true) // documentation inherited
|
@Override @ActionScript(omit=true)
|
||||||
public String getLabel ()
|
public String getLabel ()
|
||||||
{
|
{
|
||||||
return "m.range_" + ident;
|
return "m.range_" + ident;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public Object getDefaultValue ()
|
public Object getDefaultValue ()
|
||||||
{
|
{
|
||||||
return start;
|
return start;
|
||||||
|
|||||||
@@ -13,13 +13,13 @@ public class ToggleParameter extends Parameter
|
|||||||
/** The starting state for this parameter. */
|
/** The starting state for this parameter. */
|
||||||
public boolean start;
|
public boolean start;
|
||||||
|
|
||||||
@Override @ActionScript(omit=true) // documentation inherited
|
@Override @ActionScript(omit=true)
|
||||||
public String getLabel ()
|
public String getLabel ()
|
||||||
{
|
{
|
||||||
return "m.toggle_" + ident;
|
return "m.toggle_" + ident;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public Object getDefaultValue ()
|
public Object getDefaultValue ()
|
||||||
{
|
{
|
||||||
return start;
|
return start;
|
||||||
|
|||||||
@@ -45,8 +45,8 @@ public class ScoreAnimation extends FloatingTextAnimation
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a score animation for the given score value centered at the given
|
* Constructs a score animation for the given score value centered at the given coordinates.
|
||||||
* coordinates. The animation will float up the screen for 30 pixels.
|
* The animation will float up the screen for 30 pixels.
|
||||||
*/
|
*/
|
||||||
public ScoreAnimation (Label label, int x, int y, long floatPeriod)
|
public ScoreAnimation (Label label, int x, int y, long floatPeriod)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -46,13 +46,13 @@ public class ParlorDispatcher extends InvocationDispatcher<ParlorMarshaller>
|
|||||||
this.provider = provider;
|
this.provider = provider;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public ParlorMarshaller createMarshaller ()
|
public ParlorMarshaller createMarshaller ()
|
||||||
{
|
{
|
||||||
return new ParlorMarshaller();
|
return new ParlorMarshaller();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void dispatchRequest (
|
public void dispatchRequest (
|
||||||
ClientObject source, int methodId, Object[] args)
|
ClientObject source, int methodId, Object[] args)
|
||||||
throws InvocationException
|
throws InvocationException
|
||||||
|
|||||||
@@ -46,13 +46,13 @@ public class TableDispatcher extends InvocationDispatcher<TableMarshaller>
|
|||||||
this.provider = provider;
|
this.provider = provider;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public TableMarshaller createMarshaller ()
|
public TableMarshaller createMarshaller ()
|
||||||
{
|
{
|
||||||
return new TableMarshaller();
|
return new TableMarshaller();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void dispatchRequest (
|
public void dispatchRequest (
|
||||||
ClientObject source, int methodId, Object[] args)
|
ClientObject source, int methodId, Object[] args)
|
||||||
throws InvocationException
|
throws InvocationException
|
||||||
|
|||||||
@@ -42,13 +42,13 @@ public class TourneyDispatcher extends InvocationDispatcher<TourneyMarshaller>
|
|||||||
this.provider = provider;
|
this.provider = provider;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public TourneyMarshaller createMarshaller ()
|
public TourneyMarshaller createMarshaller ()
|
||||||
{
|
{
|
||||||
return new TourneyMarshaller();
|
return new TourneyMarshaller();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void dispatchRequest (
|
public void dispatchRequest (
|
||||||
ClientObject source, int methodId, Object[] args)
|
ClientObject source, int methodId, Object[] args)
|
||||||
throws InvocationException
|
throws InvocationException
|
||||||
|
|||||||
@@ -43,13 +43,13 @@ public class TourniesDispatcher extends InvocationDispatcher<TourniesMarshaller>
|
|||||||
this.provider = provider;
|
this.provider = provider;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public TourniesMarshaller createMarshaller ()
|
public TourniesMarshaller createMarshaller ()
|
||||||
{
|
{
|
||||||
return new TourniesMarshaller();
|
return new TourniesMarshaller();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void dispatchRequest (
|
public void dispatchRequest (
|
||||||
ClientObject source, int methodId, Object[] args)
|
ClientObject source, int methodId, Object[] args)
|
||||||
throws InvocationException
|
throws InvocationException
|
||||||
|
|||||||
@@ -154,7 +154,7 @@ public class TourneyRepository extends JORARepository
|
|||||||
return configList;
|
return configList;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
protected void migrateSchema (Connection conn, DatabaseLiaison liaison)
|
protected void migrateSchema (Connection conn, DatabaseLiaison liaison)
|
||||||
throws SQLException, PersistenceException
|
throws SQLException, PersistenceException
|
||||||
{
|
{
|
||||||
@@ -164,7 +164,7 @@ public class TourneyRepository extends JORARepository
|
|||||||
}, "");
|
}, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
protected void createTables ()
|
protected void createTables ()
|
||||||
{
|
{
|
||||||
_ttable = new Table<TourneyRecord>(TourneyRecord.class, "TOURNEYS", "TOURNEY_ID", true);
|
_ttable = new Table<TourneyRecord>(TourneyRecord.class, "TOURNEYS", "TOURNEY_ID", true);
|
||||||
|
|||||||
@@ -42,13 +42,13 @@ public class PuzzleGameDispatcher extends InvocationDispatcher<PuzzleGameMarshal
|
|||||||
this.provider = provider;
|
this.provider = provider;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public PuzzleGameMarshaller createMarshaller ()
|
public PuzzleGameMarshaller createMarshaller ()
|
||||||
{
|
{
|
||||||
return new PuzzleGameMarshaller();
|
return new PuzzleGameMarshaller();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void dispatchRequest (
|
public void dispatchRequest (
|
||||||
ClientObject source, int methodId, Object[] args)
|
ClientObject source, int methodId, Object[] args)
|
||||||
throws InvocationException
|
throws InvocationException
|
||||||
|
|||||||
@@ -44,13 +44,13 @@ public class StageSceneDispatcher extends InvocationDispatcher<StageSceneMarshal
|
|||||||
this.provider = provider;
|
this.provider = provider;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public StageSceneMarshaller createMarshaller ()
|
public StageSceneMarshaller createMarshaller ()
|
||||||
{
|
{
|
||||||
return new StageSceneMarshaller();
|
return new StageSceneMarshaller();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void dispatchRequest (
|
public void dispatchRequest (
|
||||||
ClientObject source, int methodId, Object[] args)
|
ClientObject source, int methodId, Object[] args)
|
||||||
throws InvocationException
|
throws InvocationException
|
||||||
|
|||||||
@@ -207,7 +207,7 @@ public class StageSceneManager extends SpotSceneManager
|
|||||||
listener.requestProcessed();
|
listener.requestProcessed();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
protected void gotSceneData (Object extras)
|
protected void gotSceneData (Object extras)
|
||||||
{
|
{
|
||||||
super.gotSceneData(extras);
|
super.gotSceneData(extras);
|
||||||
@@ -250,7 +250,7 @@ public class StageSceneManager extends SpotSceneManager
|
|||||||
computeFootprints();
|
computeFootprints();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
protected void didStartup ()
|
protected void didStartup ()
|
||||||
{
|
{
|
||||||
super.didStartup();
|
super.didStartup();
|
||||||
@@ -260,13 +260,13 @@ public class StageSceneManager extends SpotSceneManager
|
|||||||
_ssobj.setStageSceneService(addDispatcher(new StageSceneDispatcher(this)));
|
_ssobj.setStageSceneService(addDispatcher(new StageSceneDispatcher(this)));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
protected PlaceObject createPlaceObject ()
|
protected PlaceObject createPlaceObject ()
|
||||||
{
|
{
|
||||||
return new StageSceneObject();
|
return new StageSceneObject();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
protected void bodyLeft (int bodyOid)
|
protected void bodyLeft (int bodyOid)
|
||||||
{
|
{
|
||||||
super.bodyLeft(bodyOid);
|
super.bodyLeft(bodyOid);
|
||||||
@@ -275,7 +275,7 @@ public class StageSceneManager extends SpotSceneManager
|
|||||||
_loners.remove(bodyOid);
|
_loners.remove(bodyOid);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
protected void updateLocation (BodyObject source, Location loc)
|
protected void updateLocation (BodyObject source, Location loc)
|
||||||
{
|
{
|
||||||
super.updateLocation(source, loc);
|
super.updateLocation(source, loc);
|
||||||
@@ -382,7 +382,7 @@ public class StageSceneManager extends SpotSceneManager
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
protected SceneLocation computeEnteringLocation (BodyObject body, Portal from, Portal entry)
|
protected SceneLocation computeEnteringLocation (BodyObject body, Portal from, Portal entry)
|
||||||
{
|
{
|
||||||
// sanity check
|
// sanity check
|
||||||
@@ -477,7 +477,7 @@ public class StageSceneManager extends SpotSceneManager
|
|||||||
return validateLocation(body, loc, false);
|
return validateLocation(body, loc, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
protected boolean validateLocation (BodyObject source, Location loc)
|
protected boolean validateLocation (BodyObject source, Location loc)
|
||||||
{
|
{
|
||||||
// TODO: make sure the user isn't warping to hell and gone (and if
|
// TODO: make sure the user isn't warping to hell and gone (and if
|
||||||
@@ -485,7 +485,7 @@ public class StageSceneManager extends SpotSceneManager
|
|||||||
return validateLocation(source, (StageLocation)loc, true);
|
return validateLocation(source, (StageLocation)loc, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
protected boolean canAddBody (ClusterRecord clrec, BodyObject body)
|
protected boolean canAddBody (ClusterRecord clrec, BodyObject body)
|
||||||
{
|
{
|
||||||
// make sure we have a setting for clusters of this size
|
// make sure we have a setting for clusters of this size
|
||||||
@@ -655,7 +655,7 @@ public class StageSceneManager extends SpotSceneManager
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
protected void bodyAdded (ClusterRecord clrec, BodyObject body)
|
protected void bodyAdded (ClusterRecord clrec, BodyObject body)
|
||||||
{
|
{
|
||||||
super.bodyAdded(clrec, body);
|
super.bodyAdded(clrec, body);
|
||||||
@@ -729,7 +729,7 @@ public class StageSceneManager extends SpotSceneManager
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
protected void bodyRemoved (ClusterRecord clrec, BodyObject body)
|
protected void bodyRemoved (ClusterRecord clrec, BodyObject body)
|
||||||
{
|
{
|
||||||
super.bodyRemoved(clrec, body);
|
super.bodyRemoved(clrec, body);
|
||||||
@@ -766,7 +766,7 @@ public class StageSceneManager extends SpotSceneManager
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
protected void checkCanCluster (BodyObject initiator, BodyObject target)
|
protected void checkCanCluster (BodyObject initiator, BodyObject target)
|
||||||
throws InvocationException
|
throws InvocationException
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ public class EditorTileManager extends MisoTileManager
|
|||||||
super(rmgr, imgr);
|
super(rmgr, imgr);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override //Documentation inherited
|
@Override
|
||||||
public TileSet getTileSet (int tileSetId)
|
public TileSet getTileSet (int tileSetId)
|
||||||
throws NoSuchTileSetException
|
throws NoSuchTileSetException
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ import com.threerings.io.ObjectOutputStream;
|
|||||||
*/
|
*/
|
||||||
public class ByteByteStringMapStat extends StringMapStat
|
public class ByteByteStringMapStat extends StringMapStat
|
||||||
{
|
{
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void persistTo (ObjectOutputStream out, AuxDataSource aux)
|
public void persistTo (ObjectOutputStream out, AuxDataSource aux)
|
||||||
throws IOException
|
throws IOException
|
||||||
{
|
{
|
||||||
@@ -42,7 +42,7 @@ public class ByteByteStringMapStat extends StringMapStat
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void unpersistFrom (ObjectInputStream in, AuxDataSource aux)
|
public void unpersistFrom (ObjectInputStream in, AuxDataSource aux)
|
||||||
throws IOException, ClassNotFoundException
|
throws IOException, ClassNotFoundException
|
||||||
{
|
{
|
||||||
@@ -54,7 +54,7 @@ public class ByteByteStringMapStat extends StringMapStat
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // from StringMapStat
|
@Override
|
||||||
protected int getMaxValue ()
|
protected int getMaxValue ()
|
||||||
{
|
{
|
||||||
return Byte.MAX_VALUE;
|
return Byte.MAX_VALUE;
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ import com.threerings.io.ObjectOutputStream;
|
|||||||
*/
|
*/
|
||||||
public class ByteStringSetStat extends StringSetStat
|
public class ByteStringSetStat extends StringSetStat
|
||||||
{
|
{
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void persistTo (ObjectOutputStream out, AuxDataSource aux)
|
public void persistTo (ObjectOutputStream out, AuxDataSource aux)
|
||||||
throws IOException
|
throws IOException
|
||||||
{
|
{
|
||||||
@@ -41,7 +41,7 @@ public class ByteStringSetStat extends StringSetStat
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void unpersistFrom (ObjectInputStream in, AuxDataSource aux)
|
public void unpersistFrom (ObjectInputStream in, AuxDataSource aux)
|
||||||
throws IOException, ClassNotFoundException
|
throws IOException, ClassNotFoundException
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -68,20 +68,20 @@ public class IntArrayStat extends Stat
|
|||||||
setModified(true);
|
setModified(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public String valueToString ()
|
public String valueToString ()
|
||||||
{
|
{
|
||||||
return StringUtil.toString(_value);
|
return StringUtil.toString(_value);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void persistTo (ObjectOutputStream out, AuxDataSource aux)
|
public void persistTo (ObjectOutputStream out, AuxDataSource aux)
|
||||||
throws IOException
|
throws IOException
|
||||||
{
|
{
|
||||||
out.writeObject(_value);
|
out.writeObject(_value);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void unpersistFrom (ObjectInputStream in, AuxDataSource aux)
|
public void unpersistFrom (ObjectInputStream in, AuxDataSource aux)
|
||||||
throws IOException, ClassNotFoundException
|
throws IOException, ClassNotFoundException
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -64,20 +64,20 @@ public class IntStat extends Stat
|
|||||||
return setValue(_value + delta);
|
return setValue(_value + delta);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public String valueToString ()
|
public String valueToString ()
|
||||||
{
|
{
|
||||||
return String.valueOf(_value);
|
return String.valueOf(_value);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void persistTo (ObjectOutputStream out, AuxDataSource aux)
|
public void persistTo (ObjectOutputStream out, AuxDataSource aux)
|
||||||
throws IOException
|
throws IOException
|
||||||
{
|
{
|
||||||
out.writeInt(_value);
|
out.writeInt(_value);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void unpersistFrom (ObjectInputStream in, AuxDataSource aux)
|
public void unpersistFrom (ObjectInputStream in, AuxDataSource aux)
|
||||||
throws IOException, ClassNotFoundException
|
throws IOException, ClassNotFoundException
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ import com.threerings.io.ObjectOutputStream;
|
|||||||
*/
|
*/
|
||||||
public class IntStringSetStat extends StringSetStat
|
public class IntStringSetStat extends StringSetStat
|
||||||
{
|
{
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void persistTo (ObjectOutputStream out, AuxDataSource aux)
|
public void persistTo (ObjectOutputStream out, AuxDataSource aux)
|
||||||
throws IOException
|
throws IOException
|
||||||
{
|
{
|
||||||
@@ -41,7 +41,7 @@ public class IntStringSetStat extends StringSetStat
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void unpersistFrom (ObjectInputStream in, AuxDataSource aux)
|
public void unpersistFrom (ObjectInputStream in, AuxDataSource aux)
|
||||||
throws IOException, ClassNotFoundException
|
throws IOException, ClassNotFoundException
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ import com.threerings.io.ObjectOutputStream;
|
|||||||
*/
|
*/
|
||||||
public class ShortStringSetStat extends StringSetStat
|
public class ShortStringSetStat extends StringSetStat
|
||||||
{
|
{
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void persistTo (ObjectOutputStream out, AuxDataSource aux)
|
public void persistTo (ObjectOutputStream out, AuxDataSource aux)
|
||||||
throws IOException
|
throws IOException
|
||||||
{
|
{
|
||||||
@@ -41,7 +41,7 @@ public class ShortStringSetStat extends StringSetStat
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void unpersistFrom (ObjectInputStream in, AuxDataSource aux)
|
public void unpersistFrom (ObjectInputStream in, AuxDataSource aux)
|
||||||
throws IOException, ClassNotFoundException
|
throws IOException, ClassNotFoundException
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ public abstract class StringSetStat extends SetStat<String>
|
|||||||
/**
|
/**
|
||||||
* Returns the number of Strings in this set.
|
* Returns the number of Strings in this set.
|
||||||
*/
|
*/
|
||||||
@Override // from SetStat
|
@Override
|
||||||
public int size ()
|
public int size ()
|
||||||
{
|
{
|
||||||
return _values.length;
|
return _values.length;
|
||||||
@@ -41,7 +41,7 @@ public abstract class StringSetStat extends SetStat<String>
|
|||||||
/**
|
/**
|
||||||
* Returns true if the specified string is contained in this set.
|
* Returns true if the specified string is contained in this set.
|
||||||
*/
|
*/
|
||||||
@Override // from SetStat
|
@Override
|
||||||
public boolean contains (String key)
|
public boolean contains (String key)
|
||||||
{
|
{
|
||||||
if (key == null) {
|
if (key == null) {
|
||||||
@@ -56,7 +56,7 @@ public abstract class StringSetStat extends SetStat<String>
|
|||||||
* @return true if the string was newly added, false if it was already
|
* @return true if the string was newly added, false if it was already
|
||||||
* contained in the set.
|
* contained in the set.
|
||||||
*/
|
*/
|
||||||
@Override // from SetStat
|
@Override
|
||||||
public boolean add (String key)
|
public boolean add (String key)
|
||||||
{
|
{
|
||||||
if (key == null) {
|
if (key == null) {
|
||||||
@@ -86,7 +86,7 @@ public abstract class StringSetStat extends SetStat<String>
|
|||||||
return _values;
|
return _values;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public String valueToString ()
|
public String valueToString ()
|
||||||
{
|
{
|
||||||
return StringUtil.toString(_values);
|
return StringUtil.toString(_values);
|
||||||
|
|||||||
@@ -44,13 +44,13 @@ public class SceneDecoder extends InvocationDecoder
|
|||||||
this.receiver = receiver;
|
this.receiver = receiver;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public String getReceiverCode ()
|
public String getReceiverCode ()
|
||||||
{
|
{
|
||||||
return RECEIVER_CODE;
|
return RECEIVER_CODE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void dispatchNotification (int methodId, Object[] args)
|
public void dispatchNotification (int methodId, Object[] args)
|
||||||
{
|
{
|
||||||
switch (methodId) {
|
switch (methodId) {
|
||||||
|
|||||||
@@ -42,13 +42,13 @@ public class SceneDispatcher extends InvocationDispatcher<SceneMarshaller>
|
|||||||
this.provider = provider;
|
this.provider = provider;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public SceneMarshaller createMarshaller ()
|
public SceneMarshaller createMarshaller ()
|
||||||
{
|
{
|
||||||
return new SceneMarshaller();
|
return new SceneMarshaller();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void dispatchRequest (
|
public void dispatchRequest (
|
||||||
ClientObject source, int methodId, Object[] args)
|
ClientObject source, int methodId, Object[] args)
|
||||||
throws InvocationException
|
throws InvocationException
|
||||||
|
|||||||
@@ -44,13 +44,13 @@ public class SpotDispatcher extends InvocationDispatcher<SpotMarshaller>
|
|||||||
this.provider = provider;
|
this.provider = provider;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public SpotMarshaller createMarshaller ()
|
public SpotMarshaller createMarshaller ()
|
||||||
{
|
{
|
||||||
return new SpotMarshaller();
|
return new SpotMarshaller();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void dispatchRequest (
|
public void dispatchRequest (
|
||||||
ClientObject source, int methodId, Object[] args)
|
ClientObject source, int methodId, Object[] args)
|
||||||
throws InvocationException
|
throws InvocationException
|
||||||
|
|||||||
@@ -44,13 +44,13 @@ public class ZoneDecoder extends InvocationDecoder
|
|||||||
this.receiver = receiver;
|
this.receiver = receiver;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public String getReceiverCode ()
|
public String getReceiverCode ()
|
||||||
{
|
{
|
||||||
return RECEIVER_CODE;
|
return RECEIVER_CODE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void dispatchNotification (int methodId, Object[] args)
|
public void dispatchNotification (int methodId, Object[] args)
|
||||||
{
|
{
|
||||||
switch (methodId) {
|
switch (methodId) {
|
||||||
|
|||||||
@@ -42,13 +42,13 @@ public class ZoneDispatcher extends InvocationDispatcher<ZoneMarshaller>
|
|||||||
this.provider = provider;
|
this.provider = provider;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public ZoneMarshaller createMarshaller ()
|
public ZoneMarshaller createMarshaller ()
|
||||||
{
|
{
|
||||||
return new ZoneMarshaller();
|
return new ZoneMarshaller();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override // documentation inherited
|
@Override
|
||||||
public void dispatchRequest (
|
public void dispatchRequest (
|
||||||
ClientObject source, int methodId, Object[] args)
|
ClientObject source, int methodId, Object[] args)
|
||||||
throws InvocationException
|
throws InvocationException
|
||||||
|
|||||||
Reference in New Issue
Block a user