test_class.declarator: headerDelegate
test_class.modifier: private
test_class.original_string: private RuntimeDelegate.HeaderDelegate<AcceptLanguage> headerDelegate;
test_class.type: RuntimeDelegate.HeaderDelegate<AcceptLanguage>
test_class.var_name: headerDelegate
test_class.file: everrest-core/src/test/java/org/everrest/core/impl/header/AcceptLanguageTest.java
test_class.identifier: AcceptLanguageTest
test_case.body: @Test
      public void testValueOf() {
          AcceptLanguage acceptLanguage = acceptLanguage("en", "us");
          when(headerDelegate.fromString("en-us")).thenReturn(acceptLanguage);
  
          assertSame(acceptLanguage, AcceptLanguage.valueOf("en-us"));
      }
test_case.class_method_signature: AcceptLanguageTest.testValueOf()
test_case.full_signature: @Test public void testValueOf()
test_case.identifier: testValueOf
test_case.invocations: acceptLanguage thenReturn when fromString assertSame valueOf
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testValueOf()
focal_class.declarator: DEFAULT = new AcceptLanguage(new Locale("*"))
focal_class.modifier: public static final
focal_class.original_string: public static final AcceptLanguage DEFAULT = new AcceptLanguage(new Locale("*"));
focal_class.type: AcceptLanguage
focal_class.var_name: DEFAULT
focal_class.declarator: language
focal_class.modifier: private final
focal_class.original_string: private final Language language;
focal_class.type: Language
focal_class.var_name: language
focal_class.declarator: qValue
focal_class.modifier: private final
focal_class.original_string: private final float qValue;
focal_class.type: float
focal_class.var_name: qValue
focal_class.file: everrest-core/src/main/java/org/everrest/core/impl/header/AcceptLanguage.java
focal_class.identifier: AcceptLanguage
focal_class.interfaces: implements QualityValue
focal_class.class_method_signature: AcceptLanguage.valueOf(String header)
focal_class.full_signature: public static AcceptLanguage valueOf(String header)
focal_class.identifier: valueOf
focal_class.modifiers: public static
focal_class.parameters: (String header)
focal_class.return: AcceptLanguage
focal_class.signature: AcceptLanguage valueOf(String header)
focal_class.class_method_signature: AcceptLanguage.AcceptLanguage(Language language)
focal_class.full_signature: public  AcceptLanguage(Language language)
focal_class.identifier: AcceptLanguage
focal_class.modifiers: public
focal_class.parameters: (Language language)
focal_class.signature:  AcceptLanguage(Language language)
focal_class.class_method_signature: AcceptLanguage.AcceptLanguage(Language language, float qValue)
focal_class.full_signature: public  AcceptLanguage(Language language, float qValue)
focal_class.identifier: AcceptLanguage
focal_class.modifiers: public
focal_class.parameters: (Language language, float qValue)
focal_class.signature:  AcceptLanguage(Language language, float qValue)
focal_class.class_method_signature: AcceptLanguage.AcceptLanguage(Locale locale, float qValue)
focal_class.full_signature: public  AcceptLanguage(Locale locale, float qValue)
focal_class.identifier: AcceptLanguage
focal_class.modifiers: public
focal_class.parameters: (Locale locale, float qValue)
focal_class.signature:  AcceptLanguage(Locale locale, float qValue)
focal_class.class_method_signature: AcceptLanguage.AcceptLanguage(Locale locale)
focal_class.full_signature: public  AcceptLanguage(Locale locale)
focal_class.identifier: AcceptLanguage
focal_class.modifiers: public
focal_class.parameters: (Locale locale)
focal_class.signature:  AcceptLanguage(Locale locale)
focal_class.class_method_signature: AcceptLanguage.getLanguage()
focal_class.full_signature: public Language getLanguage()
focal_class.identifier: getLanguage
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Language
focal_class.signature: Language getLanguage()
focal_class.class_method_signature: AcceptLanguage.getPrimaryTag()
focal_class.full_signature: public String getPrimaryTag()
focal_class.identifier: getPrimaryTag
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPrimaryTag()
focal_class.class_method_signature: AcceptLanguage.getSubTag()
focal_class.full_signature: public String getSubTag()
focal_class.identifier: getSubTag
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getSubTag()
focal_class.class_method_signature: AcceptLanguage.getLocale()
focal_class.full_signature: public Locale getLocale()
focal_class.identifier: getLocale
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Locale
focal_class.signature: Locale getLocale()
focal_class.class_method_signature: AcceptLanguage.isCompatible(AcceptLanguage other)
focal_class.full_signature: public boolean isCompatible(AcceptLanguage other)
focal_class.identifier: isCompatible
focal_class.modifiers: public
focal_class.parameters: (AcceptLanguage other)
focal_class.return: boolean
focal_class.signature: boolean isCompatible(AcceptLanguage other)
focal_class.class_method_signature: AcceptLanguage.isCompatible(Language other)
focal_class.full_signature: public boolean isCompatible(Language other)
focal_class.identifier: isCompatible
focal_class.modifiers: public
focal_class.parameters: (Language other)
focal_class.return: boolean
focal_class.signature: boolean isCompatible(Language other)
focal_class.class_method_signature: AcceptLanguage.getQvalue()
focal_class.full_signature: @Override public float getQvalue()
focal_class.identifier: getQvalue
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: float
focal_class.signature: float getQvalue()
focal_class.class_method_signature: AcceptLanguage.equals(Object o)
focal_class.full_signature: @Override public boolean equals(Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(Object o)
focal_class.class_method_signature: AcceptLanguage.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: AcceptLanguage.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: public static AcceptLanguage valueOf(String header) {
          return RuntimeDelegate.getInstance().createHeaderDelegate(AcceptLanguage.class).fromString(header);
      }
focal_method.class_method_signature: AcceptLanguage.valueOf(String header)
focal_method.full_signature: public static AcceptLanguage valueOf(String header)
focal_method.identifier: valueOf
focal_method.invocations: fromString createHeaderDelegate getInstance
focal_method.modifiers: public static
focal_method.parameters: (String header)
focal_method.return: AcceptLanguage
focal_method.signature: AcceptLanguage valueOf(String header)