Example usage for org.apache.commons.collections.set CompositeSet.SetMutator interface-usage

List of usage examples for org.apache.commons.collections.set CompositeSet.SetMutator interface-usage

Introduction

In this page you can find the example usage for org.apache.commons.collections.set CompositeSet.SetMutator interface-usage.

Usage

From source file SetExampleV2.java

class CompositeMutator implements CompositeSet.SetMutator {

    public void resolveCollision(CompositeSet comp, Set existing, Set added, Collection intersection) {

        added.removeAll(intersection);
    }