variants property

Iterable<String> variants
final

Iterable of variant subtags, zero-length iterable if variants are absent.

They are syntactically valid, normalized (have correct case) and canonical (sorted alphabetically and deprecated tags have been replaced) but not necessarily valid (variants might not exist) because the list of variants changes with time.

Implementation

final Iterable<String> variants;