🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #418

synchronized methods

#418
From: George
Date: Fri, 12 Aug 2005 16:50
11 lines
1163 bytes
If an interface method is declared as
    public void actionPerformed(ActionEvent e)

and I implement is as
    public synchronized void actionPerformed(ActionEvent e)

I don't get any compile errors.  Does this mean that two (or more) users can
never perform the action at the same time?

TIA
George
Technical Details
Message-ID: <42fcd363$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,b91dabe4e4e5f141,start
X-Google-Attributes: gidf74b3,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "George" <gxavier@hotmail.com>
Newsgroups: borland.public.jbuilder.java.language
Subject: synchronized methods
Date: Fri, 12 Aug 2005 12:50:36 -0400
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 216.163.255.1
Message-ID: <42fcd363$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1123865443 216.163.255.1 (12 Aug 2005 09:50:43 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.moat.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.spamkiller.net!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail