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();
Contextual code suggestions in your IDE  Get Codota for Java