src/org/kocakosm/pitaya/util/Splitter.java
public Splitter limit(int limit)
	{
		return new Splitter(limit == 0 ? -1 : limit, trim, pattern,
			prefix, suffix, forEmpty, ignoreEmptyStrings);
	}
public Splitter limit(int limit)
	{
		return new Splitter(limit == 0 ? -1 : limit, trim, pattern,
			prefix, suffix, forEmpty, ignoreEmptyStrings);
	}
public Splitter limit ( int limit ) { return new Splitter ( limit == 0 ? - 1 : limit , trim , pattern , prefix , suffix , forEmpty , ignoreEmptyStrings ) ; }
Returns a new {@code Splitter} that will behave as this one except
that it will limit the number of times the splitting pattern is
applied. If {@code limit} is strictly positive, then the pattern will
be applied at most {@code limit - 1} times. If {@code limit} is
non-positive then the splitting pattern will be applied as many times
as possible.

@param limit the splitting limit.

@return a new {@code Splitter} with the desired configuration.
Returns a new { @code Splitter } that will behave as this one except that it will limit the number of times the splitting pattern is applied . If { @code limit } is strictly positive then the pattern will be applied at most { @code limit - 1 } times . If { @code limit } is non - positive then the splitting pattern will be applied as many times as possible .