# Uses of Enum Class
jdk.dynalink.linker.ConversionComparator.Comparison

Packages that use ConversionComparator.Comparison
Package
Description
jdk.dynalink.linker
Contains interfaces and classes needed by language runtimes to implement their own language-specific object models and type conversions.

## Uses of ConversionComparator.Comparison in jdk.dynalink.linker

Methods in jdk.dynalink.linker that return ConversionComparator.Comparison
Modifier and Type
Method
Description
`ConversionComparator.Comparison`
ConversionComparator.`compareConversion(Class<?> sourceType, Class<?> targetType1, Class<?> targetType2)`
Determines which of the two target types is the preferred conversion target from a source type.
`ConversionComparator.Comparison`
LinkerServices.`compareConversion(Class<?> sourceType, Class<?> targetType1, Class<?> targetType2)`
Determines which of the two type conversions from a source type to the two target types is preferred.
`static ConversionComparator.Comparison`
ConversionComparator.Comparison.`valueOf(String name)`
Returns the enum constant of this class with the specified name.
`static ConversionComparator.Comparison[]`
ConversionComparator.Comparison.`values()`
Returns an array containing the constants of this enum class, in the order they are declared.