Groovy Documentation

org.jdesktop.swingx.ws.yahoo.search
[Java] Enum Type

java.lang.Object
  java.lang.Enum
      org.jdesktop.swingx.ws.yahoo.search.Type

public enum Type
extends Enum

Type codes supported by Yahoo! search services

Authors:
rbair


Enum Constant Summary
ALL

ANY

PHRASE

 
Field Summary
private String code

Type codes supported by Yahoo!

 
Method Summary
def Type(String code)

String getCode()

Type valueOf(String name)

Returns the enum constant of this type with the specified name.

Type[] values()

Returns an array containing the constants of this enum type, in the order they are declared.

 
Methods inherited from class Enum
name, equals, toString, hashCode, compareTo, compareTo, valueOf, getDeclaringClass, ordinal, wait, wait, wait, getClass, notify, notifyAll
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Enum Constant Detail

ALL

Type ALL


ANY

Type ANY


PHRASE

Type PHRASE


 
Field Detail

code

private String code
Type codes supported by Yahoo! search services
Authors:
rbair


 
Method Detail

Type

def Type(String code)


getCode

public String getCode()


valueOf

Type valueOf(String name)
Returns the enum constant of this type with the specified name.


values

Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared.


 

Groovy Documentation