A polygon is characterized by the number of its sides, and the sum of its interior angles can be calculated using the formula:
$$ S = (n - 2) \times 180 $$
where $$ S $$ is the sum of the interior angles and $$ n $$ is the number of sides. Consider a regular octagon, which has eight equal sides.
What is the measure of each interior angle of a regular octagon?