()
| 2915 | } |
| 2916 | |
| 2917 | @Override |
| 2918 | public Object[] toArray() { |
| 2919 | // creating an ArrayList so filtering happens once |
| 2920 | return Lists.newArrayList(iterator()).toArray(); |
| 2921 | } |
| 2922 | |
| 2923 | @Override |
| 2924 | public <T> T[] toArray(T[] array) { |
nothing calls this directly
no test coverage detected