serialVersionUID
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1023782 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f3941347f0
commit
28e8ba5476
|
@ -135,6 +135,8 @@ public class TestCompositeMap<K, V> extends AbstractTestIterableMap<K, V> {
|
||||||
public void testResolveCollision() {
|
public void testResolveCollision() {
|
||||||
CompositeMap<K, V> map = new CompositeMap<K, V>(buildOne(), buildTwo(),
|
CompositeMap<K, V> map = new CompositeMap<K, V>(buildOne(), buildTwo(),
|
||||||
new CompositeMap.MapMutator<K, V>() {
|
new CompositeMap.MapMutator<K, V>() {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
public void resolveCollision(CompositeMap<K, V> composite,
|
public void resolveCollision(CompositeMap<K, V> composite,
|
||||||
Map<K, V> existing,
|
Map<K, V> existing,
|
||||||
Map<K, V> added,
|
Map<K, V> added,
|
||||||
|
@ -160,6 +162,7 @@ public class TestCompositeMap<K, V> extends AbstractTestIterableMap<K, V> {
|
||||||
public void testPut() {
|
public void testPut() {
|
||||||
CompositeMap<K, V> map = new CompositeMap<K, V>(buildOne(), buildTwo(),
|
CompositeMap<K, V> map = new CompositeMap<K, V>(buildOne(), buildTwo(),
|
||||||
new CompositeMap.MapMutator<K, V>() {
|
new CompositeMap.MapMutator<K, V>() {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
public void resolveCollision(CompositeMap<K, V> composite,
|
public void resolveCollision(CompositeMap<K, V> composite,
|
||||||
Map<K, V> existing,
|
Map<K, V> existing,
|
||||||
Map<K, V> added,
|
Map<K, V> added,
|
||||||
|
@ -185,6 +188,7 @@ public class TestCompositeMap<K, V> extends AbstractTestIterableMap<K, V> {
|
||||||
public void testPutAll() {
|
public void testPutAll() {
|
||||||
CompositeMap<K, V> map = new CompositeMap<K, V>(buildOne(), buildTwo(),
|
CompositeMap<K, V> map = new CompositeMap<K, V>(buildOne(), buildTwo(),
|
||||||
new CompositeMap.MapMutator<K, V>() {
|
new CompositeMap.MapMutator<K, V>() {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
public void resolveCollision(CompositeMap<K, V> composite,
|
public void resolveCollision(CompositeMap<K, V> composite,
|
||||||
Map<K, V> existing,
|
Map<K, V> existing,
|
||||||
Map<K, V> added,
|
Map<K, V> added,
|
||||||
|
|
|
@ -99,6 +99,8 @@ public class TestCompositeSet<E> extends AbstractTestSet<E> {
|
||||||
Set<E> two = buildTwo();
|
Set<E> two = buildTwo();
|
||||||
CompositeSet<E> set = new CompositeSet<E>(new Set[] { one, two });
|
CompositeSet<E> set = new CompositeSet<E>(new Set[] { one, two });
|
||||||
set.setMutator(new CompositeSet.SetMutator<E>() {
|
set.setMutator(new CompositeSet.SetMutator<E>() {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
public void resolveCollision(CompositeSet<E> comp, Set<E> existing,
|
public void resolveCollision(CompositeSet<E> comp, Set<E> existing,
|
||||||
Set<E> added, Collection<E> intersects) {
|
Set<E> added, Collection<E> intersects) {
|
||||||
//noop
|
//noop
|
||||||
|
|
Loading…
Reference in New Issue