@Override
	public CommerceTaxFixedRateAddressRel fetchByCommerceTaxMethodId_Last(
		long commerceTaxMethodId,
		OrderByComparator<CommerceTaxFixedRateAddressRel> orderByComparator) {
		int count = countByCommerceTaxMethodId(commerceTaxMethodId);

		if (count == 0) {
			return null;
		}

		List<CommerceTaxFixedRateAddressRel> list = findByCommerceTaxMethodId(commerceTaxMethodId,
				count - 1, count, orderByComparator);

		if (!list.isEmpty()) {
			return list.get(0);
		}

		return null;
	}
@ Override public CommerceTaxFixedRateAddressRel fetchByCommerceTaxMethodId_Last ( long commerceTaxMethodId , OrderByComparator < CommerceTaxFixedRateAddressRel > orderByComparator ) { int count = countByCommerceTaxMethodId ( commerceTaxMethodId ) ; if ( count == 0 ) { return null ; } List < CommerceTaxFixedRateAddressRel > list = findByCommerceTaxMethodId ( commerceTaxMethodId , count - 1 , count , orderByComparator ) ; if ( ! list . isEmpty ( ) ) { return list . get ( 0 ) ; } return null ; }
Returns the last commerce tax fixed rate address rel in the ordered set where commerceTaxMethodId = &#63;.

@param commerceTaxMethodId the commerce tax method ID
@param orderByComparator the comparator to order the set by (optionally <code>null</code>)
@return the last matching commerce tax fixed rate address rel, or <code>null</code> if a matching commerce tax fixed rate address rel could not be found