class MediaType implements AcceptPredicate<MediaType> {

    @Override
    public double qualityFactor() {
        String q = parameters.get(AcceptPredicate.QUALITY_FACTOR_PARAMETER);
        return q == null ? 1D : Double.valueOf(q);
    }

    private  MediaType(String type, String subtype);
    private  MediaType(Builder builder);

}