Package org.junit.platform.engine
Class UniqueId.Segment
- java.lang.Object
-
- org.junit.platform.engine.UniqueId.Segment
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- UniqueId
@API(status=STABLE, since="1.0") public static class UniqueId.Segment extends java.lang.Object implements java.io.SerializableA segment of aUniqueIdcomprises a type and a value.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetType()Get the type of this segment.java.lang.StringgetValue()Get the value of this segment.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getType
public java.lang.String getType()
Get the type of this segment.
-
getValue
public java.lang.String getValue()
Get the value of this segment.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-