ASSERT (type == to.getType ());
SASSERT (type == to.getType ());
    public static void passOneData (Channel from, Channel to)    {        Class type = from.getType ();        ASSERT (type == to.getType ());        if (type == Integer.TYPE)        {            to.pushInt (from.popInt ());        } else        if (type == Character.TYPE)        {            to.pushChar (from.popChar ());        } else        if (type == Float.TYPE)        {            to.pushFloat (from.popFloat ());        } else        if (type == Double.TYPE)        {            to.pushDouble (from.popDouble ());        } else {            to.push (from.pop ());        }    }