Package ca.phon.session
Class Participants
java.lang.Object
ca.phon.extensions.ExtendableObject
ca.phon.session.Participants
- All Implemented Interfaces:
IExtendable
,Visitable<Participant>
,Iterable<Participant>
public final class Participants
extends ExtendableObject
implements Iterable<Participant>, Visitable<Participant>
Helper class providing iterator and visitor methods
for
Session
Participant
s.-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(Visitor<Participant> visitor) Accept the given visitor.static void
copyParticipantInfo
(Participant src, Participant dest) iterator()
otherParticipants
(Participant part) Returns a list of participants which does not include the given participant.Methods inherited from class ca.phon.extensions.ExtendableObject
getExtension, getExtensions, putExtension, removeExtension
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
iterator
- Specified by:
iterator
in interfaceIterable<Participant>
-
accept
Description copied from interface:Visitable
Accept the given visitor.- Specified by:
accept
in interfaceVisitable<Participant>
-
getRoleCount
-
otherParticipants
Returns a list of participants which does not include the given participant.- Parameters:
part
-- Returns:
-
copyParticipantInfo
-