E - public class ConnegScore<E> extends Object implements Comparable<ConnegScore<E>>
| Modifier and Type | Field and Description |
|---|---|
E |
format
The type of format.
|
float |
q
The quality score.
|
| Constructor and Description |
|---|
ConnegScore(float q,
E format) |
public final float q
public final E format
public ConnegScore(float q,
E format)
public int compareTo(ConnegScore<E> o)
q score the better the match with the user
agent's preference. A mime type without an explicit q score
has an implicit score of 1.compareTo in interface Comparable<ConnegScore<E>>Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.