@Immutable private static enum IOCache.BufferSocketFactory extends Enum<IOCache.BufferSocketFactory>
| Modifier and Type | Method and Description |
|---|---|
(package private) abstract InputSocket<?> |
newInputSocket(IOCache.Buffer buffer) |
(package private) abstract OutputSocket<?> |
newOutputSocket(IOCache.Buffer buffer) |
static IOCache.BufferSocketFactory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IOCache.BufferSocketFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IOCache.BufferSocketFactory NIO2
public static final IOCache.BufferSocketFactory OIO
abstract InputSocket<?> newInputSocket(IOCache.Buffer buffer)
abstract OutputSocket<?> newOutputSocket(IOCache.Buffer buffer)
public static IOCache.BufferSocketFactory 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 IOCache.BufferSocketFactory[] values()
for (IOCache.BufferSocketFactory c : IOCache.BufferSocketFactory.values()) System.out.println(c);
Copyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.