Hi Shiva,

both seem to do the same: remove and return the top element of the stack. Since 
it is a stack the pop op should be the correct one.

Regards Detlef

-------- Original-Nachricht --------
> Datum: Tue, 27 Mar 2012 16:11:16 +0530
> Von: Shiva Krishnan <shiva.s...@gmail.com>
> An: dev@commons.apache.org
> Betreff: [Collections] Difference between Pop and remove methods

> Hi
>    I am a newbie to this dev list. I was going through the ArrayStack.java
> in Collections and couldn't understand the difference between remove and
> pop methods. Can someone let me know about it ?
> 
> thanks
> Shiva

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to