Class RevId


  • public final class RevId
    extends Object
    A revision identifier for a file or a change.
    • Constructor Detail

      • RevId

        protected RevId()
      • RevId

        public RevId​(String str)
    • Method Detail

      • get

        public String get()
        Returns:
        the value of this revision id.
      • isComplete

        public boolean isComplete()
        Returns:
        true if this revision id has all required digits.
      • max

        public RevId max()
        Returns:
        if isComplete(), this; otherwise a new RevId with 'z' appended on the end.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • matches

        public boolean matches​(String str)