|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object universe.Bundle<Msg>
public class Bundle<Msg extends java.io.Serializable>
Represents the result of a Universe function where the universe is updated, messages are sent to registered Worlds, and Worlds are marked for removal from the universe.
Constructor Summary | |
---|---|
Bundle(Universe<Msg> univ)
Create a Bundle without any Mail/Worlds to remove |
|
Bundle(Universe<Msg> univ,
List<Mail<Msg>> mails)
Create a Bundle with a list of Mail messages but no Worlds to remove |
|
Bundle(Universe<Msg> univ,
List<Mail<Msg>> mails,
List<IWorld> worlds)
Create a Bundle with a list of Mail messages and ask that the given Worlds be removed |
|
Bundle(Universe<Msg> univ,
Mail<Msg>... mails)
Create a Bundle with Mail messages but no Worlds to remove |
|
Bundle(Universe<Msg> univ,
Mail<Msg> mail)
Create a Bundle with Mail messages but no Worlds to remove |
Method Summary | |
---|---|
List<Mail<Msg>> |
getMails()
Get the list of Mail messages |
Universe<Msg> |
getUniverse()
Get the Universe state |
List<IWorld> |
getWorlds()
Get the worlds to be removed |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Bundle(Universe<Msg> univ)
public Bundle(Universe<Msg> univ, Mail<Msg> mail)
public Bundle(Universe<Msg> univ, Mail<Msg>... mails)
public Bundle(Universe<Msg> univ, List<Mail<Msg>> mails)
public Bundle(Universe<Msg> univ, List<Mail<Msg>> mails, List<IWorld> worlds)
Method Detail |
---|
public Universe<Msg> getUniverse()
public List<Mail<Msg>> getMails()
public List<IWorld> getWorlds()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |