Update file layout for consistency

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131523 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2004-01-05 21:54:06 +00:00
parent e092de9763
commit a1eb25eeac
14 changed files with 68 additions and 56 deletions

View File

@ -1,10 +1,10 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/AbstractBagDecorator.java,v 1.1 2003/11/16 00:05:43 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/AbstractBagDecorator.java,v 1.2 2004/01/05 21:54:06 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2003 The Apache Software Foundation. All rights
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -68,11 +68,12 @@ import org.apache.commons.collections.collection.AbstractCollectionDecorator;
* Methods are forwarded directly to the decorated bag.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/11/16 00:05:43 $
* @version $Revision: 1.2 $ $Date: 2004/01/05 21:54:06 $
*
* @author Stephen Colebourne
*/
public abstract class AbstractBagDecorator extends AbstractCollectionDecorator implements Bag {
public abstract class AbstractBagDecorator
extends AbstractCollectionDecorator implements Bag {
/**
* Constructor that wraps (not copies).

View File

@ -1,10 +1,10 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/AbstractSortedBagDecorator.java,v 1.1 2003/11/16 00:05:43 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/AbstractSortedBagDecorator.java,v 1.2 2004/01/05 21:54:06 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2003 The Apache Software Foundation. All rights
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -67,11 +67,12 @@ import org.apache.commons.collections.SortedBag;
* Methods are forwarded directly to the decorated bag.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/11/16 00:05:43 $
* @version $Revision: 1.2 $ $Date: 2004/01/05 21:54:06 $
*
* @author Stephen Colebourne
*/
public abstract class AbstractSortedBagDecorator extends AbstractBagDecorator implements SortedBag {
public abstract class AbstractSortedBagDecorator
extends AbstractBagDecorator implements SortedBag {
/**
* Constructor that wraps (not copies).

View File

@ -1,10 +1,10 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/HashBag.java,v 1.4 2003/12/28 16:36:48 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/HashBag.java,v 1.5 2004/01/05 21:54:06 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2002-2003 The Apache Software Foundation. All rights
* Copyright (c) 2002-2004 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -77,12 +77,13 @@ import org.apache.commons.collections.Bag;
* <code>Collection</code> interface specification.
*
* @since Commons Collections 3.0 (previously in main package v2.0)
* @version $Revision: 1.4 $ $Date: 2003/12/28 16:36:48 $
* @version $Revision: 1.5 $ $Date: 2004/01/05 21:54:06 $
*
* @author Chuck Burdick
* @author Stephen Colebourne
*/
public class HashBag extends AbstractMapBag implements Bag, Serializable {
public class HashBag
extends AbstractMapBag implements Bag, Serializable {
/** Serial version lock */
static final long serialVersionUID = -6561115435802554013L;

View File

@ -1,10 +1,10 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/PredicatedBag.java,v 1.1 2003/11/16 00:05:43 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/PredicatedBag.java,v 1.2 2004/01/05 21:54:06 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2003 The Apache Software Foundation. All rights
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -71,12 +71,13 @@ import org.apache.commons.collections.collection.PredicatedCollection;
* is thrown.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/11/16 00:05:43 $
* @version $Revision: 1.2 $ $Date: 2004/01/05 21:54:06 $
*
* @author Stephen Colebourne
* @author Paul Jack
*/
public class PredicatedBag extends PredicatedCollection implements Bag {
public class PredicatedBag
extends PredicatedCollection implements Bag {
/**
* Factory method to create a predicated (validating) bag.

View File

@ -1,10 +1,10 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/PredicatedSortedBag.java,v 1.1 2003/11/16 00:05:43 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/PredicatedSortedBag.java,v 1.2 2004/01/05 21:54:06 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2003 The Apache Software Foundation. All rights
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -70,12 +70,13 @@ import org.apache.commons.collections.SortedBag;
* is thrown.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/11/16 00:05:43 $
* @version $Revision: 1.2 $ $Date: 2004/01/05 21:54:06 $
*
* @author Stephen Colebourne
* @author Paul Jack
*/
public class PredicatedSortedBag extends PredicatedBag implements SortedBag {
public class PredicatedSortedBag
extends PredicatedBag implements SortedBag {
/**
* Factory method to create a predicated (validating) bag.

View File

@ -1,10 +1,10 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/SynchronizedBag.java,v 1.2 2003/12/28 14:55:46 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/SynchronizedBag.java,v 1.3 2004/01/05 21:54:06 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2003 The Apache Software Foundation. All rights
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -71,11 +71,12 @@ import org.apache.commons.collections.set.SynchronizedSet;
* Iterators must be separately synchronized around the loop.
*
* @since Commons Collections 3.0
* @version $Revision: 1.2 $ $Date: 2003/12/28 14:55:46 $
* @version $Revision: 1.3 $ $Date: 2004/01/05 21:54:06 $
*
* @author Stephen Colebourne
*/
public class SynchronizedBag extends SynchronizedCollection implements Bag {
public class SynchronizedBag
extends SynchronizedCollection implements Bag {
/**
* Factory method to create a synchronized bag.

View File

@ -1,10 +1,10 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/SynchronizedSortedBag.java,v 1.2 2003/12/28 14:55:46 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/SynchronizedSortedBag.java,v 1.3 2004/01/05 21:54:06 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2003 The Apache Software Foundation. All rights
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -70,11 +70,12 @@ import org.apache.commons.collections.SortedBag;
* Iterators must be separately synchronized around the loop.
*
* @since Commons Collections 3.0
* @version $Revision: 1.2 $ $Date: 2003/12/28 14:55:46 $
* @version $Revision: 1.3 $ $Date: 2004/01/05 21:54:06 $
*
* @author Stephen Colebourne
*/
public class SynchronizedSortedBag extends SynchronizedBag implements SortedBag {
public class SynchronizedSortedBag
extends SynchronizedBag implements SortedBag {
/**
* Factory method to create a synchronized sorted bag.

View File

@ -1,10 +1,10 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/TransformedBag.java,v 1.1 2003/11/16 00:05:43 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/TransformedBag.java,v 1.2 2004/01/05 21:54:06 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2003 The Apache Software Foundation. All rights
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -73,11 +73,12 @@ import org.apache.commons.collections.set.TransformedSet;
* use the Integer form to remove objects.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/11/16 00:05:43 $
* @version $Revision: 1.2 $ $Date: 2004/01/05 21:54:06 $
*
* @author Stephen Colebourne
*/
public class TransformedBag extends TransformedCollection implements Bag {
public class TransformedBag
extends TransformedCollection implements Bag {
/**
* Factory method to create a transforming bag.

View File

@ -1,10 +1,10 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/TransformedSortedBag.java,v 1.1 2003/11/16 00:05:43 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/TransformedSortedBag.java,v 1.2 2004/01/05 21:54:06 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2003 The Apache Software Foundation. All rights
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -71,11 +71,12 @@ import org.apache.commons.collections.Transformer;
* use the Integer form to remove objects.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/11/16 00:05:43 $
* @version $Revision: 1.2 $ $Date: 2004/01/05 21:54:06 $
*
* @author Stephen Colebourne
*/
public class TransformedSortedBag extends TransformedBag implements SortedBag {
public class TransformedSortedBag
extends TransformedBag implements SortedBag {
/**
* Factory method to create a transforming sorted bag.

View File

@ -1,10 +1,10 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/TreeBag.java,v 1.5 2003/12/28 17:58:53 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/TreeBag.java,v 1.6 2004/01/05 21:54:06 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2002-2003 The Apache Software Foundation. All rights
* Copyright (c) 2002-2004 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -82,12 +82,13 @@ import org.apache.commons.collections.SortedBag;
* <code>Collection</code> interface specification.
*
* @since Commons Collections 3.0 (previously in main package v2.0)
* @version $Revision: 1.5 $ $Date: 2003/12/28 17:58:53 $
* @version $Revision: 1.6 $ $Date: 2004/01/05 21:54:06 $
*
* @author Chuck Burdick
* @author Stephen Colebourne
*/
public class TreeBag extends AbstractMapBag implements SortedBag, Serializable {
public class TreeBag
extends AbstractMapBag implements SortedBag, Serializable {
/** Serial version lock */
static final long serialVersionUID = -7740146511091606676L;

View File

@ -1,10 +1,10 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/TypedBag.java,v 1.1 2003/11/16 00:05:43 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/TypedBag.java,v 1.2 2004/01/05 21:54:06 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2003 The Apache Software Foundation. All rights
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -69,7 +69,7 @@ import org.apache.commons.collections.PredicateUtils;
* collection, an IllegalArgumentException is thrown.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/11/16 00:05:43 $
* @version $Revision: 1.2 $ $Date: 2004/01/05 21:54:06 $
*
* @author Stephen Colebourne
* @author Matthew Hawthorne
@ -90,7 +90,7 @@ public class TypedBag {
public static Bag decorate(Bag bag, Class type) {
return new PredicatedBag(bag, PredicateUtils.instanceofPredicate(type));
}
/**
* Restrictive constructor.
*/

View File

@ -1,10 +1,10 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/TypedSortedBag.java,v 1.1 2003/11/16 00:05:43 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/TypedSortedBag.java,v 1.2 2004/01/05 21:54:06 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2003 The Apache Software Foundation. All rights
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -69,7 +69,7 @@ import org.apache.commons.collections.SortedBag;
* collection, an IllegalArgumentException is thrown.
*
* @since Commons Collections 3.0
* @version $Revision: 1.1 $ $Date: 2003/11/16 00:05:43 $
* @version $Revision: 1.2 $ $Date: 2004/01/05 21:54:06 $
*
* @author Stephen Colebourne
* @author Matthew Hawthorne
@ -90,7 +90,7 @@ public class TypedSortedBag {
public static SortedBag decorate(SortedBag bag, Class type) {
return new PredicatedSortedBag(bag, PredicateUtils.instanceofPredicate(type));
}
/**
* Restrictive constructor.
*/

View File

@ -1,10 +1,10 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/UnmodifiableBag.java,v 1.3 2003/12/03 12:27:37 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/UnmodifiableBag.java,v 1.4 2004/01/05 21:54:06 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2003 The Apache Software Foundation. All rights
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -70,11 +70,12 @@ import org.apache.commons.collections.set.UnmodifiableSet;
* Decorates another <code>Bag</code> to ensure it can't be altered.
*
* @since Commons Collections 3.0
* @version $Revision: 1.3 $ $Date: 2003/12/03 12:27:37 $
* @version $Revision: 1.4 $ $Date: 2004/01/05 21:54:06 $
*
* @author Stephen Colebourne
*/
public final class UnmodifiableBag extends AbstractBagDecorator implements Unmodifiable {
public final class UnmodifiableBag
extends AbstractBagDecorator implements Unmodifiable {
/**
* Factory method to create an unmodifiable bag.

View File

@ -1,10 +1,10 @@
/*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/UnmodifiableSortedBag.java,v 1.3 2003/12/03 12:27:37 scolebourne Exp $
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/java/org/apache/commons/collections/bag/UnmodifiableSortedBag.java,v 1.4 2004/01/05 21:54:06 scolebourne Exp $
* ====================================================================
*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2003 The Apache Software Foundation. All rights
* Copyright (c) 2003-2004 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -68,11 +68,12 @@ import org.apache.commons.collections.iterators.UnmodifiableIterator;
* Decorates another <code>SortedBag</code> to ensure it can't be altered.
*
* @since Commons Collections 3.0
* @version $Revision: 1.3 $ $Date: 2003/12/03 12:27:37 $
* @version $Revision: 1.4 $ $Date: 2004/01/05 21:54:06 $
*
* @author Stephen Colebourne
*/
public final class UnmodifiableSortedBag extends AbstractSortedBagDecorator implements Unmodifiable {
public final class UnmodifiableSortedBag
extends AbstractSortedBagDecorator implements Unmodifiable {
/**
* Factory method to create an unmodifiable bag.