|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
SetWrapper.java | - | 0% | 0% | 0% |
|
1 |
/*
|
|
2 |
* Joey and its relative products are published under the terms
|
|
3 |
* of the Apache Software License.
|
|
4 |
*/
|
|
5 |
package org.asyrinx.brownie.core.collection.wrapper;
|
|
6 |
|
|
7 |
import java.util.Collection;
|
|
8 |
import java.util.HashSet;
|
|
9 |
import java.util.Set;
|
|
10 |
|
|
11 |
/**
|
|
12 |
*
|
|
13 |
* @author akima
|
|
14 |
*/
|
|
15 |
public class SetWrapper extends CollectionWrapper implements Set { |
|
16 |
|
|
17 |
/**
|
|
18 |
* Constructor for SetWrapper.
|
|
19 |
*/
|
|
20 | 0 |
public SetWrapper(Set set) {
|
21 | 0 |
super(set);
|
22 | 0 |
this.set = set;
|
23 |
} |
|
24 |
|
|
25 | 0 |
public SetWrapper(Collection c) {
|
26 | 0 |
this(new HashSet(c)); |
27 |
} |
|
28 |
|
|
29 |
protected final Set set;
|
|
30 |
|
|
31 |
} |
|