Dimension
Величина в одном направлении в указанных единицах.
JSON-представление |
---|
{
"magnitude": number,
"unit": enum (Unit )
} |
Поля |
---|
magnitude | number Величина. |
unit | enum ( Unit ) Единицы измерения величины. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2024-10-25 UTC.
[null,null,["Последнее обновление: 2024-10-25 UTC."],[[["Represents a magnitude value with its corresponding unit."],["Uses a JSON object with `magnitude` for the numerical value and `unit` specifying the unit of measurement."],["`unit` field accepts values from the `Unit` enum, providing standardized options for units."]]],["The content defines a data structure representing a magnitude in a specific unit. It's represented in JSON with two fields: `magnitude`, a number indicating the size, and `unit`, an enumerated value specifying the measurement unit. The unit options are found in a separate resource. This structure captures the quantity and its corresponding unit of measure.\n"]]