Section 108K. A female regular police officer in a city or town shall receive compensation equal, in all respects, to the compensation received by a male regular police officer of equal rank and seniority.