use of com.thinkaurelius.titan.core.TitanProperty in project incubator-atlas by apache.
the class Titan0Vertex method getPropertyValues.
@Override
public <T> Collection<T> getPropertyValues(String key, Class<T> clazz) {
TitanVertex tv = getAsTitanVertex();
Collection<T> result = new ArrayList<>();
for (TitanProperty property : tv.getProperties(key)) {
result.add((T) property.getValue());
}
return result;
}
Aggregations