Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Neo4j Community
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.neo4j.graphmatching
Class ArrayPropertyUtil

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

    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()`

Method Summary
`static Collection<Object>` | `propertyValueToCollection(Object propertyValue)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ArrayPropertyUtil

    public ArrayPropertyUtil()

Method Detail

### propertyValueToCollection

    public static Collection<Object> propertyValueToCollection(Object propertyValue)

  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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Neo4j Community
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.