ComparisonOperator
Các toán tử so sánh có sẵn.
Enum |
COMPARISON_OPERATOR_UNSPECIFIED |
Toán tử không xác định. |
EQUAL |
Các giá trị bằng nhau. |
GREATER_THAN |
Giá trị tín hiệu lớn hơn giá trị so sánh. |
LESS_THAN |
Giá trị tín hiệu nhỏ hơn giá trị thứ hai. |
GREATER_THAN_OR_EQUAL_TO |
Giá trị tín hiệu lớn hơn hoặc bằng giá trị thứ hai. |
LESS_THAN_OR_EQUAL_TO |
Giá trị tín hiệu nhỏ hơn hoặc bằng giá trị so sánh. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-02-13 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-02-13 UTC."],[[["Supported comparison operators include equal, greater than, less than, greater than or equal to, and less than or equal to."],["These operators are used to compare values within data, allowing for filtering and conditional logic."],["Each operator is represented by a specific enum value for use in code and configurations."],["An `UNSPECIFIED` enum exists for unknown or undefined comparison operations."]]],["The provided content outlines six comparison operators. `COMPARISON_OPERATOR_UNSPECIFIED` indicates an unknown operator. `EQUAL` checks if values are identical. `GREATER_THAN` and `LESS_THAN` assess if a signal value is, respectively, larger or smaller than a comparison value. `GREATER_THAN_OR_EQUAL_TO` and `LESS_THAN_OR_EQUAL_TO` determine if the signal value is, respectively, larger or equal, or smaller or equal to the comparison value.\n"]]