Mega Code Archive

 
Categories / Java Book / 005 Collection
 

0279 If contain a certain element

boolean contains(Object o) Returns true if this list contains the specified element.