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:
Sebastian Bazley 2010-10-18 13:06:44 +00:00
parent f3941347f0
commit 28e8ba5476
2 changed files with 6 additions and 0 deletions

View File

@ -135,6 +135,8 @@ public class TestCompositeMap<K, V> extends AbstractTestIterableMap<K, V> {
public void testResolveCollision() {
CompositeMap<K, V> map = new CompositeMap<K, V>(buildOne(), buildTwo(),
new CompositeMap.MapMutator<K, V>() {
private static final long serialVersionUID = 1L;
public void resolveCollision(CompositeMap<K, V> composite,
Map<K, V> existing,
Map<K, V> added,
@ -160,6 +162,7 @@ public class TestCompositeMap<K, V> extends AbstractTestIterableMap<K, V> {
public void testPut() {
CompositeMap<K, V> map = new CompositeMap<K, V>(buildOne(), buildTwo(),
new CompositeMap.MapMutator<K, V>() {
private static final long serialVersionUID = 1L;
public void resolveCollision(CompositeMap<K, V> composite,
Map<K, V> existing,
Map<K, V> added,
@ -185,6 +188,7 @@ public class TestCompositeMap<K, V> extends AbstractTestIterableMap<K, V> {
public void testPutAll() {
CompositeMap<K, V> map = new CompositeMap<K, V>(buildOne(), buildTwo(),
new CompositeMap.MapMutator<K, V>() {
private static final long serialVersionUID = 1L;
public void resolveCollision(CompositeMap<K, V> composite,
Map<K, V> existing,
Map<K, V> added,

View File

@ -99,6 +99,8 @@ public class TestCompositeSet<E> extends AbstractTestSet<E> {
Set<E> two = buildTwo();
CompositeSet<E> set = new CompositeSet<E>(new Set[] { one, two });
set.setMutator(new CompositeSet.SetMutator<E>() {
private static final long serialVersionUID = 1L;
public void resolveCollision(CompositeSet<E> comp, Set<E> existing,
Set<E> added, Collection<E> intersects) {
//noop