public final class NativeType
extends java.lang.Enum
Native Type(int型やlong型等)を管理するEnum型です。
修飾子とタイプ | フィールドと説明 |
---|---|
static NativeType |
CALENDAR
NATIVEの型 [Calendar] の識別コード (CALENDAR)
|
static NativeType |
DOUBLE
NATIVEの型 [double] の識別コード (DOUBLE)
|
static NativeType |
INT
NATIVEの型 [int] の識別コード (INT)
|
static NativeType |
LONG
NATIVEの型 [long] の識別コード (LONG)
|
static NativeType |
STRING
NATIVEの型 [String] の識別コード (STRING)
|
修飾子とタイプ | メソッドと説明 |
---|---|
static NativeType |
getType(java.lang.String str)
指定の文字列が、どの、NativeType なのか、判定します。
|
static NativeType |
valueOf(java.lang.String name) |
static NativeType[] |
values() |
public static final NativeType INT
public static final NativeType LONG
public static final NativeType DOUBLE
public static final NativeType STRING
public static final NativeType CALENDAR
public static NativeType[] values()
public static NativeType valueOf(java.lang.String name)
public static NativeType getType(java.lang.String str)
INT = Pattern.compile("-?[0-9]{1,9}"); LONG = Pattern.compile("-?[0-9]+"); DOUBLE = Pattern.compile("-?[0-9]+\\.?[0-9]+"); CALENDAR = Pattern.compile("[0-9]{4}/[01]{1}[0-9]{1}/[0-3]{1}[0-9]{1}");
str
- 判定する文字列5.1.8.0 (2010/07/01) 新規追加 |
6.3.9.1 (2015/11/27) メソッドの出口は、最後の1か所にすべきです(PMD)。 |
Webアプリケーションフレームワーク openGionCopyright (c) 2009 The openGion Project.