Blogs about: Jdk Packages

Featured Blog

Generating DOM from XML preserving line numbers1 comment

Eyal Schneider wrote 2 years ago: Lately I was implementing a simple scripting language based on XML. One of the goals was to emit inf … more →

Tags: Java, DefaultHandler, DocumentBuilder, Dom, line numbers, locator, parser, sax, validation

Exceptional exceptions

Eyal Schneider wrote 3 years ago: From time to time, I find myself wondering what happens when an exception is thrown from some exotic … more →

Tags: Java, catch, class loader, Constructors, ExceptionInInitializerError, exceptions, finalizer queue, Finalizers, Finally

Comparators and sorted sets5 comments

Eyal Schneider wrote 3 years ago: Java suggests two techniques for defining an ordering on a collection of objects. The first is imple … more →

Tags: Java, comparable, Comparator, consistency, Equals, Ordering, SortedSet, TreeSet

Strings and Memory leaks4 comments

Eyal Schneider wrote 3 years ago: java.lang.String is one of the mostly used classes in Java. Interestingly,  it is important to know  … more →

Tags: Java, Bug, char array, immutable, java.lang.string, memory leak, String, substring

OutOfMemoryError

Eyal Schneider wrote 3 years ago: Any Java programmer has encountered at least once the disturbing OutOfMemoryError (OOME) message. Th … more →

Tags: Java, Garbage collection, Gc, generation, Heap, jConsole, jmap, JNI, jvm

SimpleDateFormat pitfalls3 comments

Eyal Schneider wrote 3 years ago: The class SimpleDateFormat is a very popular class, allowing flexible formatting and parsing of date … more →

Tags: Java, Date, DateFormat, SimpleDateFormat, Thread safety, time zone, validation

Having performance issues with regex?5 comments

Eyal Schneider wrote 4 years ago: Java introduced the java.util.regex package in version 1.4. It is a powerful addition, and yet, one … more →

Tags: Java, dfa, NFA, Performance, Regex, regexp, regular expression


Related Tags
All →

Follow this tag via RSS