Package overit.geocall.mail
Class Addresses
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<Address>,Collection<Address>,List<Address>,RandomAccess,SequencedCollection<Address>
This class manages a list of
Address- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAddress(int i) Returns theAddressin the specified positionbooleanReturnstrueif they have the same addresses,falseotherwisevoidSets theAddressin the listvoidSets all theAddressesprotected DBViewtoDBView()Returns an html string with all theAddressAddress[]toInternetAddresses(String charset) Returns an array ofAddressReturns a string with all theAddressseparated by the delimitatorMethods inherited from class java.util.ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll, reversed
-
Constructor Details
-
Addresses
public Addresses()Empty constructor -
Addresses
Constructor for Addresses- Parameters:
aa- The Addresses
-
-
Method Details
-
set
Sets theAddressin the list- Parameters:
a- TheAddressto set
-
setAll
Sets all theAddresses- Parameters:
aa- TheAddressesto set
-
getAddress
Returns theAddressin the specified position -
toString
Returns a string with all theAddressseparated by the delimitator- Parameters:
delim- The delimitator- Returns:
- A string with all the
Addressseparated by the delimitator
-
toHtml
Returns an html string with all theAddress- Parameters:
delim- The delimitator- Returns:
- An html string with all the
Address
-
toDBView
-
toInternetAddresses
Returns an array ofAddress- Parameters:
charset- The charset- Returns:
- An array of
Address
-
sameAddresses
Returnstrueif they have the same addresses,falseotherwise- Parameters:
o- The object to compare- Returns:
trueif they have the same addresses,falseotherwise
-