Pedro Lopes
open-menu closeme
Home
About
github twitter linkedin rss
  • Type Erasure and Heap Pollution in Java

    calendar Feb 21, 2023 · 5 min read · java generics memory management heap pollution  ·
    Share on: twitter facebook linkedin copy
    Type Erasure and Heap Pollution in Java

    In this article, we'll look at the concept of type erasure in Java for classes and methods and what heap pollution is.


    Read More
  • Introduction to Generics in Java

    calendar Feb 14, 2023 · 8 min read · java generics oop  ·
    Share on: twitter facebook linkedin copy
    Introduction to Generics in Java

    In this tutorial, we'll look at what generics are, why they exist, and how to create generics in classes, methods, and records. In the last section, we'll examine the limitations of Generics and code examples where they don't work.


    Read More

Pedro Lopes

Engineer, Technologist, Writer, Teacher, and Perpetual Student.
Read More

Featured Posts

  • What are Records in Java 14
  • Deadlock, Livelock, and Starvation in Java

Recent Posts

  • ZonedDateTime in Java: Convert Between Timezones and Handle Daylight-Saving Time Automatically
  • Differences Between anyMatch() vs. allMatch() vs. noneMatch() in Java
  • Java 8 Stream findFirst vs. findAny: Perfomance and Functional Differences
  • Type Erasure and Heap Pollution in Java
  • Introduction to Generics in Java
  • What are Records in Java 14
  • Deadlock, Livelock, and Starvation in Java

Series

CONCURRENCY 3 STRING 3 CLASS-DESIGN 2 COLLECTIONS 2 DATETIME 2 GENERICS 2 STREAMS 2 DESIGN-PATTERNS 1 EXCEPTIONS 1 SPRING-CORE 1

Tags

JAVA 22 OOP 5 THREAD-SAFETY 4 MEMORY-MANAGEMENT 3 JAVA-GENERICS 2 JAVA-STREAM 2 JAVA-STRING 2 OPERATORS 2 SEARCH 2 DATE 1 DATE-TIME 1 HEAP-POLLUTION 1 JAVA-14 1 JAVA-TIME-API 1
All Tags
DATE1 DATE-TIME1 HEAP-POLLUTION1 JAVA22 JAVA-141 JAVA-GENERICS2 JAVA-STREAM2 JAVA-STRING2 JAVA-TIME-API1 JUNIT1 MEMORY-MANAGEMENT3 OOP5 OPERATORS2 SEARCH2 SINGLETON1 SOFTWARE-ARCHITECTURE1 SORTING1 SPRING1 SYSTEM-DESIGN1 TESTING1 THREAD-SAFETY4
[A~Z][0~9]
Pedro Lopes

Copyright 2022-  PEDRO LOPES. All Rights Reserved

to-top