# Uses of Class
org.springframework.core.OrderComparator

Packages that use OrderComparator
Package
Description
org.springframework.core
Provides basic classes for exception handling and version detection, and other core helpers that are not specific to any part of the framework.
org.springframework.core.annotation
Core support package for annotations, meta-annotations, and merged annotations with attribute overrides.

## Uses of OrderComparator in org.springframework.core

Fields in org.springframework.core declared as OrderComparator
Modifier and Type
Field
Description
`static final OrderComparator`
OrderComparator.`INSTANCE`
Shared default instance of `OrderComparator`.

## Uses of OrderComparator in org.springframework.core.annotation

Subclasses of OrderComparator in org.springframework.core.annotation
Modifier and Type
Class
Description
`class`
`AnnotationAwareOrderComparator`
`AnnotationAwareOrderComparator` is an extension of `OrderComparator` that supports Spring's `Ordered` interface as well as the `@Order` and `@Priority` annotations, with an order value provided by an `Ordered` instance overriding a statically defined annotation value (if any).