Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
lớp cuối cùng công khai
IndoorLevel
mở rộng Đối tượng
Đại diện cho một tầng trong một toà nhà.
Các đối tượng trong RecyclerView chỉ tương đương với mã nhận dạng. Có thể có nhiều nội dung.
Mặc dù cấp độ thường được bao quanh bởi một toà nhà duy nhất, nhưng một cấp có thể được bao quanh bởi một số toà nhà (ví dụ: cấp đỗ xe có thể trải dài qua nhiều toà nhà).
Đặt tầng này làm cấp nhìn thấy trong toà nhà. Nếu một cấp được bao quanh trong một số toà nhà, thì tất cả những toà nhà đó sẽ có cấp này được đặt thành đang hoạt động.
boolean
công khai
bằng(Đối tượng khác)
Kiểm tra xem IndoorLevel này có bằng với một giá trị khác hay không.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-03-21 UTC."],[[["`IndoorLevel` represents a level within a building, potentially spanning multiple buildings like a parking garage."],["Levels are uniquely identified by their ID, but their content may differ."],["The `activate()` method makes the level visible within its associated building(s)."],["You can get the localized display name and short name of a level using `getName()` and `getShortName()`."],["Equality between `IndoorLevel` objects is determined solely by their ID."]]],["The `IndoorLevel` class represents a building level, which can span multiple buildings. Key actions include `activate()`, which sets the level as visible across its buildings, and `equals(Object other)`, which checks for object identity. Methods `getName()` and `getShortName()` return localized display names, and `hashCode()` provides a hash value. IndoorLevel objects are only equal by their identifier, even with differing content. There are also inherited methods from java.lang.Object, like `getClass()` and `toString()`.\n"]]