Enum Classs

    • 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
    • Constructor Detail

      • Classs

        private Classs​(int index,
                       Class classEntity)
        Parameters:
        index - vị trí đánh số trên console
        classEntity - 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 name
        NullPointerException - 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)