uCosminexus Application Server, Web Service Development Guide

[Contents][Glossary][Index][Back][Next]

values() method

Description

This method returns an array of enumerated constants in the order in which they are declared with the enumerated type. You can use this method for the following type of repeated processing:

for (ClientResponse.Status c : ClientResponse.Status.values())
 System.out.println(c);

Syntax

public static ClientResponse.Status[] values()

Parameter

None.

Return value

The method returns an array of enumerated constants in the order in which they are declared with the enumerated type.

Notes

None.