code: public static Stream<MutableIntTuple> coordinates(
          Order order, IntTuple arraySize)
      {
          if (order == Order.COLEXICOGRAPHICAL)
          {
              return colexicographicalCoordinates(arraySize);
          }
          return lexicographicalCoordinates(arraySize);
      }
docs: Returns a stream over the coordinates of an array with the given
  size, using the given iteration {@link Order}. If the given
  {@link Order} is <code>null</code>, then an unspecified default
  order will be used.
  
  @param order The iteration {@link Order}
  @param arraySize The array {@link ArrayND#getSize() size}
  @return The streams
  @throws NullPointerException If the given size is <code>null</code>