mirror of
https://github.com/apache/commons-collections.git
synced 2025-02-12 21:15:45 +00:00
Normalize setter Javadoc
This commit is contained in:
parent
cbb98b0f29
commit
06ce80f114
@ -1737,7 +1737,7 @@ public class MapUtils {
|
||||
*
|
||||
* <pre>
|
||||
* Map m = MapUtils.synchronizedMap(myMap);
|
||||
* Set s = m.keySet(); // outside synchronized block
|
||||
* Sets s = m.keySet(); // outside synchronized block
|
||||
* synchronized (m) { // synchronized on MAP!
|
||||
* Iterator i = s.iterator();
|
||||
* while (i.hasNext()) {
|
||||
@ -1767,7 +1767,7 @@ public class MapUtils {
|
||||
*
|
||||
* <pre>
|
||||
* Map m = MapUtils.synchronizedSortedMap(myMap);
|
||||
* Set s = m.keySet(); // outside synchronized block
|
||||
* Sets s = m.keySet(); // outside synchronized block
|
||||
* synchronized (m) { // synchronized on MAP!
|
||||
* Iterator i = s.iterator();
|
||||
* while (i.hasNext()) {
|
||||
|
@ -435,7 +435,7 @@ public class SetUtils {
|
||||
* avoid non-deterministic behavior:
|
||||
*
|
||||
* <pre>
|
||||
* Set s = SetUtils.synchronizedSet(mySet);
|
||||
* Sets s = SetUtils.synchronizedSet(mySet);
|
||||
* synchronized (s) {
|
||||
* Iterator i = s.iterator();
|
||||
* while (i.hasNext()) {
|
||||
|
@ -160,7 +160,7 @@ public class FilterIterator<E> implements Iterator<E> {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set nextObject to the next object. If there are no more
|
||||
* Sets nextObject to the next object. If there are no more
|
||||
* objects, then return false. Otherwise, return true.
|
||||
*/
|
||||
private boolean setNextObject() {
|
||||
|
@ -155,7 +155,7 @@ public class SingletonListIterator<E> implements ResettableListIterator<E> {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set sets the value of the singleton.
|
||||
* Sets sets the value of the singleton.
|
||||
*
|
||||
* @param obj the object to set
|
||||
* @throws IllegalStateException if {@code next} has not been called
|
||||
|
@ -1356,7 +1356,7 @@ public abstract class AbstractCollectionTest<E> extends AbstractObjectTest {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the collection.
|
||||
* Sets the collection.
|
||||
* @param collection the Collection<E> to set
|
||||
*/
|
||||
public void setCollection(final Collection<E> collection) {
|
||||
@ -1368,7 +1368,7 @@ public abstract class AbstractCollectionTest<E> extends AbstractObjectTest {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the confirmed.
|
||||
* Sets the confirmed.
|
||||
* @param confirmed the Collection<E> to set
|
||||
*/
|
||||
public void setConfirmed(final Collection<E> confirmed) {
|
||||
|
@ -51,7 +51,7 @@ public class FilterIteratorTest<E> extends AbstractIteratorTest<E> {
|
||||
private FilterIterator<E> iterator;
|
||||
|
||||
/**
|
||||
* Set up instance variables required by this test case.
|
||||
* Sets up instance variables required by this test case.
|
||||
*/
|
||||
@BeforeEach
|
||||
public void setUp() {
|
||||
|
@ -72,7 +72,7 @@ public abstract class AbstractSetTest<E> extends AbstractCollectionTest<E> {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set equals method is defined.
|
||||
* Sets equals method is defined.
|
||||
*/
|
||||
@Override
|
||||
public boolean isEqualsCheckable() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user