public E first() { if (!checkInitializedRead()) return null; return getCollection().first(); }
public E first() { if (!checkInitializedRead()) return null; return getCollection().first(); }
public E last() { if (!checkInitializedRead()) return null; return getCollection().last(); }
public E first() { if (!checkInitializedRead()) return null; return getCollection().first(); }
public E last() { if (!checkInitializedRead()) return null; return getCollection().last(); }
public E last() { if (!checkInitializedRead()) return null; return getCollection().last(); }
public SortedSet<E> tailSet(E fromElement) { if (!checkInitializedRead()) return null; return new SortedSetProxy<E>(getCollection().tailSet(fromElement)); }
public SortedSet<E> tailSet(E fromElement) { if (!checkInitializedRead()) return null; return new SortedSetProxy<E>(getCollection().tailSet(fromElement)); }
public SortedSet<E> tailSet(E fromElement) { if (!checkInitializedRead()) return null; return new SortedSetProxy<E>(getCollection().tailSet(fromElement)); }
public SortedSet<E> headSet(E toElement) { if (!checkInitializedRead()) return null; return new SortedSetProxy<E>(getCollection().headSet(toElement)); }
public SortedSet<E> headSet(E toElement) { if (!checkInitializedRead()) return null; return new SortedSetProxy<E>(getCollection().headSet(toElement)); }
public SortedSet<E> headSet(E toElement) { if (!checkInitializedRead()) return null; return new SortedSetProxy<E>(getCollection().headSet(toElement)); }
public SortedSet<E> subSet(E fromElement, E toElement) { if (!checkInitializedRead()) return null; return new SortedSetProxy<E>(getCollection().subSet(fromElement, toElement)); }
public SortedSet<E> subSet(E fromElement, E toElement) { if (!checkInitializedRead()) return null; return new SortedSetProxy<E>(getCollection().subSet(fromElement, toElement)); }
public SortedSet<E> subSet(E fromElement, E toElement) { if (!checkInitializedRead()) return null; return new SortedSetProxy<E>(getCollection().subSet(fromElement, toElement)); }
public PersistentSortedSet<E> clone(boolean uninitialize) { PersistentSortedSet<E> set = new PersistentSortedSet<E>(); if (wasInitialized() && !uninitialize) set.init(getCollection(), null, isDirty()); return set; } }
public PersistentSortedSet<E> clone(boolean uninitialize) { PersistentSortedSet<E> set = new PersistentSortedSet<E>(); if (wasInitialized() && !uninitialize) set.init(getCollection(), null, isDirty()); return set; } }
public PersistentSortedSet<E> clone(boolean uninitialize) { PersistentSortedSet<E> set = new PersistentSortedSet<E>(); if (wasInitialized() && !uninitialize) set.init(getCollection(), null, isDirty()); return set; } }
@Override protected PersistentCollectionSnapshot createSnapshot(Object io, boolean forReading) { PersistentCollectionSnapshotFactory factory = PersistentCollectionSnapshotFactory.newInstance(io); if (forReading || !wasInitialized()) return factory.newPersistentCollectionSnapshot(true, getDetachedState()); return factory.newPersistentCollectionSnapshot(true, getDetachedState(), isDirty(), getCollection()); }
@Override protected PersistentCollectionSnapshot createSnapshot(Object io, boolean forReading) { PersistentCollectionSnapshotFactory factory = PersistentCollectionSnapshotFactory.newInstance(io); if (forReading || !wasInitialized()) return factory.newPersistentCollectionSnapshot(true, getDetachedState()); return factory.newPersistentCollectionSnapshot(true, getDetachedState(), isDirty(), getCollection()); }