|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PhotoSearch.Sort>
org.jickr.PhotoSearch.Sort
public static enum PhotoSearch.Sort
The order to sort returned Photos for a PhotoSearch. Used to create search
conditions via PhotoSearch.setSort(Sort)
PhotoSearch.setSort(Sort)
Enum Constant Summary | |
---|---|
INTERESTING_ASC
Ordered by Interestingness, ascending. |
|
INTERESTING_DESC
Ordered by Interestingness, descending. |
|
POST_ASC
Ordered by Date Posted, ascending order. |
|
POST_DESC
Ordered by Date Posted, descending order. |
|
RELEVANCE
Ordered in the way that Flickr thinks is most relevant to the search. |
|
TAKEN_ASC
Ordered by Date Taken, ascending order. |
|
TAKEN_DESC
Ordered by Date Taken, descending order. |
Method Summary | |
---|---|
static PhotoSearch.Sort |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PhotoSearch.Sort[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PhotoSearch.Sort POST_ASC
public static final PhotoSearch.Sort POST_DESC
public static final PhotoSearch.Sort TAKEN_ASC
public static final PhotoSearch.Sort TAKEN_DESC
public static final PhotoSearch.Sort INTERESTING_DESC
public static final PhotoSearch.Sort INTERESTING_ASC
public static final PhotoSearch.Sort RELEVANCE
Method Detail |
---|
public static final PhotoSearch.Sort[] values()
for(PhotoSearch.Sort c : PhotoSearch.Sort.values()) System.out.println(c);
public static PhotoSearch.Sort valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |