Life, Programming, Everything

When I find something interesting and new, I post it here - that's mostly programming, of course, not everything.

Thursday, December 25, 2008

Inner Class in Java: Unexpected Volatility

›
You probably know that if you use a value in an inner class, the evil Java compiler wants you to write "final"; people do all kind...
1 comment:
Sunday, December 14, 2008

categories: new part posted

›
Just posted a new part, "Category of Java Sets" , in Easy Categories For Programmers .
Saturday, December 13, 2008

Functions

›
An Excuse Well, I decided to gather all the code related to Function class in one "universe" container class, Functions. The other...
Thursday, December 11, 2008

Java Solutions: inheriting chain calls

›
Recently chain builder calls in Java have been gaining popularity, look, e.g. at this . The idea is that you have a builder that has small c...
4 comments:
Thursday, December 04, 2008

Java Compiler Warnings 2

›
Say, somewhere in your test code, you need a list of nulls: List<Direction> directionsWithNullValues = Lists.newArrayList( null , null...

Java Compiler Warnings 1

›
Since out of the 5 million Java programmers there's hardly 100 that actually know Java (I do not count myself in that holy hundred), we ...
3 comments:
Sunday, November 23, 2008

Keyboard Bookmarklets

›
Find your language below, and drag the grey square to bookmarks tab in your browser. Next time you open a page with edit field (e.g. blogger...
3 comments:
Sunday, November 16, 2008

What To Do with Dispatch of Static Methods for Java

›
A problem with Java that everybody encounters from time to time is the following: static methods cannot override each other. If class A has ...
Friday, October 24, 2008

Java's Strong Typing

›
In a typical case of user application dealing with some kind of "apache javabean properties access", we still want to have generic...
1 comment:
Monday, October 20, 2008

Experimenting with Covariance and Contravariance in Java Generics

›
Here I'll just publish the code that demonstrates what is accepted and what is not by the compiler when you use generics. Not many comme...
Monday, October 06, 2008

Unlimited Cartesian Product in Java - part 2

›
(This is the second part, see part 1 ). Here is the code that implements Cartesian product in Java. The implementation amounts to providing ...
3 comments:
Wednesday, October 01, 2008

Unlimited Cartesian Product in Java - part 1

›
You probably know what Cartesian product is. Take two sets, A and B, their product, A x B, is a set of all pairs (a, b), where a belongs to ...
Monday, September 29, 2008

class Function<X, Y>

›
As we all know, functions are not a part of Java language; and closures are banished to the North, to Microsoft. What do we, humble Java pro...
‹
›
Home
View web version

About Me

Vlad Patryshev
View my complete profile
Powered by Blogger.