Package com.util.lodash.util
Enum Json.JsonStringBuilder.Type
- java.lang.Object
-
- java.lang.Enum<Json.JsonStringBuilder.Type>
-
- com.util.lodash.util.Json.JsonStringBuilder.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Json.JsonStringBuilder.Type>
- Enclosing class:
- Json.JsonStringBuilder
public static enum Json.JsonStringBuilder.Type extends java.lang.Enum<Json.JsonStringBuilder.Type>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getInitial()
java.lang.String
getNewLine()
java.lang.String
getTailLine()
java.lang.String
getWrapLine()
static Json.JsonStringBuilder.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Json.JsonStringBuilder.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PURE
public static final Json.JsonStringBuilder.Type PURE
-
JAVA
public static final Json.JsonStringBuilder.Type JAVA
-
-
Method Detail
-
values
public static Json.JsonStringBuilder.Type[] 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 (Json.JsonStringBuilder.Type c : Json.JsonStringBuilder.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Json.JsonStringBuilder.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getInitial
public java.lang.String getInitial()
-
getNewLine
public java.lang.String getNewLine()
-
getTailLine
public java.lang.String getTailLine()
-
getWrapLine
public java.lang.String getWrapLine()
-
-