public enum EmailReadDirection extends Enum<EmailReadDirection>
Modifier and Type | Method and Description |
---|---|
abstract int |
getFirstMessage(Message[] messages) |
abstract boolean |
hasMoreMessages(int nextMessage,
Message[] messages) |
abstract int |
nextMessage(int nextMessage) |
static EmailReadDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EmailReadDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmailReadDirection FORWARD
public static final EmailReadDirection BACKWARD
public static EmailReadDirection[] values()
for (EmailReadDirection c : EmailReadDirection.values()) System.out.println(c);
public static EmailReadDirection 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 abstract int getFirstMessage(Message[] messages)
public abstract int nextMessage(int nextMessage)
public abstract boolean hasMoreMessages(int nextMessage, Message[] messages)
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.