JMU
logoChemicalc.png
Version 2 of the Molecule Class


Additional Methods
The includes(Molecule other) Method:
This class must implement the following method:
    /**
     * Returns true if this Molecule contains another Molecule
     * (e.g., C O_2 includes O_2)
     *
     * @param  other   The other Molecule
     * @return         true if this includes other
     */
    public boolean includes(Molecule other)
    {
    }
    

This method must call the static includes(String[], String) method in the StringUtilities class.

Copyright 2013