ArrayDeque interface equivalent method with Queue interface

Posted by yapkm01 on Stack Overflow See other posts from Stack Overflow or by yapkm01
Published on 2010-05-23T01:38:42Z Indexed on 2010/05/23 1:40 UTC
Read the original article Hit count: 285

Filed under:

I know that ArrayDeque offers both ends of processing (head and tail) but what i don't understand why the method offerlast() is equivalent to offer() method of Queue interface. Why not offerfirst()? Pleae advice. Thanks

© Stack Overflow or respective owner

Related posts about java