6- Using maps in Java

Pubblicato il: 22 dicembre 2015
sul canale di: Java Web Development
5,657
38

Define a key in the key space with type of String or Number (Integer, Float)
Define a relation between this key and the real value (Any object).
Use put() and get() methods to put or access to elements.
Override hashCode() method of the class of the items.
If key is a custom type, hashCode() method of the class must return as unique result as possible for each instance. Because evenly distributed keys mean high performance. You will learn the performance considerations of using a Map.
Access the source codes, exercises and their solutions at
https://www.udemy.com/java-8-core-tra...


In questa pagina del sito puoi guardare il video online 6- Using maps in Java della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Java Web Development 22 dicembre 2015, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 5,657 volte e gli è piaciuto 38 spettatori. Buona visione!