@Override public Lock createLock() { return delegate.createLock(); } }
/** * Creates an empty {@link BasicEventList} with the given * <code>initialCapacity</code>. */ public BasicEventList(int initalCapacity) { this(initalCapacity, null, LockFactory.DEFAULT.createReadWriteLock()); }
/** * Creates a {@link BasicEventList}. */ public BasicEventList() { this(LockFactory.DEFAULT.createReadWriteLock()); }
public Lock createLock() { return delegate.createLock(); } }
/** Recreate an appropriate lock implementation when deserialized on the target JVM. */ private Object readResolve() throws ObjectStreamException { return LockFactory.DEFAULT.createReadWriteLock(); } }
public Lock createLock() { return delegate.createLock(); } }
/** Recreate an appropriate lock implementation when deserialized on the target JVM. */ private Object readResolve() throws ObjectStreamException { return LockFactory.DEFAULT.createReadWriteLock(); } }
/** Recreate an appropriate lock implementation when deserialized on the target JVM. */ private Object readResolve() throws ObjectStreamException { return LockFactory.DEFAULT.createReadWriteLock(); } }
/** * Creates a {@link BasicEventList}. */ public BasicEventList() { this(LockFactory.DEFAULT.createReadWriteLock()); }
/** Recreate an appropriate lock implementation when deserialized on the target JVM. */ private Object readResolve() throws ObjectStreamException { return LockFactory.DEFAULT.createReadWriteLock(); } }
/** * Creates an empty {@link BasicEventList} with the given * <code>initialCapacity</code>. */ public BasicEventList(int initalCapacity) { this(initalCapacity, null, LockFactory.DEFAULT.createReadWriteLock()); }
/** * Creates a {@link BasicEventList}. */ public BasicEventList() { this(LockFactory.DEFAULT.createReadWriteLock()); }
/** * Creates an empty {@link BasicEventList} with the given * <code>initialCapacity</code>. */ public BasicEventList(int initalCapacity) { this(initalCapacity, null, LockFactory.DEFAULT.createReadWriteLock()); }
public ReadWriteLock createReadWriteLock() { return delegate.createReadWriteLock(); }
@Override public ReadWriteLock createReadWriteLock() { return delegate.createReadWriteLock(); }
public ReadWriteLock createReadWriteLock() { return delegate.createReadWriteLock(); }
/** * Creates a {@link BasicEventList} that uses the specified {@link List} as * the underlying implementation. * * <p><strong><font color="#FF0000">Warning:</font></strong> all editing to * the specified {@link List} <strong>must</strong> be done through via this * {@link BasicEventList} interface. Otherwise this {@link BasicEventList} will * become out of sync and operations will fail. * * @deprecated As of 2005/03/06, this constructor has been declared unsafe * because the source list is exposed. This allows it to be modified without * the required events being fired. This constructor has been replaced by * the factory method {@link GlazedLists#eventList(Collection)}. */ public BasicEventList(List<E> list) { super(null); this.data = list; this.readWriteLock = LockFactory.DEFAULT.createReadWriteLock(); }
/** * Creates a {@link BasicEventList} that uses the specified {@link List} as * the underlying implementation. * * <p><strong><font color="#FF0000">Warning:</font></strong> all editing to * the specified {@link List} <strong>must</strong> be done through via this * {@link BasicEventList} interface. Otherwise this {@link BasicEventList} will * become out of sync and operations will fail. * * @deprecated As of 2005/03/06, this constructor has been declared unsafe * because the source list is exposed. This allows it to be modified without * the required events being fired. This constructor has been replaced by * the factory method {@link GlazedLists#eventList(Collection)}. */ public BasicEventList(List<E> list) { super(null); this.data = list; this.readWriteLock = LockFactory.DEFAULT.createReadWriteLock(); }
/** * Creates a {@link BasicEventList} using the specified initial capacity, * {@link ListEventPublisher} and {@link ReadWriteLock}. * * @since 2007-April-19 */ public BasicEventList(int initialCapacity, ListEventPublisher publisher, ReadWriteLock readWriteLock) { super(publisher); this.data = new ArrayList<E>(initialCapacity); this.readWriteLock = (readWriteLock == null) ? LockFactory.DEFAULT.createReadWriteLock() : readWriteLock; }
/** * Creates a {@link BasicEventList} using the specified initial capacity, * {@link ListEventPublisher} and {@link ReadWriteLock}. * * @since 2007-April-19 */ public BasicEventList(int initialCapacity, ListEventPublisher publisher, ReadWriteLock readWriteLock) { super(publisher); this.data = new ArrayList<E>(initialCapacity); this.readWriteLock = (readWriteLock == null) ? LockFactory.DEFAULT.createReadWriteLock() : readWriteLock; }