Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/rxm.git

Comments for removing null from divergent lists.

AuthorDave Jarvis <email>
Date2015-03-28 17:04:59 GMT-0700
Commitf9edcb71ab0e1c88c2df4ab66594bad61e24cd96
Parent8de9ef8
source/java/com/whitemagicsoftware/rxm/DivergentList.java
* Provides the ability to determine the index whereat two lists begin
* to differ in content. Both this list and the list to compare against
- * must not contain null objects.
+ * must not contain null objects. Remove all nulls from both lists using
+ * <code>list.removeAll(Collections.singleton(null))</code> (assuming
+ * mutable lists).
*/
public class DivergentList<E> extends ArrayList<E> {
Delta3 lines added, 1 line removed, 2-line increase