Code example for Vector

0
 
    private final List<Object> _messages;
 
    public SimpleObjectCaptureHandler() 
    { 
      _messages = new Vector<Object>();
    } 
 
    public void clear() 
    { 
      _messages.clear();
    } 
 
    public List<Object> getMessages()
    { 
      return _messages;
    } 
 
    @Override 
    public void messageReceived(ChannelHandlerContext ctx, MessageEvent e) throws Exception
Connect your IDE to all the code out there  Get Codota for Java