# Class: com.pnfsoftware.jeb.core.units.codeobject.ProcessorFamily

Dynamic enumeration of general processor families.

## Protected Constructor: ProcessorFamily
- parameter: `id`, type: `int`
- parameter: `name`, type: `java.lang.String`

Description: Create a processor family.
parameter: id: processor family id
parameter: name: processor family name

## Static Field: ARM
Type: `com.pnfsoftware.jeb.core.units.codeobject.ProcessorFamily`
Description: ARM processor family.

## Static Field: AVR
Type: `com.pnfsoftware.jeb.core.units.codeobject.ProcessorFamily`
Description: Atmel AVR processor family.

## Static Field: MIPS
Type: `com.pnfsoftware.jeb.core.units.codeobject.ProcessorFamily`
Description: MIPS processor family.

## Static Field: UNKNOWN
Type: `com.pnfsoftware.jeb.core.units.codeobject.ProcessorFamily`
Description: Unknown processor family.

## Static Field: X86
Type: `com.pnfsoftware.jeb.core.units.codeobject.ProcessorFamily`
Description: Intel x86 processor family.

## Static Field: builtinCount
Type: `int`
Description: Number of built\-in processor families.

## Protected Static Field: map
Type: `java.util.LinkedHashMap<java.lang.String,com.pnfsoftware.jeb.core.units.codeobject.ProcessorFamily>`
Description: Registered processor families.

## Method: ordinal
- return type: `int`

Description: Get the ordinal value of this family among registered processor families.
return: ordinal value

## Static Method: count
- return type: `int`

Description: Count registered processor families.
return: processor family count

## Static Method: register
- parameter: `id`, type: `int`
- parameter: `name`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.codeobject.ProcessorFamily`

Description: Register a processor family.
parameter: id: processor family id
parameter: name: processor family name
return: registered processor family

## Static Method: unregister
- parameter: `name`, type: `java.lang.String`
- return type: `boolean`

Description: Unregister a dynamic processor family.
parameter: name: processor family name
return: true if the family was unregistered

## Static Method: valueOf
- parameter: `name`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.codeobject.ProcessorFamily`

Description: Retrieve a processor family by name.
parameter: name: processor family name
return: matching processor family, or [#UNKNOWN](#UNKNOWN)

## Static Method: valueOf
- parameter: `id`, type: `int`
- return type: `com.pnfsoftware.jeb.core.units.codeobject.ProcessorFamily`

Description: Retrieve a processor family by id.
parameter: id: processor family id
return: matching processor family, or [#UNKNOWN](#UNKNOWN)

## Static Method: values
- return type: `java.util.Collection<com.pnfsoftware.jeb.core.units.codeobject.ProcessorFamily>`

Description: Retrieve registered processor families.
return: processor families

