Package com.jcabi.github
Class Coordinates.Simple
- java.lang.Object
-
- com.jcabi.github.Coordinates.Simple
-
- All Implemented Interfaces:
Coordinates,Comparable<Coordinates>
- Enclosing interface:
- Coordinates
@Immutable public static final class Coordinates.Simple extends Object implements Coordinates
Jcabi.http implementation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.jcabi.github.Coordinates
Coordinates.Simple
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Coordinates other)Stringrepo()Get rpo name.StringtoString()Stringuser()Get usr name.
-
-
-
Method Detail
-
user
public String user()
Description copied from interface:CoordinatesGet usr name.- Specified by:
userin interfaceCoordinates- Returns:
- User name
-
repo
public String repo()
Description copied from interface:CoordinatesGet rpo name.- Specified by:
repoin interfaceCoordinates- Returns:
- Repo name
-
compareTo
public int compareTo(Coordinates other)
- Specified by:
compareToin interfaceComparable<Coordinates>
-
-