2
Copyright 2008-2011 Gephi
3
Authors : Eduardo Ramos <eduramiba@gmail.com>
4
Website : http://www.gephi.org
6
This file is part of Gephi.
8
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
10
Copyright 2011 Gephi Consortium. All rights reserved.
12
The contents of this file are subject to the terms of either the GNU
13
General Public License Version 3 only ("GPL") or the Common
14
Development and Distribution License("CDDL") (collectively, the
15
"License"). You may not use this file except in compliance with the
16
License. You can obtain a copy of the License at
17
http://gephi.org/about/legal/license-notice/
18
or /cddl-1.0.txt and /gpl-3.0.txt. See the License for the
19
specific language governing permissions and limitations under the
20
License. When distributing the software, include this License Header
21
Notice in each file and include the License files at
22
/cddl-1.0.txt and /gpl-3.0.txt. If applicable, add the following below the
23
License Header, with the fields enclosed by brackets [] replaced by
24
your own identifying information:
25
"Portions Copyrighted [year] [name of copyright owner]"
27
If you wish your version of this file to be governed by only the CDDL
28
or only the GPL Version 3, indicate your decision by adding
29
"[Contributor] elects to include this software in this distribution
30
under the [CDDL or GPL Version 3] license." If you do not indicate a
31
single choice of license, a recipient has the option to distribute
32
your version of this file under either the CDDL, the GPL Version 3 or
33
to extend the choice of license to its licensees as provided above.
34
However, if you add GPL Version 3 code and therefore, elected the GPL
35
Version 3 license, then the option applies only if the new code is
36
made subject to such option by the copyright holder.
40
Portions Copyrighted 2011 Gephi Consortium.
42
package org.gephi.datalab.plugin.manipulators.rows.merge;
44
import org.gephi.datalab.spi.rows.merge.AttributeRowsMergeStrategy;
45
import org.gephi.datalab.spi.rows.merge.AttributeRowsMergeStrategyBuilder;
46
import org.openide.util.lookup.ServiceProvider;
49
* Builder for AverageNumber AttributeColumnsMergeStrategy.
50
* @author Eduardo Ramos <eduramiba@gmail.com>
52
@ServiceProvider(service=AttributeRowsMergeStrategyBuilder.class)
53
public class AverageNumberBuilder implements AttributeRowsMergeStrategyBuilder {
55
public AttributeRowsMergeStrategy getAttributeRowsMergeStrategy() {
56
return new AverageNumber();