List of usage examples for org.springframework.data.mapping PropertyPath hasNext
public boolean hasNext()
From source file:org.springframework.data.mapping.PropertyPath.java
/** * Returns the leaf property of the {@link PropertyPath}. * //from ww w .j a va 2 s. co m * @return will never be {@literal null}. */ public PropertyPath getLeafProperty() { PropertyPath result = this; while (result.hasNext()) { result = result.next(); } return result; }