src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/compiler/util/StringStack.java
changeset 47359 e1a6c0168741
parent 47216 71c04702a3d5
child 48409 5ab69533994b
equal deleted inserted replaced
47358:d07d5f7cab35 47359:e1a6c0168741
     1 /*
     1 /*
     2  * reserved comment block
     2  * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT REMOVE OR ALTER!
     3  * @LastModified: Oct 2017
     4  */
     4  */
     5 /*
     5 /*
     6  * Licensed to the Apache Software Foundation (ASF) under one or more
     6  * Licensed to the Apache Software Foundation (ASF) under one or more
     7  * contributor license agreements.  See the NOTICE file distributed with
     7  * contributor license agreements.  See the NOTICE file distributed with
     8  * this work for additional information regarding copyright ownership.
     8  * this work for additional information regarding copyright ownership.
    25 
    25 
    26 /**
    26 /**
    27  * @author Jacek Ambroziak
    27  * @author Jacek Ambroziak
    28  * @author Santiago Pericas-Geertsen
    28  * @author Santiago Pericas-Geertsen
    29  */
    29  */
    30 public final class StringStack extends Stack {
    30 public final class StringStack extends Stack<String> {
    31     static final long serialVersionUID = -1506910875640317898L;
    31     static final long serialVersionUID = -1506910875640317898L;
    32     public String peekString() {
    32     public String peekString() {
    33         return (String) super.peek();
    33         return super.peek();
    34     }
    34     }
    35 
    35 
    36     public String popString() {
    36     public String popString() {
    37         return (String) super.pop();
    37         return super.pop();
    38     }
    38     }
    39 
    39 
    40     public String pushString(String val) {
    40     public String pushString(String val) {
    41         return (String) super.push(val);
    41         return super.push(val);
    42     }
    42     }
    43 }
    43 }