Class NullEqualityArrayList<T>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<T>
com.valqueries.automapper.NullEqualityArrayList<T>
Type Parameters:
T - The type of the objects in the list.
All Implemented Interfaces:
Serializable, Cloneable, Iterable<T>, Collection<T>, List<T>, RandomAccess

public class NullEqualityArrayList<T> extends ArrayList<T>
This class is used to compare lists with null values, in a similar way to how SQL handles null values.

This means that two lists with null values are never equal, even if they have the same size and the same values in the same order.

See Also:
  • Constructor Details

    • NullEqualityArrayList

      public NullEqualityArrayList()
  • Method Details