public class intContainer extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<intContainer>
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Constructor and Description |
|---|
intContainer() |
intContainer(int number) |
intContainer(intContainer container) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(intContainer anotherIntContainer) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
public intContainer()
public intContainer(int number)
public intContainer(intContainer container)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(intContainer anotherIntContainer)
compareTo in interface java.lang.Comparable<intContainer>