Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #31569
| From | Eric Sosman <esosman@comcast-dot-net.invalid> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: What is this? (Java syntax) |
| Date | 2015-04-14 13:10 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <mgjhlc$tbg$1@dont-email.me> (permalink) |
| References | <syntax-20150414183627@ram.dialup.fu-berlin.de> |
On 4/14/2015 12:43 PM, Stefan Ram wrote:
> I found this on a web page:
>
> private enum WinRegistryMethod {
> OpenKey("WindowsRegOpenKey", int.class, byte[].class, int.class) {
> @Override
> protected void verifyReturnValue(Object retValue)
> ...
>
> What is the part beginning at »OpenKey«?
An enum. Remove the decorations, and you get
private enum WinRegistryMethod {
OpenKey
, // presumably
...
--
esosman@comcast-dot-net.invalid
"Don't be afraid of work. Make work afraid of you." -- TLM
Back to comp.lang.java.programmer | Previous | Next | Find similar | Unroll thread
Re: What is this? (Java syntax) Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-04-14 13:10 -0400
csiph-web