Code example for Vector

Methods: iterator

0
        if ( matches( m ) )
            m.addReceiver( m_receiver, m_receiverType );
    } 
 
    public boolean matches( Message m ) {
        for ( Condition i : m_conditions )
            if ( !i.satisfiedBy( m ) )
                return false; 
        return true; 
    } 
 
    private Vector<Condition> m_conditions;
    private String m_receiver;
    private Message.ReceiverType m_receiverType; 
}