|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.array.AccessMode
public class AccessMode
Access mode identifier. Objects in this class are used to indicate what kind of access is required for a requested array object. This class exemplifies the typesafe enum pattern -- the only possible instances are supplied as static final fields of the class, and these instances are immutable.
Field Summary | |
---|---|
static AccessMode |
READ
Object representing read-only access. |
static AccessMode |
UPDATE
Object representing update (read and write) access. |
static AccessMode |
WRITE
Object representing write-only access. |
Method Summary | |
---|---|
boolean |
isReadable()
Indicates whether this mode includes read access. |
boolean |
isWritable()
Indicates whether this mode includes write access. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final AccessMode READ
public static final AccessMode UPDATE
public static final AccessMode WRITE
Method Detail |
---|
public boolean isReadable()
public boolean isWritable()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |