FileDocCategorySizeDatePackage
DeepSheep.javaAPI DocExample476Tue Jul 08 02:42:34 BST 1997None

DeepSheep

public class DeepSheep extends Object implements Cloneable

Fields Summary
Hashtable
flock
Constructors Summary
Methods Summary
public java.lang.Objectclone()


	   
		try {
			DeepSheep copy = (DeepSheep)super.clone();
			copy.flock = (Hashtable)flock.clone();
			return copy;
		} catch (CloneNotSupportedException e ) { 
			throw new Error("This should never happen!");
		}
	
public voidmain(java.lang.String[] args)

		DeepSheep one = new DeepSheep();
		DeepSheep anotherOne = (DeepSheep)one.clone();