Package org.apache.sis.internal.jaxb.lan
Class PT_Locale.Sequence
- Enclosing class:
- PT_Locale
A set of
PT_Locale
instances backed by a Map<Locale,Charset>
.
This is used at marshalling and unmarshalling time only.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Field Details
-
locales
The languages and character sets.
-
-
Constructor Details
-
Sequence
Creates a new set backed by the given map.
-
-
Method Details
-
size
public int size()Returns the number of elements in this set.- Specified by:
size
in interfaceCollection<PT_Locale>
- Specified by:
size
in interfaceSet<PT_Locale>
- Specified by:
size
in classAbstractCollection<PT_Locale>
-
add
Add the givenPT_Locale
in the backing map.- Specified by:
add
in interfaceCollection<PT_Locale>
- Specified by:
add
in interfaceSet<PT_Locale>
- Overrides:
add
in classAbstractCollection<PT_Locale>
-
iterator
Returns an iterator over the entries in this set.
-