@Immutable private static enum ByteArrayIOEntry.SocketFactory extends Enum<ByteArrayIOEntry.SocketFactory>
| Modifier and Type | Method and Description |
|---|---|
(package private) abstract InputSocket<ByteArrayIOEntry> |
newInputSocket(ByteArrayIOEntry entry) |
(package private) abstract OutputSocket<ByteArrayIOEntry> |
newOutputSocket(ByteArrayIOEntry entry) |
static ByteArrayIOEntry.SocketFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByteArrayIOEntry.SocketFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ByteArrayIOEntry.SocketFactory NIO2
public static final ByteArrayIOEntry.SocketFactory OIO
abstract InputSocket<ByteArrayIOEntry> newInputSocket(ByteArrayIOEntry entry)
abstract OutputSocket<ByteArrayIOEntry> newOutputSocket(ByteArrayIOEntry entry)
public static ByteArrayIOEntry.SocketFactory valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic static ByteArrayIOEntry.SocketFactory[] values()
for (ByteArrayIOEntry.SocketFactory c : ByteArrayIOEntry.SocketFactory.values()) System.out.println(c);
Copyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.