de.interactive_instruments.ShapeChange.Transformation.Flattening
Class PropertySetEdge

java.lang.Object
  extended by org.jgrapht.graph.DefaultEdge
      extended by de.interactive_instruments.ShapeChange.Transformation.Flattening.PropertySetEdge
Type Parameters:
V -
All Implemented Interfaces:
Serializable, Cloneable

public class PropertySetEdge
extends org.jgrapht.graph.DefaultEdge

Author:
Johannes Echterhoff
See Also:
Serialized Form

Constructor Summary
PropertySetEdge(String source, String target, Set<String> propertyNames)
           
 
Method Summary
 Set<String> getPropertyNames()
           
 String getV1()
           
 String getV2()
           
static String join(Set<String> parts, String delimiter)
          Creates a string that contains the parts, separated by the given delimiter (if null it defaults to the empty string).
 String toString()
           
 
Methods inherited from class org.jgrapht.graph.DefaultEdge
getSource, getTarget
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertySetEdge

public PropertySetEdge(String source,
                       String target,
                       Set<String> propertyNames)
Method Detail

getV1

public String getV1()

getV2

public String getV2()

getPropertyNames

public Set<String> getPropertyNames()

toString

public String toString()
Overrides:
toString in class org.jgrapht.graph.DefaultEdge

join

public static String join(Set<String> parts,
                          String delimiter)
Creates a string that contains the parts, separated by the given delimiter (if null it defaults to the empty string). If the set contains a null element, it is ignored. Joins the parts in the order returned by the iterator. If order of the set is important, ensure that an ordered set is used (e.g. TreeSet).

Parameters:
parts -
delimiter -
Returns:


Copyright © 2015. All rights reserved.