Transilvania JUG

Sponsors

17
Sep
2014
5

Ensuring the numeric values of Enum constants

Problem statement: you have an Enum and you want to ensure that the numeric values returned by ordinal are a certain way (perhaps this Enum is part of a communication protocol with an external system or perhaps it is written … Continue reading

30
Mar
2014
0

Java 8 GA (General Availability)

Java 8 has been released! Some of the highlights of the release in no particular order: Lambda expressions and new API to make use of it (the streams API) New date-time API inspired by Joda Time Poject Nashorn (fast JS … Continue reading

29
Mar
2014
0

Method 2 of N for crashing your JVM :-)

On a previous post there was a short discussion about what’s the best way to clean up memory mapped files and Philippe brought to my attention the following text from a bugreport: With regard to the “workaround”, described in the JDC comments, … Continue reading

01
Mar
2014
9

Detecting (write) failures when using memory mapped files in Java

Memory mapped files are a good and often overlooked tool. I won’t go into the details here on how they work (use the force Google Luke!), but I will  quickly summarize their advantages: lazy loading and write caching provided by … Continue reading

05
Feb
2014
0

Explanations to common Java exceptions

From our mailing list: Explanations to common Java exceptions ArithmeticException – “You are trying to use your computer to solve a mathematical problem that you cannot solve yourself. Read up on your arithmetics and try again.” ArrayStoreException – “You have … Continue reading

05
Feb
2014
10

Even faster Java Expression Evaluator

I’ve been reading the How to write one of the fastest expression evaluators in Java article (also published over at JCG) and thought to myself – there is an even faster way! Thus I whipped up a Caliper benchmark which … Continue reading

21
Dec
2012
0

Ensuring the order of execution for tasks

This post was originally published as part of the Java Advent series. If you like it, please spread the word by sharing, tweeting, FB, G+ and so on! Want to write for the Java Advent blog? We are looking for … Continue reading

21
Dec
2012
0

Java Runtime options

This post was originally published as part of the Java Advent series. If you like it, please spread the word by sharing, tweeting, FB, G+ and so on! Want to write for the Java Advent blog? We are looking for … Continue reading

12
Dec
2012
0

Concurs Java lansat de TodaySoftMag

Textul complet de la anunt il puteti gasi aici. Testul Brainbench despre care e vorba puteti gasi aici. Sa nu va enervati prea mult din cauza calitatii testului :-). ID-ul de transcript final trebuie sa fie de forma “http://www.brainbench.com/transcript.jsp?pid=1234567”. Citat … Continue reading

10
Dec
2012
2

Changes to String.substring in Java 7

This post was originally published as part of the Java Advent series. If you like it, please spread the word by sharing, tweeting, FB, G+ and so on! Want to write for the Java Advent blog? We are looking for … Continue reading

df