Neu: Java-Workshop auf entwickler.de

Dieser Workshop hat bereits stattgefunden.

TAGE

STUNDEN

MINUTEN

SEKUNDEN

Angebot sichern

„Data Structures in Java“-Workshop mit Experten Heinz Kabutz

Push your Java career and raise up to the next pro level!

Java-Workshop: A thorough look at the collection classes in java.util.** in Java.

Trainer: Heinz Kabutz | Author of “The Java Specialists“ Newsletter

Sprache: Englisch

  • Java has an overwhelming number of interfaces and classes in the java.util.** packages. In this course you will learn what they are and when to use which. Is ArrayList better than LinkedList? What is the difference in space complexity between the two classes?
  • Choosing the correct collection can make our code more succinct. For example, the new List.of() syntax in Java 9 is better at creating immutable lists.
  • By looking at hashing closely, we can learn how to write hashing functions that produce a 3x performance improvement for HashMap and ConcurrentHashMap.
  • We learn when to use which concurrent classes and which to avoid.

Gesamte Beschreibung:

Java programmers typically use only very few collection classes for all of their work. Often they chose inappropriate ones. In this course, we will look at what each collection costs and when you should use which one. Some of the questions will we answer include: Which is the best Collection to use in Java? When do you need to employ ConcurrentSkipListSet? What is the computational time complexity of WeakHashMap?

Prerequisites
  • Attendees should be familiar with basic Java code, but a CS degree is not assumed
  • Should know at least Java 6. We are covering all relevant collection classes up until Java 11. Knowledge of streams and lambdas not necessary.
  • Course Set-up: Please install the following before the class begins: – JDK 11 or later – IntelliJ 2020.2 or later – Git
    Further set-up instructions will be provided at the start of the class.

    Recommended Follow-up: Sign up to The Java Specialists’ Newsletter for lots of tips on the latest Java developments: https://www.javaspecialists.eu/archive

    Agenda:

    The timeframes are only estimates and may vary according to how the class is progressing.

  • Section 1 – Introduction to Collections in Java (10 minutes)
    * Computational Time and Space Complexity
    * Arrays
    * Section 1 Quiz (5 minutes)

  • Section 2 – Lists (30 minutes)
    * DLists
    * ArrayList
    * Iteration
    * CopyOnWriteArrayList
    * LinkedList
    * Section 2 Quiz (5 minutes)

  • Section 3 – Sorting (25 minutes)
    * Sorting lists
    * Section 3 Quiz (5 minutes)

  • Section 4 – Sets (15 minutes)
    * DSets
    * TreeSet
    * ConcurrentSkipListSet
    * CopyOnWriteArraySet
    * Section 4 Quiz (5 minutes)

  • Section 5 – Hashing (15 minutes)
    * Hashing
    * HashSet
    * ConcurrentHashMap.newKeySet()
    * Section 5 Quiz (5 minutes)

  • Section 6 – Maps (45 minutes)
    * Maps
    * HashMap
    * ConcurrentHashMap
    * TreeMap
    * ConcurrentSkipListMap
    * LinkedHashMap and LinkedHashSet
    * Highly Specialized Collections: EnumSet, EnumMap, IdentityHashMap, Properties, WeakHashMap
    * Section 6 Quiz (5 minutes)

  • Section 7 – Queues and Deques (25 minutes)
    * Queues and Deques
    * ConcurrentLinkedQueue and ConcurrentLinkedDeque
    * ArrayDeque
    * BlockingQueues
    * LinkedBlockingQueue and LinkedBlockingDeque
    * ArrayBlockingQueue
    * Highly specialized queues: DelayQueue, SynchronousQueue, LinkedTransferQueue
    * PriorityQueue and PriorityBlockingQueue *Section 7 Quiz (5 minutes)

  • Section 8 – Collection Facades (15 minutes)
    * java.util.Collections
    * java.util.Arrays
    * Section 8 Quiz (5 minutes)

  • Section 9 – Wrap-up (15 minutes)
    * Further questions

    Zielgruppe: This course is for you because…
  • Junior and intermediate Java programmers wanting to understand collections better.
  • Advanced programmers who want to acquire additional skills.
  • Datum: 27. Mai 2021 | 13:00 – 17:00 Uhr | online

    Plattform: Browserbasiert auf entwickler.de – die Installation zusätzlicher Software ist nicht nötig.

    +

    Alle Fachartikel, Kolumnen und Serien aus unseren beliebten Magazinen – kompakt an deiner Seite Magazine Die populären Portale entwickler.de und JAXenter.de sind jetzt Teil unserer großen Wissensplattform Aktuelle IT-Blogs Interaktive Workshops und Online-Konferenztage mit den besten Experten der Szene Live Events Exklusive digitale Bücher, Video-Tutorials und ausgewählte Themen-Specials der Redaktion eBooks & Specials Antworten auf deine persönlichen IT-Fragen mit unserem ML-basierten Suchassistenten KI-Themensuche
    Interaktive Workshops und Online-Konferenztage mit den besten Experten der Szene Live Events Alle Fachartikel, Kolumnen und Serien aus unseren beliebten Magazinen – kompakt an deiner Seite Magazine Antworten auf deine persönlichen IT-Fragen mit unserem ML-basierten Suchassistenten KI-Themensuche Die populären Portale entwickler.de und JAXenter.de sind jetzt Teil unserer großen Wissensplattform Aktuelle IT-Blogs Exklusive digitale Bücher, Video-Tutorials und ausgewählte Themen-Specials der Redaktion eBooks & Specials



    Noch mehr Heinz Kabutz: der ultimative Kurs – 5 Tage zum Thema Refactoring & Design Patterns


    Angebote für Gewinner-Teams

    Wir bieten Lizenz-Lösungen für Teams jeder Größe: Finden Sie heraus, welche Lösung am besten zu Ihnen passt.

    Das Library-Modell:
    IP-Zugang

    Das Company-Modell:
    Domain-Zugang