Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #31569 > unrolled thread
| Started by | Eric Sosman <esosman@comcast-dot-net.invalid> |
|---|---|
| First post | 2015-04-14 13:10 -0400 |
| Last post | 2015-04-14 13:10 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.java.programmer
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: What is this? (Java syntax) Eric Sosman <esosman@comcast-dot-net.invalid> - 2015-04-14 13:10 -0400
| From | Eric Sosman <esosman@comcast-dot-net.invalid> |
|---|---|
| Date | 2015-04-14 13:10 -0400 |
| Subject | Re: What is this? (Java syntax) |
| Message-ID | <mgjhlc$tbg$1@dont-email.me> |
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 top | Article view | comp.lang.java.programmer
csiph-web