Whitespace
This commit is contained in:
parent
94657f5b91
commit
e99c2aeb9f
|
@ -109,10 +109,12 @@ public abstract class AbstractMapBag<E> implements Bag<E> {
|
||||||
canRemove = false;
|
canRemove = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Mutable integer class for storing the data.
|
* Mutable integer class for storing the data.
|
||||||
*/
|
*/
|
||||||
protected static class MutableInteger {
|
protected static class MutableInteger {
|
||||||
|
|
||||||
/** The value of this mutable. */
|
/** The value of this mutable. */
|
||||||
protected int value;
|
protected int value;
|
||||||
|
|
||||||
|
@ -137,8 +139,10 @@ public abstract class AbstractMapBag<E> implements Bag<E> {
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/** The map to use to store the data */
|
/** The map to use to store the data */
|
||||||
private transient Map<E, MutableInteger> map;
|
private transient Map<E, MutableInteger> map;
|
||||||
|
|
||||||
/** The current total size of the bag */
|
/** The current total size of the bag */
|
||||||
private int size;
|
private int size;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue