Neo4j Community

org.neo4j.graphmatching
Class ArrayPropertyUtil

java.lang.Object
  extended by org.neo4j.graphmatching.ArrayPropertyUtil

Deprecated.

@Deprecated
public class ArrayPropertyUtil
extends Object

Just a temporary utility for dealing with Neo4j properties that are arrays. Since the Neo4j kernel arrays are returned as fundamental types, f.ex. int[], float[], String[] etc... And we'd like to deal with those as objects instead so that an equals method may be used.


Constructor Summary
ArrayPropertyUtil()
          Deprecated.  
 
Method Summary
static Collection<Object> propertyValueToCollection(Object propertyValue)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayPropertyUtil

public ArrayPropertyUtil()
Deprecated. 
Method Detail

propertyValueToCollection

public static Collection<Object> propertyValueToCollection(Object propertyValue)
Deprecated. 
Parameters:
propertyValue - node.getProperty value.
Returns:
a collection of all the values from a property. If the value is just a plain "single" value the collection will contain that single value. If the value is an array of values, all those values are added to the collection.

Neo4j Community

Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.