public class DefaultTestCollectionElement extends Object implements TestCollectionElement, Comparable<TestCollectionElement>
| Constructor and Description |
|---|
DefaultTestCollectionElement(String paramValue) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TestCollectionElement o) |
boolean |
equals(Object o) |
int |
hashCode() |
String |
testCollectionValue()
TestCollectionElements will be created with a single string,
and must return that string with this method
when called.
|
String |
toString() |
public DefaultTestCollectionElement(String paramValue)
public String testCollectionValue()
TestCollectionElementtestCollectionValue in interface TestCollectionElementpublic int compareTo(TestCollectionElement o)
compareTo in interface Comparable<TestCollectionElement>Copyright © 2009–2020 Oracle Corporation. All rights reserved.