Class MarkList


  • public final class MarkList
    extends java.lang.Object
    • Method Detail

      • getMarks

        public java.util.List<Mark> getMarks()
        Returns the Marks associated with a given list.
        Returns:
        the marks, in the order they were recorded.
      • getThreadName

        public java.lang.String getThreadName()
        Gets the Thread name of the thread that recorded the Marks.
        Returns:
        the Thread name.
      • getThreadId

        public long getThreadId()
        Thread IDs can be recycled, so this is not unique.
        Returns:
        the id of the thread, as returned by Thread.getId().
      • getMarkListId

        public long getMarkListId()
        The globally unique ID for this Mark list. Unlike getThreadId(), this value is never recycled.
        Returns:
        the id of this list.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object