Segment
public
class
Segment
extends Object
implements
VersionedParcelable
java.lang.Object
|
↳ |
androidx.car.cluster.navigation.Segment
|
Information regarding a road, street, highway, etc.
Summary
Public constructors |
Segment(String name)
Creates a new Segment with the given name.
|
Public methods |
boolean
|
equals(Object o)
|
String
|
getName()
Returns the name of the segment (e.g.: "Wallaby Way", "US-101", "Charleston Rd", etc.)
|
int
|
hashCode()
|
String
|
toString()
|
Inherited methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public constructors
Segment
public Segment (String name)
Creates a new Segment
with the given name.
Parameters |
name |
String : Name of the segment.
|
Public methods
equals
public boolean equals (Object o)
getName
public String getName ()
Returns the name of the segment (e.g.: "Wallaby Way", "US-101", "Charleston Rd", etc.)
hashCode
public int hashCode ()
toString
public String toString ()