Subtag implements Serializable, Cloneable,
		Comparable<Subtag> { public Subtag(Language language) { this(Type.PRIMARY, language.name().toLowerCase(Locale.ENGLISH)); } Subtag(Language language);  Subtag(Script script);  Subtag(Region region);  Subtag(Variant variant);  Subtag(Extlang extlang);  Subtag(Singleton singleton);  Subtag(Type type, String name);   Subtag();  Subtag(Type type, String name, Subtag prev);   Subtag(Type type, String name, Subtag prev, Subtag next); Type getType(); String getName(); Subtag getPrevious(); Subtag getNext(); String toString(); int hashCode(); boolean equals(Object obj); Subtag clone(); boolean isDeprecated(); @SuppressWarnings("unchecked") T getEnum(); boolean isValid(); Subtag canonicalize(); static Subtag newWildcard(); int compareTo(Subtag o);  }
@Test public void testSubtag() { Subtag subtag = new Subtag(); assertEquals(Type.WILDCARD, subtag.getType()); assertEquals("*", subtag.getName()); }