public static <T,V extends Object> void type(Collection<V> valueColl, Class<T> type) {
		for(V value: valueColl)
			type(value, type);
	}
	
	//------- Numerical checks ----------------------------------------------------------------------------
	
	//------- Integer --------------------------------
	
	/**
	 * Checks if the given integer is positive.
	 * @param value The integer value to validate.
	 * @throws ParameterException if the given integer value is <code>null</code> or smaller/equal to 0.
	 */
	public static void positive(Integer value) {
		if(!validation) return;
		notNull(value);
		if(value <= 0)
			throw new ParameterException(ErrorCode.NOTPOSITIVE);
	}
public static < T , V extends Object > void type ( Collection < V > valueColl , Class < T > type ) { for ( V value : valueColl ) type ( value , type ) ; } public static void positive ( Integer value ) { if ( ! validation ) return ; notNull ( value ) ; if ( value <= 0 ) throw new ParameterException ( ErrorCode . NOTPOSITIVE ) ; }
Checks if the elements of a given collection have a specific type.
@param valueColl The collection of elements to validate.
@param type The target type.
@throws ParameterException if the type of at least one element is not a valid subclass of the target type.