excercise 2 done
This commit is contained in:
38
week1_TinsaeGhilay/Task2/GraphicsApp/ShapeHolder.java
Normal file
38
week1_TinsaeGhilay/Task2/GraphicsApp/ShapeHolder.java
Normal file
@@ -0,0 +1,38 @@
|
||||
package GraphicsApp;
|
||||
|
||||
/**
|
||||
* GraphicsApp/ShapeHolder.java .
|
||||
* Generated by the IDL-to-Java compiler (portable), version "3.2"
|
||||
* from Graphics.idl
|
||||
* Tuesday, November 11, 2025 6:46:29 PM CET
|
||||
*/
|
||||
|
||||
public final class ShapeHolder implements org.omg.CORBA.portable.Streamable
|
||||
{
|
||||
public GraphicsApp.Shape value = null;
|
||||
|
||||
public ShapeHolder ()
|
||||
{
|
||||
}
|
||||
|
||||
public ShapeHolder (GraphicsApp.Shape initialValue)
|
||||
{
|
||||
value = initialValue;
|
||||
}
|
||||
|
||||
public void _read (org.omg.CORBA.portable.InputStream i)
|
||||
{
|
||||
value = GraphicsApp.ShapeHelper.read (i);
|
||||
}
|
||||
|
||||
public void _write (org.omg.CORBA.portable.OutputStream o)
|
||||
{
|
||||
GraphicsApp.ShapeHelper.write (o, value);
|
||||
}
|
||||
|
||||
public org.omg.CORBA.TypeCode _type ()
|
||||
{
|
||||
return GraphicsApp.ShapeHelper.type ();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user