刚 is an adjective and has many meanings, such as just, barely, exactly, strong.