Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
target/
/.settings/
/.classpath
/.project
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public static final <K,V> ListenableMap<K,V> synchronizedMap(ListenableMap<K,V>
* <li>otherwise a instance of a ListenableCollection&lt;T&gt; will be returned.</li>
* </ul>
* @param <T> component type
* @param collectionToWrap
* @param collectionToWrap collection to wrap
* @return listenable collection that uses the provided collection as storage
*/
public static final <T> ListenableCollection<T> listenableCollection(Collection<T> collectionToWrap) {
Expand All @@ -192,7 +192,7 @@ public static final <T> ListenableCollection<T> listenableCollection(Collection<
* Wraps a list in a listenable list.<br>
* If is provided with a list that implements the RandomAccess interface, this method returns a listenable list that also implements the RandomAccess interface.
* @param <T> component type
* @param listToWrap
* @param listToWrap list to wrap
* @return listenable list that uses the provided list as storage
*/
public static final <T> ListenableList<T> listenableList(List<T> listToWrap) {
Expand All @@ -214,7 +214,7 @@ public RandomAccessListenableList(List<T> l) {
* Wraps a set in a listenable set.<br>
* If is provided with a set that implements the SortedSet interface, this method returns a listenable set that also implements the SortedSet interface.
* @param <T> component type
* @param setToWrap
* @param setToWrap set to wrap
* @return listenable set that uses the provided set as storage
*/
public static final <T> ListenableSet<T> listenableSet(Set<T> setToWrap) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This file comes from the Jalico project (Java Listenable Collections)
* This model safely propagates events from the listenable list to any registered ListDataListener within the event dispatch thread, even if the events were received from an other thread.
* @see javax.swing.event.ListDataListener
* @see javax.swing.JList
* @see com.ochafik.util.listenable.SwingCollectionListener
* @see SwingCollectionListener
* @author Olivier Chafik
* @param <T> Type of the elements of the list
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This file comes from the Jalico project (Java Listenable Collections)
* This model safely propagates events from the listenable list to any registered ListDataListener within the event dispatch thread, even if the events were received from an other thread.
* @see javax.swing.event.ListDataListener
* @see javax.swing.JList
* @see com.ochafik.util.listenable.SwingCollectionListener
* @see SwingCollectionListener
* @author Olivier Chafik
* @param <T> Type of the elements of the list
*/
Expand Down Expand Up @@ -59,7 +59,7 @@ public void collectionChanged(CollectionEvent<T> e) {
/**
* Set or change the listenable list which content is reflected by this list model.<br>
* May trigger DELETED events (if there was already a non-empty underlying list) and ADDED events (if the list being set is not empty).
* @param list
* @param list the list to set
*/
public void setList(ListenableList<T> list) {
ListenableList<T> oldList = this.list;
Expand Down