Package tk.doraneko.app
Enum Classs
- java.lang.Object
-
- java.lang.Enum<Classs>
-
- tk.doraneko.app.Classs
-
- All Implemented Interfaces:
Serializable
,Comparable<Classs>
public enum Classs extends Enum<Classs>
- Since:
- 23/08/2019
- Author:
- tranphuquy19@gmail.com
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description private Class
classEntity
private int
index
private String
URL_GIT_REMOTE_BASE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Classs
findByIndex(int i)
Class
getClassEntity()
String
getClassName()
String
getClassPackage()
String
getFullJavaPath()
String
getGitCode()
int
getIndex()
lấy thứ tự classesstatic Classs
valueOf(String name)
Returns the enum constant of this type with the specified name.static Classs[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TCP_SERVER_SINGLE_CLIENT
public static final Classs TCP_SERVER_SINGLE_CLIENT
-
TCP_SERVER_REOPEN_SINGLE_CLIENT
public static final Classs TCP_SERVER_REOPEN_SINGLE_CLIENT
-
TCP_SERVER_MULTI_CLIENT
public static final Classs TCP_SERVER_MULTI_CLIENT
-
TCP_CLIENT
public static final Classs TCP_CLIENT
-
UDP_SERVER_SINGLE_CLIENT
public static final Classs UDP_SERVER_SINGLE_CLIENT
-
UDP_CLIENT
public static final Classs UDP_CLIENT
-
TCP_SERVER_SEND_FILE_SIMPLE
public static final Classs TCP_SERVER_SEND_FILE_SIMPLE
-
TCP_CLIENT_SEND_FILE_SIMPLE
public static final Classs TCP_CLIENT_SEND_FILE_SIMPLE
-
TCP_SERVER_SEND_LARGE_FILE
public static final Classs TCP_SERVER_SEND_LARGE_FILE
-
TCP_CLIENT_SEND_LARGE_FILE
public static final Classs TCP_CLIENT_SEND_LARGE_FILE
-
-
Field Detail
-
URL_GIT_REMOTE_BASE
private final String URL_GIT_REMOTE_BASE
- See Also:
- Constant Field Values
-
index
private int index
-
classEntity
private Class classEntity
-
-
Constructor Detail
-
Classs
private Classs(int index, Class classEntity)
- Parameters:
index
- vị trí đánh số trên consoleclassEntity
- Thực thể Class được truyền vào
-
-
Method Detail
-
values
public static Classs[] 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 (Classs c : Classs.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Classs 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 nameNullPointerException
- if the argument is null
-
getIndex
public int getIndex()
lấy thứ tự classes- Returns:
- thứ tự của class trong enum Classes
-
getClassName
public String getClassName()
-
getFullJavaPath
public String getFullJavaPath()
-
getGitCode
public String getGitCode()
-
getClassPackage
public String getClassPackage()
-
getClassEntity
public Class getClassEntity()
-
findByIndex
public static Classs findByIndex(int i)
-
-