Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #11089

please help understanding syntax

From John Goche <johngoche99@googlemail.com>
Newsgroups comp.lang.java.programmer
Subject please help understanding syntax
Date 2012-01-07 13:15 -0800
Organization http://groups.google.com
Message-ID <7e21b19b-356f-4a0b-ae08-687fc79e1afa@dp8g2000vbb.googlegroups.com> (permalink)

Show all headers | View raw


Hello,

I am looking at the java code on the following page:

http://gnuc.in/resources/archives/1404

There I find the following, but I do not
understand the syntax Auth.background() { ... }

public void checkAccount(final Account account)
{
    Auth.background()
    {
        @Override
        public void run()
        {
            Auth.checkAccount(account, this, new CustomCallback()
            {
                @Override
                public void handle(int resultCode)
                {
       // ...
                }
            });
        }
    });
}

Can someone please explain the syntax Auth.background() { ... } .
I understand the rest of the syntax.

Thanks,

John Goche

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

please help understanding syntax John Goche <johngoche99@googlemail.com> - 2012-01-07 13:15 -0800
  Re: please help understanding syntax Peter Duniho <NpOeStPeAdM@NnOwSlPiAnMk.com> - 2012-01-07 13:58 -0800
  Re: please help understanding syntax Roedy Green <see_website@mindprod.com.invalid> - 2012-01-07 14:28 -0800
  Re: please help understanding syntax Steven Simpson <ss@domain.invalid> - 2012-01-07 22:55 +0000
    Re: please help understanding syntax Lew <noone@lewscanon.com> - 2012-01-07 20:58 -0800
    Re: please help understanding syntax Steven Simpson <ss@domain.invalid> - 2012-01-08 08:25 +0000
    Re: please help understanding syntax Roedy Green <see_website@mindprod.com.invalid> - 2012-01-16 02:05 -0800

csiph-web