@Immutable public static final class Coordinates.Simple extends Object implements Coordinates
Coordinates.Simple
Constructor and Description |
---|
Coordinates.Simple(String mnemo)
Public ctor.
|
Coordinates.Simple(String user,
String repo)
Public ctor.
|
public Coordinates.Simple(@NotNull(message="user can\'t be NULL") String user, @NotNull(message="repo can\'t be NULL") String repo)
user
- User namerepo
- Repository name@NotNull(message="user is never NULL") public String user()
Coordinates
user
in interface Coordinates
@NotNull(message="repo is never NULL") public String repo()
Coordinates
repo
in interface Coordinates
public int compareTo(@NotNull(message="other can\'t be NULL") Coordinates other)
compareTo
in interface Comparable<Coordinates>
Copyright © 2012–2014 jcabi.com. All rights reserved.