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, removeAllMethods inherited from class java.util.AbstractCollection
addAll, clear, contains, containsAll, isEmpty, remove, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream
-
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:
sizein interfaceCollection<PT_Locale>- Specified by:
sizein interfaceSet<PT_Locale>- Specified by:
sizein classAbstractCollection<PT_Locale>
-
add
Add the givenPT_Localein the backing map.- Specified by:
addin interfaceCollection<PT_Locale>- Specified by:
addin interfaceSet<PT_Locale>- Overrides:
addin classAbstractCollection<PT_Locale>
-
iterator
Returns an iterator over the entries in this set.
-