base/common/src/main/com/thesett/common/util/LifoStack.java
public E peek()
    {
        int last = size() - 1;
        E ob;

        if (last == -1)
        {
            return null;
        }

        ob = get(last);

        return ob;
    }
public E peek()
    {
        int last = size() - 1;
        E ob;

        if (last == -1)
        {
            return null;
        }

        ob = get(last);

        return ob;
    }
public E peek ( ) { int last = size ( ) - 1 ; E ob ; if ( last == - 1 ) { return null ; } ob = get ( last ) ; return ob ; }
Provides a look at the last object placed on the stack, since it will be the first one out. This method does not
change the contents of the stack. Because this class is unsynchronized, applications using this class are
responsible for making sure that a <CODE>peek()</CODE> followed by a <CODE>pop()</CODE> returns the same value.

@return the object on the top of the stack
Provides a look at the last object placed on the stack since it will be the first one out . This method does not change the contents of the stack . Because this class is unsynchronized applications using this class are responsible for making sure that a <CODE > peek () < / CODE > followed by a <CODE > pop () < / CODE > returns the same value .