Methods Summary |
---|
public int | compareTo(java.lang.Object obj)
// The Comparable interface says that this
// method throws a ClassCastException if the
// given object's type prevents it from being
// compared.
return getORBType() - ((ORBVersion)obj).getORBType();
|
public boolean | equals(java.lang.Object obj)
if (!(obj instanceof ORBVersion))
return false ;
ORBVersion version = (ORBVersion)obj ;
return version.getORBType() == orbType ;
|
public byte | getORBType()
return orbType ;
|
public int | hashCode()
return orbType ;
|
public boolean | lessThan(com.sun.corba.se.spi.orb.ORBVersion version)
return orbType < version.getORBType();
|
public java.lang.String | toString()
return "ORBVersionImpl[" + Byte.toString( orbType ) + "]" ;
|
public void | write(org.omg.CORBA.portable.OutputStream os)
os.write_octet( (byte)orbType ) ;
|