@Test public void testValidConstructor() { Version v1 = new Version("1"); assertEquals("1", v1.getVersionString()); Version v1_1 = new Version("1.1"); assertEquals("1.1", v1_1.getVersionString()); }
public String getVersionString() { return versionString; }
Version implements Comparable<Object> { public String getVersionString() { return versionString; } }
Version implements Comparable<Object> { public String getVersionString() { return versionString; } Version(String versionString); }
Version implements Comparable<Object> { public String getVersionString() { return versionString; } Version(String versionString); int compareTo(Object o); String getVersionString(); }
Version implements Comparable<Object> { public String getVersionString() { return versionString; } Version(String versionString); int compareTo(Object o); String getVersionString();  }