Package javax.management.openmbean

Examples of javax.management.openmbean.OpenMBeanConstructorInfo


                  infofour.equals(infoone));
   }

   public void testHashCode() throws Exception
   {
      OpenMBeanConstructorInfo infoone =
              new OpenMBeanConstructorInfoSupport("wine", "Vino", signature);
      assertTrue("Null infoone constructed", infoone != null);

      assertTrue("Unexpected hash code",
                 infoone.hashCode() == hashCode(infoone));

      OpenMBeanConstructorInfo infotwo =
              new OpenMBeanConstructorInfoSupport("wine",
                                                  "Nectar of the gods",
                                                  signature);
      assertTrue("Null infotwo constructed", infotwo != null);

      assertTrue("Expecting equal hash codes",
                 infoone.hashCode() == infotwo.hashCode());
   }
View Full Code Here

TOP

Related Classes of javax.management.openmbean.OpenMBeanConstructorInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.