Skip to content

Commit

Permalink
Fix warnings in Javadocs of few methods in LazyIterate.
Browse files Browse the repository at this point in the history
Signed-off-by: Nikhil Nanivadekar <nikhil.nanivadekar@gs.com>
  • Loading branch information
nikhilnanivadekar committed Apr 28, 2016
1 parent 5650106 commit 4caba0d
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,23 +52,23 @@ private LazyIterate()
}

/**
* Creates a deferred rich iterable for the specified iterable
* Creates a deferred rich iterable for the specified iterable.
*/
public static <T> LazyIterable<T> adapt(Iterable<T> iterable)
{
return new LazyIterableAdapter<T>(iterable);
}

/**
* Creates a deferred filtering iterable for the specified iterable
* Creates a deferred filtering iterable for the specified iterable.
*/
public static <T> LazyIterable<T> select(Iterable<T> iterable, Predicate<? super T> predicate)
{
return new SelectIterable<T>(iterable, predicate);
}

/**
* Creates a deferred negative filtering iterable for the specified iterable
* Creates a deferred negative filtering iterable for the specified iterable.
*/
public static <T> LazyIterable<T> reject(Iterable<T> iterable, Predicate<? super T> predicate)
{
Expand All @@ -81,7 +81,7 @@ public static <T> LazyIterable<T> selectInstancesOf(Iterable<?> iterable, Class<
}

/**
* Creates a deferred transforming iterable for the specified iterable
* Creates a deferred transforming iterable for the specified iterable.
*/
public static <T, V> LazyIterable<V> collect(
Iterable<T> iterable,
Expand All @@ -91,7 +91,7 @@ public static <T, V> LazyIterable<V> collect(
}

/**
* Creates a deferred flattening iterable for the specified iterable
* Creates a deferred flattening iterable for the specified iterable.
*/
public static <T, V> LazyIterable<V> flatCollect(
Iterable<T> iterable,
Expand All @@ -101,7 +101,7 @@ public static <T, V> LazyIterable<V> flatCollect(
}

/**
* Creates a deferred filtering and transforming iterable for the specified iterable
* Creates a deferred filtering and transforming iterable for the specified iterable.
*/
public static <T, V> LazyIterable<V> collectIf(
Iterable<T> iterable,
Expand All @@ -112,15 +112,15 @@ public static <T, V> LazyIterable<V> collectIf(
}

/**
* Creates a deferred take iterable for the specified iterable using the specified count as the limit
* Creates a deferred take iterable for the specified iterable using the specified count as the limit.
*/
public static <T> LazyIterable<T> take(Iterable<T> iterable, int count)
{
return new TakeIterable<T>(iterable, count);
}

/**
* Creates a deferred drop iterable for the specified iterable using the specified count as the size to drop
* Creates a deferred drop iterable for the specified iterable using the specified count as the size to drop.
*/
public static <T> LazyIterable<T> drop(Iterable<T> iterable, int count)
{
Expand Down Expand Up @@ -160,7 +160,7 @@ public static <T> LazyIterable<T> distinct(Iterable<T> iterable)
}

/**
* Combines iterables into a deferred composite iterable
* Combines iterables into a deferred composite iterable.
*/
public static <T> LazyIterable<T> concatenate(Iterable<T>... iterables)
{
Expand Down

0 comments on commit 4caba0d

Please sign in to comment.