The line 'I wondered lonely as a cloud' is an e...

Answer: 
a simile

The line 'I wondered lonely as a cloud' is an example of ______