@Override
   public Object[] toArray() {
      Object[] array = new Object[1];
      array[0] = value;
      return array;
   }
@Test
   public void testToArray() throws Exception {
      IntSet sis = new SingletonIntSet(3);
      Object[] array = sis.toArray();
      assertEquals(1, array.length);
      assertEquals(3, array[0]);
   }