Package collections

Class LinkedHashMapExample


  • public class LinkedHashMapExample
    extends java.lang.Object
    Example for Map interface and LinkedHashMap class.
    See Also:
    HashMapExample
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String... args)
      Count the number of occurrences of the words in the file specified by the first command line argument.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LinkedHashMapExample

        public LinkedHashMapExample()
    • Method Detail

      • main

        public static void main​(java.lang.String... args)
        Count the number of occurrences of the words in the file specified by the first command line argument.
        Parameters:
        args - ignored