Code example for Stack

Methods: emptypop

0
 
        public static void pop () 
        { 
            Stack s = (Stack)local.get();
 
            if ((s == null) || s.empty())
                return; 
 
            s.pop();
        } 
 
        public static JAASRole peek () 
        { 
            Stack s = (Stack)local.get();
             
            if ((s == null) || (s.empty()))
                return null; 
             
             
            return (JAASRole)s.peek();
Stop searching for code, let great code find you!  Add Codota to your java IDE