GraphLab Project

graphlab.plugins.commandline.commands
Class Copier

java.lang.Object
  extended by graphlab.plugins.commandline.commands.Copier
All Implemented Interfaces:
EdgeConverter<VertexModel,VertexModel,EdgeModel,EdgeModel>, EdgeVertexConverter<VertexModel,VertexModel,EdgeModel,EdgeModel>, EdgeVertexCopier<VertexModel,EdgeModel>, VertexConverter<VertexModel,VertexModel>

public class Copier
extends java.lang.Object
implements EdgeVertexCopier<VertexModel,EdgeModel>

Author:
Mohammad Ali Rostami

Constructor Summary
Copier()
           
 
Method Summary
 EdgeModel convert(EdgeModel e, VertexModel newSource, VertexModel newTarget)
           
 VertexModel convert(VertexModel e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Copier

public Copier()
Method Detail

convert

public EdgeModel convert(EdgeModel e,
                         VertexModel newSource,
                         VertexModel newTarget)
Specified by:
convert in interface EdgeConverter<VertexModel,VertexModel,EdgeModel,EdgeModel>
Specified by:
convert in interface EdgeVertexConverter<VertexModel,VertexModel,EdgeModel,EdgeModel>

convert

public VertexModel convert(VertexModel e)
Specified by:
convert in interface EdgeVertexConverter<VertexModel,VertexModel,EdgeModel,EdgeModel>
Specified by:
convert in interface VertexConverter<VertexModel,VertexModel>

GraphLab Project