hasSame method

bool hasSame(
  1. MediaType other
)

Implementation

bool hasSame(MediaType other) {
	return this.getType() == other.getType()
			&& this.getSubtype() == other.getSubtype();
}