Version 4.10.0

hirondelle.web4j.model
Enum ModelUtil.NullsGo

Object
  extended by Enum<ModelUtil.NullsGo>
      extended by hirondelle.web4j.model.ModelUtil.NullsGo
All Implemented Interfaces:
Serializable, Comparable<ModelUtil.NullsGo>
Enclosing class:
ModelUtil

public static enum ModelUtil.NullsGo
extends Enum<ModelUtil.NullsGo>

Define hows null items are treated in a comparison. Controls if null items appear first or last.

See comparePossiblyNull.


Enum Constant Summary
FIRST
           
LAST
           
 
Method Summary
static ModelUtil.NullsGo valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ModelUtil.NullsGo[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FIRST

public static final ModelUtil.NullsGo FIRST

LAST

public static final ModelUtil.NullsGo LAST
Method Detail

values

public static ModelUtil.NullsGo[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ModelUtil.NullsGo c : ModelUtil.NullsGo.values())
    System.out.println(c);

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

valueOf

public static ModelUtil.NullsGo valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

Version 4.10.0

Copyright Hirondelle Systems. Published October 19, 2013 - User Guide - All Docs.