@Test public void toArrayTest() throws DataAccessLayerException { assertTrue(Arrays.equals(TESTDATA1.toArray(new String[0]), CLASS_UNDER_TEST.toArray(new String[0]))); }
@SuppressWarnings("hiding") public <E> E[] toArray(final E[] a) throws DataAccessLayerException { return _map.keySet().toArray(a); }
PersistentSet implements Iterable<E>, Initialisable { @SuppressWarnings("hiding") public <E> E[] toArray(final E[] a) throws DataAccessLayerException { return _map.keySet().toArray(a); } }
PersistentSet implements Iterable<E>, Initialisable { @SuppressWarnings("hiding") public <E> E[] toArray(final E[] a) throws DataAccessLayerException { return _map.keySet().toArray(a); } PersistentSet(final Class<E> elementClass, final String name); }
PersistentSet implements Iterable<E>, Initialisable { @SuppressWarnings("hiding") public <E> E[] toArray(final E[] a) throws DataAccessLayerException { return _map.keySet().toArray(a); } PersistentSet(final Class<E> elementClass, final String name); @Override void initialise(final DataAccessLayerFactory factory); boolean add(final E e); boolean addAll(final Collection<? extends E> collect); void clear(); boolean contains(final E o); boolean containsAll(final Collection<? extends E> collect); boolean isEmpty(); Iterator<E> iterator(); boolean remove(final E o); boolean removeAll(final Collection<? extends E> collect); boolean retainAll(final Collection<? extends E> collect); int size(); @SuppressWarnings("hiding") E[] toArray(final E[] a); }
PersistentSet implements Iterable<E>, Initialisable { @SuppressWarnings("hiding") public <E> E[] toArray(final E[] a) throws DataAccessLayerException { return _map.keySet().toArray(a); } PersistentSet(final Class<E> elementClass, final String name); @Override void initialise(final DataAccessLayerFactory factory); boolean add(final E e); boolean addAll(final Collection<? extends E> collect); void clear(); boolean contains(final E o); boolean containsAll(final Collection<? extends E> collect); boolean isEmpty(); Iterator<E> iterator(); boolean remove(final E o); boolean removeAll(final Collection<? extends E> collect); boolean retainAll(final Collection<? extends E> collect); int size(); @SuppressWarnings("hiding") E[] toArray(final E[] a);  }