@Test public void testGetEmptyProperties() { assertThat(GraphUtil.getProperties(node, "nothing", String.class), is(empty())); }
static public <T> Collection<T> getProperties(PropertyContainer container, String property, Class<T> type) { List<T> list = new ArrayList<>(); if (container.hasProperty(property)) { return getPropertiesAsSet(container.getProperty(property), type); } return list; }
GraphUtil { static public <T> Collection<T> getProperties(PropertyContainer container, String property, Class<T> type) { List<T> list = new ArrayList<>(); if (container.hasProperty(property)) { return getPropertiesAsSet(container.getProperty(property), type); } return list; } }
GraphUtil { static public <T> Collection<T> getProperties(PropertyContainer container, String property, Class<T> type) { List<T> list = new ArrayList<>(); if (container.hasProperty(property)) { return getPropertiesAsSet(container.getProperty(property), type); } return list; }  }
GraphUtil { static public <T> Collection<T> getProperties(PropertyContainer container, String property, Class<T> type) { List<T> list = new ArrayList<>(); if (container.hasProperty(property)) { return getPropertiesAsSet(container.getProperty(property), type); } return list; }  static void addProperty(PropertyContainer container, String property, Object value); static Optional<T> getProperty(PropertyContainer container, String property,
      Class<T> type); static Collection<T> getProperties(PropertyContainer container, String property,
      Class<T> type); static Iterable<Relationship> getRelationships(final Node a, final Node b,
      RelationshipType type, final boolean directed); static Iterable<Relationship> getRelationships(final Node a, final Node b,
      RelationshipType type); static boolean ignoreProperty(Object value); }
GraphUtil { static public <T> Collection<T> getProperties(PropertyContainer container, String property, Class<T> type) { List<T> list = new ArrayList<>(); if (container.hasProperty(property)) { return getPropertiesAsSet(container.getProperty(property), type); } return list; }  static void addProperty(PropertyContainer container, String property, Object value); static Optional<T> getProperty(PropertyContainer container, String property,
      Class<T> type); static Collection<T> getProperties(PropertyContainer container, String property,
      Class<T> type); static Iterable<Relationship> getRelationships(final Node a, final Node b,
      RelationshipType type, final boolean directed); static Iterable<Relationship> getRelationships(final Node a, final Node b,
      RelationshipType type); static boolean ignoreProperty(Object value);  }