Example usage for org.apache.commons.collections15 Factory interface-usage

List of usage examples for org.apache.commons.collections15 Factory interface-usage

Introduction

In this page you can find the example usage for org.apache.commons.collections15 Factory interface-usage.

Usage

From source file org.inria.myriads.snoozeclient.systemtree.factory.EdgeFactory.java

/**
 * Edge factory.
 * 
 * @author Eugen Feller
 */
public final class EdgeFactory implements Factory<Integer> {

From source file ru.jcorp.smartstreets.gui.map.bundle.NodesFactory.java

/**
 * <p>$Id$</p>
 *
 * @author Artamonov Yuriy
 */
public class NodesFactory implements Factory<GraphNode> {

From source file ru.jcorp.smartstreets.gui.map.bundle.LinesFactory.java

/**
 * <p>$Id$</p>
 *
 * @author Artamonov Yuriy
 */
public class LinesFactory implements Factory<GraphLink>, LinkedLinesFactory {

From source file VertexFactory.java

public class VertexFactory implements org.apache.commons.collections15.Factory<Vertex> {

    private int name = 1;
    private Vertex prev = null;
    private int dist = Integer.MAX_VALUE;

From source file graphml.EdgeFactory.java

public class EdgeFactory implements Factory {
    private int e = 0;

    public edge create() {
        return (new edge(e++));
    }

From source file EdgeFactory.java

class EdgeFactory implements Factory {
    private static EdgeFactory instance = null;
    private int e = 0;

    public static EdgeFactory getInstance() {
        if (instance == null) {

From source file graphml.VertexFactory.java

public class VertexFactory implements Factory {
    private int n = 0;

    public node create() {
        return (new node(n++));
    }

From source file JGraphLoader.VertexFactory.java

class VertexFactory implements Factory {
    private int n = 0;

    public node create() {
        return (new node(n++));
    }

From source file JGraphLoader.EdgeFactory.java

class EdgeFactory implements Factory {
    private int e = 0;

    public edge create() {
        return (new edge(new String("e" + e++)));
    }

From source file NodeFactory.java

class NodeFactory implements Factory {
    private static NodeFactory instance = null;
    private int e = 0;

    public static NodeFactory getInstance() {
        if (instance == null) {