@Override
    public TypeOfValue peek() throws EmptyStackException {

        if (null == this.firstNode) {
            throw new EmptyStackException();
        }

        return (TypeOfValue) firstNode.getObject();
    }