Wednesday, August 24, 2005

Use Boolean to return ternary state

By using Boolean as return value, it is possible to represent ternary state by - Boolean.TRUE, Boolean.FALSE and null.

Technorati Tags:


Anonymous said...

That is such an amazingly bad idea.

Anonymous said...

I can't fathom a situation where you would possibly want to do that. Unless you're trying to get onto The Daily WTF.