Examples/AirlineFaresNew/src/main/java/com/cs6240/airline/CompositeGroupKey.java
//Compares two composite keys to check for airline code equality
Compares two composite keys to check for airline code equality
Compares two composite keys to check for airline code equality
@Override
	public int compareTo(CompositeGroupKey t) {
		int cmp = this.airlinecode.compareTo(t.airlinecode);
		if (cmp != 0) {
			return cmp;
		}
		return this.month.compareTo(t.month);
	}
@ Override public int compareTo ( CompositeGroupKey t ) { int cmp = this . airlinecode . compareTo ( t . airlinecode ) ; if ( cmp != 0 ) { return cmp ; } return this . month . compareTo ( t . month ) ; }
Compares two composite keys to check for airline code equality
Compares two composite keys to check for airline code equality