From 3a12532da9d2b76adb960ece6d610bdc4099a57d Mon Sep 17 00:00:00 2001 From: Sergey Date: Fri, 31 Oct 2014 17:29:06 +0300 Subject: Added description of LinkedList, Map & HashMap. --- java.html.markdown | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/java.html.markdown b/java.html.markdown index dffc3828..478d85d6 100644 --- a/java.html.markdown +++ b/java.html.markdown @@ -123,9 +123,15 @@ public class LearnJava { // Others to check out // ArrayLists - Like arrays except more functionality is offered, // and the size is mutable - // LinkedLists - // Maps - // HashMaps + // LinkedLists - Implementation of doubly-linked list. All of the + // operations perform as could be expected for + // a doubly-linked list. + // Maps - An objects that maps keys to values. A map cannot contain + // duplicate keys; each key can map to at most one value. + // HashMaps - This class uses a hashtable to implement the Map interface. + // This allows the execution time of basic operations, + // such as get and insert element, to remain constant even + // for large sets. /////////////////////////////////////// // Operators -- cgit v1.2.3 From 494d97c4ee624f384ce771bc06f14d53ffecfca9 Mon Sep 17 00:00:00 2001 From: Sergey Date: Sat, 1 Nov 2014 22:32:51 +0300 Subject: [Java] Maps description little fix. --- java.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java.html.markdown b/java.html.markdown index 478d85d6..f08c4679 100644 --- a/java.html.markdown +++ b/java.html.markdown @@ -126,7 +126,7 @@ public class LearnJava { // LinkedLists - Implementation of doubly-linked list. All of the // operations perform as could be expected for // a doubly-linked list. - // Maps - An objects that maps keys to values. A map cannot contain + // Maps - A set of objects that maps keys to values. A map cannot contain // duplicate keys; each key can map to at most one value. // HashMaps - This class uses a hashtable to implement the Map interface. // This allows the execution time of basic operations, -- cgit v1.2.3