The line "I wandered lonely as a cloud" is an e...

Answer: 
a simile.
The line "I wandered lonely as a cloud" is an example of