|
|||||||||||||||||||
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 | |||||||||||||||
ValuedEnumSetEntry.java | - | 100% | 100% | 100% |
|
1 |
/*
|
|
2 |
* Joey and its relative products are published under the terms
|
|
3 |
* of the Apache Software License.
|
|
4 |
*/
|
|
5 |
/*
|
|
6 |
* Created on 2004/03/01
|
|
7 |
*/
|
|
8 |
package org.asyrinx.brownie.core.lang.enum;
|
|
9 |
|
|
10 |
/**
|
|
11 |
* @author akima
|
|
12 |
*/
|
|
13 |
public class ValuedEnumSetEntry extends EnumSetEntry { |
|
14 |
|
|
15 |
/**
|
|
16 |
* @param enum
|
|
17 |
*/
|
|
18 | 4 |
public ValuedEnumSetEntry(ValuedEnum enum) {
|
19 | 4 |
super(enum);
|
20 | 4 |
this.enum = enum;
|
21 |
} |
|
22 |
|
|
23 |
private final ValuedEnum enum;
|
|
24 |
|
|
25 | 13 |
public Object getValue() {
|
26 | 13 |
return enum.getValue();
|
27 |
} |
|
28 |
|
|
29 |
} |
|