/** * Perform an equality test on this list which delegates to the .equals() method of the member instances. * This is implemented with Equal.nonEmptyListEqual using the anyEqual rule. * * @param obj the other object to check for equality against. * @return true if this list is equal to the provided argument */ @Override public boolean equals( final Object obj ) { return Equal.equals0(NonEmptyList.class, this, obj, () -> Equal.nonEmptyListEqual(Equal.anyEqual())); }