he Int
>>> range
>>> >
>>> > public class App
>>> > {
>>> > public static void main(String[] args)
>>> > {
>>> > Integer a = 128;
>>> > Integer b = 128;
>>> >
&
if (a == b) {
>> > System.out.println("Equal!");
>> > } else {
>> > System.out.println("Different!");
>> > }
>> > }
>> > }
>&g
> Integer a = 128;
> > Integer b = 128;
> >
> > if (a == b) {
> > System.out.println("Equal!");
> > } else {
> > System.out.println("Different!");
> >
t; Integer b = 128;
>>
>> if (a == b) {
>> System.out.println("Equal!");
>> } else {
>> System.out.println("Different!");
>> }
>&
ut:Different.
>
> Regards
> Sadhu
>
>
>
>
> -Original Message-
> From: Min Chen [mailto:min.c...@citrix.com]
> Sent: 25 February 2014 23:08
> To: dev@cloudstack.apache.org
> Subject: Re: Anti-patterns
>
> Thanks Hugo for the nice tutorial. In the last exam
x.com]
Sent: 25 February 2014 23:08
To: dev@cloudstack.apache.org
Subject: Re: Anti-patterns
Thanks Hugo for the nice tutorial. In the last example, are you trying to
saying this (luckily this time == works although not recommended)
public class App
{
public
That's why I move to Scala, == means what it should be:)
Thanks for the sharing.
> -Original Message-
> From: Trippie [mailto:trip...@gmail.com] On Behalf Of Hugo Trippaers
> Sent: Tuesday, February 25, 2014 5:41 AM
> To:
> Subject: Anti-patterns
>
> Anti-pattern:
> An anti-pattern (or a
Thanks Hugo for the nice tutorial. In the last example, are you trying to
saying this (luckily this time == works although not recommended)
public class App
{
public static void main(String[] args)
{
Integer a = 1;
Integer b = 1;
if