Stay organized with collections
Save and categorize content based on your preferences.
C++ Reference: class RevPartialSequence
Note: This documentation is automatically generated.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[null,null,["Last updated 2024-08-06 UTC."],[],["The `RevPartialSequence` class in C++ offers methods for managing a sequence. Key actions include: determining if an element is ranked (`IsRanked`), retrieving the number of first and last ranked elements (`NumFirstRanked`, `NumLastRanked`), and ranking elements as first or last (`RankFirst`, `RankLast`). The class can be constructed with a vector of items or a specific size (`RevPartialSequence`). It also provides a method to get the total `Size` and debug string representation (`DebugString`). There is also a destructor `~RevPartialSequence`.\n"],null,[]]