class Sequence implements Iterable<SequenceItem> {

    public SequenceItem getLastItem() {
        if (containedItems.isEmpty()) {
            throw new SequenceConstructionException("Sequence is empty!");
        }
        return this.asList().get(this.size() - 1);
    }

    public  Sequence(int reservedSize, int uniqueIdentifier, String name);

}