Bug 265425 [Workbench] Finalize API for Platform constants in org.eclipse.jface.util.Util
bundles/org.eclipse.jface/src/org/eclipse/jface/util/Util.java
*            The array to check (larger); may be <code>null</code>.
	 * @param right
	 *            The array that should be a subsequence (smaller); may be
	 *            <code>null</code>.
	 * @param equals
	 *            Whether the two array are allowed to be equal.
	 * @return <code>true</code> if the second array is a subsequence of the
	 *         array list, and they share end elements.
	 */
	public static final boolean endsWith(final Object[] left,
			final Object[] right, final boolean equals) {
		if (left == null || right == null) {
			return false;
		}
		int l = left.length;
		int r = right.length;
		if (r > l || !equals && r == l) {
			return false;
		}
		for (int i = 0; i < r; i++) {
			if (!equals(left[l - i - 1], right[r - i - 1])) {
				return false;
			}
		}
		return true;
	}
	/**
	 * Checks whether the two objects are <code>null</code> -- allowing for
	 * <code>null</code>.
	 *