Package cammons
Class StupidInteger
- java.lang.Object
-
- cammons.StupidInteger
-
- All Implemented Interfaces:
java.lang.Comparable<StupidInteger>
public class StupidInteger extends java.lang.Object implements java.lang.Comparable<StupidInteger>
-
-
Constructor Summary
Constructors Constructor Description StupidInteger()
StupidInteger(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(StupidInteger o)
int
getValue()
static void
main(java.lang.String[] args)
void
setValue(int value)
-
-
-
Method Detail
-
setValue
public void setValue(int value)
-
getValue
public int getValue()
-
main
public static void main(java.lang.String[] args)
-
compareTo
public int compareTo(StupidInteger o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<StupidInteger>
-
-