Code example for ArrayDeque

Methods: peek

0
        } 
 
        @Override 
        public void characters(char[] ch, int start, int length)
                throws SAXException { 
            ElemNode node = elementStack.peek();
            node.appendToValue(String.valueOf(ch, start, length).trim());
        } 
    } 
}