code: public static <T> List<T> split( Iterable<T> objects, boolean even )
      {
          List<T> parts = new ArrayList<T>();
          for (T element : objects)
          {
              if (even) parts.add( element );
              even = !even;
          }
          return parts;
      }
docs: <p>split.</p>
  
  @param objects a {@link java.lang.Iterable} object.
  @param even a boolean.
  @param <T> a T object.
  @return a {@link java.util.List} object.