Enum Class EPTypePremade
- All Implemented Interfaces:
Serializable
,Comparable<EPTypePremade>
,Constable
Provides
EPType
instances for common types.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAbstractMap.SimpleEntryAnnotationAnnotation[]ArrayDequeArrayListAtomicLongBigDecimalBigDecimal[]BigDecimal[][]BigIntegerBigInteger[]BigInteger[][]BooleanBoolean[]Boolean[][]booleanboolean[]boolean[][]ByteByte[]Byte[][]ByteBufferbytebyte[]byte[][]CalendarCalendar arrayCharacterCharacter[]Character[][]charchar[]char[][]CharSequenceClassCollectionComparableComparatorCopyOnWriteArrayListCopyOnWriteArraySetDataInputDataOutputDateDate arrayDateFormatDateTimeFormatterDequeDoubleDouble[]Double[][]doubledouble[]double[][]FieldFloatFloat[]Float[][]floatfloat[]float[][]HashMapHashSetIllegalStateExceptionjava.lang.instrument.InstrumentationIntegerInteger[]Integer[][]intint[]int[][]java.io.IOExceptionIterableIteratorLinkedHashMapLinkedHashMap[]LinkedHashSetLinkedListListList[]LocalDateLocalDate[]LocalDate[][]LocalDateTimeLocalDateTime[]LocalDateTime[][]LocalTimeLongLong[]Long[][]longlong[]long[][]MapMap[]Map.Entryjava.math.MathContextMethodNavigableMapjava.net.URIjava.net.URI[]java.net.URI[][]java.net.URLjava.net.URL[]java.net.URL[][]NodeNode[]NodeListNoSuchElementExceptionNumberObjectObject[]Object[][]OffsetDateTimeOffsetDateTime[]OffsetDateTime[][]Pairjava.util.regex.PatternQNameSetShortShort[]Short[][]shortshort[]short[][]SimpleDateFormatjava.sql.Arrayjava.sql.Blobjava.sql.Clobjava.sql.Datejava.sql.Date arrayjava.sql.Refjava.sql.Structjava.sql.Timejava.sql.TimestampStringString[]String[][]StringBufferStringBuilderjava.util.function.SupplierThrowableTimeZoneTreeMapTreeSetUnsupportedOperationExceptionjava.util.UUIDjava.util.UUID[]java.util.UUID[][]voidZonedDateTimeZonedDateTime[]ZonedDateTime[][] -
Method Summary
Modifier and TypeMethodDescriptionReturns the type class.static EPTypePremade
getExisting
(Class<?> clazz) Returns the pre-allocated holder for a given class, or null if there is no pre-allocated holder for this classstatic EPTypeClass
getOrCreate
(Class<?> clazz) Returns the pre-allocated EPTypeClass for a given class, or allocates a new EPTypeClass when there is no pre-allocated EPTypeClass for this classstatic EPTypePremade
Returns the enum constant of this class with the specified name.static EPTypePremade[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOOLEANPRIMITIVE
boolean -
BYTEPRIMITIVE
byte -
CHARPRIMITIVE
char -
SHORTPRIMITIVE
short -
INTEGERPRIMITIVE
int -
LONGPRIMITIVE
long -
DOUBLEPRIMITIVE
double -
FLOATPRIMITIVE
float -
BOOLEANBOXED
Boolean -
BYTEBOXED
Byte -
CHARBOXED
Character -
SHORTBOXED
Short -
INTEGERBOXED
Integer -
LONGBOXED
Long -
DOUBLEBOXED
Double -
FLOATBOXED
Float -
BIGINTEGER
BigInteger -
BIGDECIMAL
BigDecimal -
BIGINTEGERARRAY
BigInteger[] -
BIGDECIMALARRAY
BigDecimal[] -
BIGINTEGERARRAYARRAY
BigInteger[][] -
BIGDECIMALARRAYARRAY
BigDecimal[][] -
STRING
String -
NUMBER
Number -
OBJECT
Object -
VOID
void -
CHARSEQUENCE
CharSequence -
ZONEDDATETIME
ZonedDateTime -
ZONEDDATETIMEARRAY
ZonedDateTime[] -
ZONEDDATETIMEARRAYARRAY
ZonedDateTime[][] -
LOCALDATETIME
LocalDateTime -
LOCALDATETIMEARRAY
LocalDateTime[] -
LOCALDATETIMEARRAYARRAY
LocalDateTime[][] -
LOCALDATE
LocalDate -
LOCALDATEARRAY
LocalDate[] -
LOCALDATEARRAYARRAY
LocalDate[][] -
LOCALTIME
LocalTime -
DATE
Date -
CALENDAR
Calendar -
DATEARRAY
Date array -
CALENDARARRAY
Calendar array -
COLLECTION
Collection -
LIST
List -
LISTARRAY
List[] -
ARRAYLIST
ArrayList -
LINKEDLIST
LinkedList -
DEQUE
Deque -
ARRAYDEQUE
ArrayDeque -
SET
Set -
HASHSET
HashSet -
ITERATOR
Iterator -
ITERABLE
Iterable -
OBJECTARRAY
Object[] -
OBJECTARRAYARRAY
Object[][] -
PAIR
Pair -
MAP
Map -
MAPARRAY
Map[] -
TREEMAP
TreeMap -
TREESET
TreeSet -
NAVIGABLEMAP
NavigableMap -
HASHMAP
HashMap -
LINKEDHASHMAP
LinkedHashMap -
LINKEDHASHMAPARRAY
LinkedHashMap[] -
LINKEDHASHSET
LinkedHashSet -
NODE
Node -
NODELIST
NodeList -
QNAME
QName -
NODEARRAY
Node[] -
STRINGARRAY
String[] -
STRINGARRAYARRAY
String[][] -
BOOLEANBOXEDARRAY
Boolean[] -
BOOLEANBOXEDARRAYARRAY
Boolean[][] -
BYTEBOXEDARRAY
Byte[] -
BYTEBOXEDARRAYARRAY
Byte[][] -
CHARBOXEDARRAY
Character[] -
CHARBOXEDARRAYARRAY
Character[][] -
SHORTBOXEDARRAY
Short[] -
SHORTBOXEDARRAYARRAY
Short[][] -
INTEGERBOXEDARRAY
Integer[] -
INTEGERBOXEDARRAYARRAY
Integer[][] -
LONGBOXEDARRAY
Long[] -
LONGBOXEDARRAYARRAY
Long[][] -
DOUBLEBOXEDARRAY
Double[] -
DOUBLEBOXEDARRAYARRAY
Double[][] -
FLOATBOXEDARRAY
Float[] -
FLOATBOXEDARRAYARRAY
Float[][] -
BOOLEANPRIMITIVEARRAY
boolean[] -
BOOLEANPRIMITIVEARRAYARRAY
boolean[][] -
BYTEPRIMITIVEARRAY
byte[] -
BYTEPRIMITIVEARRAYARRAY
byte[][] -
CHARPRIMITIVEARRAY
char[] -
CHARPRIMITIVEARRAYARRAY
char[][] -
SHORTPRIMITIVEARRAY
short[] -
SHORTPRIMITIVEARRAYARRAY
short[][] -
INTEGERPRIMITIVEARRAY
int[] -
INTEGERPRIMITIVEARRAYARRAY
int[][] -
LONGPRIMITIVEARRAY
long[] -
LONGPRIMITIVEARRAYARRAY
long[][] -
DOUBLEPRIMITIVEARRAY
double[] -
DOUBLEPRIMITIVEARRAYARRAY
double[][] -
FLOATPRIMITIVEARRAY
float[] -
FLOATPRIMITIVEARRAYARRAY
float[][] -
COPYONWRITEARRAYLIST
CopyOnWriteArrayList -
COPYONWRITEARRAYSET
CopyOnWriteArraySet -
COMPARATOR
Comparator -
COMPARABLE
Comparable -
SIMPLEDATEFORMAT
SimpleDateFormat -
DATETIMEFORMATTER
DateTimeFormatter -
DATEFORMAT
DateFormat -
INSTRUMENTATION
java.lang.instrument.Instrumentation -
PATTERN
java.util.regex.Pattern -
CLASS
Class -
METHOD
Method -
FIELD
Field -
TIMEZONE
TimeZone -
ATOMICLONG
AtomicLong -
MATHCONTEXT
java.math.MathContext -
ANNOTATION
Annotation -
ANNOTATIONARRAY
Annotation[] -
DATAOUTPUT
DataOutput -
DATAINPUT
DataInput -
BYTEBUFFER
ByteBuffer -
MAPENTRY
Map.Entry -
ABSTRACTMAPSIMPLEENTRY
AbstractMap.SimpleEntry -
STRINGBUFFER
StringBuffer -
STRINGBUILDER
StringBuilder -
UNSUPPORTEDOPERATIONEXCEPTION
UnsupportedOperationException -
ILLEGALSTATEEXCEPTION
IllegalStateException -
NOSUCHELEMENTEXCEPTION
NoSuchElementException -
IOEXCEPTION
java.io.IOException -
THROWABLE
Throwable -
SUPPLIER
java.util.function.Supplier -
SQLDATE
java.sql.Date -
SQLDATEARRAY
java.sql.Date array -
SQLTIME
java.sql.Time -
SQLCLOB
java.sql.Clob -
SQLBLOB
java.sql.Blob -
SQLARRAY
java.sql.Array -
SQLSTRUCT
java.sql.Struct -
SQLREF
java.sql.Ref -
SQLTIMESTAMP
java.sql.Timestamp -
NETURL
java.net.URL -
NETURLARRAY
java.net.URL[] -
NETURLARRAYARRAY
java.net.URL[][] -
NETURI
java.net.URI -
NETURIARRAY
java.net.URI[] -
NETURIARRAYARRAY
java.net.URI[][] -
UUID
java.util.UUID -
UUIDARRAY
java.util.UUID[] -
UUIDARRAYARRAY
java.util.UUID[][] -
OFFSETDATETIME
OffsetDateTime -
OFFSETDATETIMEARRAY
OffsetDateTime[] -
OFFSETDATETIMEARRAYARRAY
OffsetDateTime[][]
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getOrCreate
Returns the pre-allocated EPTypeClass for a given class, or allocates a new EPTypeClass when there is no pre-allocated EPTypeClass for this class- Parameters:
clazz
- class- Returns:
- type class
-
getExisting
Returns the pre-allocated holder for a given class, or null if there is no pre-allocated holder for this class- Parameters:
clazz
- class- Returns:
- type class or null
-
getEPType
Returns the type class.- Returns:
- type class
-