Add constructor
Fix javadoc, from Gary Gregory git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131519 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
16c0a94d68
commit
9b1843b10d
|
@ -1,10 +1,10 @@
|
||||||
/*
|
/*
|
||||||
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/functors/FunctorUtils.java,v 1.3 2003/11/23 23:25:33 scolebourne Exp $
|
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/functors/FunctorUtils.java,v 1.4 2004/01/05 21:31:48 scolebourne Exp $
|
||||||
* ====================================================================
|
* ====================================================================
|
||||||
*
|
*
|
||||||
* The Apache Software License, Version 1.1
|
* The Apache Software License, Version 1.1
|
||||||
*
|
*
|
||||||
* Copyright (c) 2001-2003 The Apache Software Foundation. All rights
|
* Copyright (c) 2001-2004 The Apache Software Foundation. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -68,12 +68,18 @@ import org.apache.commons.collections.Transformer;
|
||||||
* Internal utilities for functors.
|
* Internal utilities for functors.
|
||||||
*
|
*
|
||||||
* @since Commons Collections 3.0
|
* @since Commons Collections 3.0
|
||||||
* @version $Revision: 1.3 $ $Date: 2003/11/23 23:25:33 $
|
* @version $Revision: 1.4 $ $Date: 2004/01/05 21:31:48 $
|
||||||
*
|
*
|
||||||
* @author Stephen Colebourne
|
* @author Stephen Colebourne
|
||||||
*/
|
*/
|
||||||
class FunctorUtils {
|
class FunctorUtils {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Restricted constructor.
|
||||||
|
*/
|
||||||
|
private FunctorUtils() {
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clone the predicates to ensure that the internal reference can't be messed with.
|
* Clone the predicates to ensure that the internal reference can't be messed with.
|
||||||
*
|
*
|
||||||
|
@ -91,7 +97,6 @@ class FunctorUtils {
|
||||||
* Validate the predicates to ensure that all is well.
|
* Validate the predicates to ensure that all is well.
|
||||||
*
|
*
|
||||||
* @param predicates the predicates to validate
|
* @param predicates the predicates to validate
|
||||||
* @return the validated predicates
|
|
||||||
*/
|
*/
|
||||||
static void validate(Predicate[] predicates) {
|
static void validate(Predicate[] predicates) {
|
||||||
if (predicates == null) {
|
if (predicates == null) {
|
||||||
|
@ -108,7 +113,6 @@ class FunctorUtils {
|
||||||
* Validate the predicates to ensure that all is well.
|
* Validate the predicates to ensure that all is well.
|
||||||
*
|
*
|
||||||
* @param predicates the predicates to validate
|
* @param predicates the predicates to validate
|
||||||
* @return the validated predicates
|
|
||||||
*/
|
*/
|
||||||
static void validateMin2(Predicate[] predicates) {
|
static void validateMin2(Predicate[] predicates) {
|
||||||
if (predicates == null) {
|
if (predicates == null) {
|
||||||
|
@ -169,7 +173,6 @@ class FunctorUtils {
|
||||||
* Validate the closures to ensure that all is well.
|
* Validate the closures to ensure that all is well.
|
||||||
*
|
*
|
||||||
* @param closures the closures to validate
|
* @param closures the closures to validate
|
||||||
* @return the validated closures
|
|
||||||
*/
|
*/
|
||||||
static void validate(Closure[] closures) {
|
static void validate(Closure[] closures) {
|
||||||
if (closures == null) {
|
if (closures == null) {
|
||||||
|
|
Loading…
Reference in New Issue