Primeira página Anterior Continuar Última página Gráfica
Funções utilitárias para coleções
Métodos que recebem Collection como argumento:
- Obter maior elemento: Object max( )
- Obter menor elemento: Object min( )
Métodos que retornam coleções com métodos cuja implementação é synchronized:
- Collection synchronizedCollection(Collection c)
- List synchronizedList(List l)
- Set synchronizedSet(Set s)
- SortedSet synchronizedSortedSet(SortedSet s)
- Map synchronizedMap(Map m)
- SortedMap synchronizedSortedMap(SortedMap m)