Interface WithQValue<T>

All Known Subinterfaces:
LanguageRange
All Known Implementing Classes:
HttpCharset, HttpCharsetRange, HttpCharsetRange.$times, HttpCharsetRange.$times$, HttpCharsetRange.One, HttpEncoding, HttpEncodingRange, HttpEncodingRange.$times, HttpEncodingRange.$times$, HttpEncodingRange.One, Language, LanguageRange.$times, LanguageRange.$times$, LanguageRange.One, MediaRange, MediaRange.One, MediaRanges.PredefinedMediaRange, MediaType, MediaType.Binary, MediaType.Multipart, MediaType.NonBinary, MediaType.NonMultipartWithOpenCharset, MediaType.WithFixedCharset, MediaType.WithOpenCharset

public interface WithQValue<T>
Helper trait for objects that allow creating new instances with a modified qValue.
  • Method Summary

    Modifier and Type
    Method
    Description
    withQValue(double qValue)
    truncates Double qValue to float and returns a new instance with this qValue set
    withQValue(float qValue)
     
  • Method Details

    • withQValue

      T withQValue(double qValue)
      truncates Double qValue to float and returns a new instance with this qValue set
    • withQValue

      T withQValue(float qValue)