public void output() {
        if (!isEmpty()) {
            for (ValueType current : this) {
                System.out.print(current + " ");
            }
            System.out.println();
        }
    }