public boolean startsWith(MetaPropertyPath other){
  if (other.getPath().length > path.length)   return false;
  MetaProperty[] subarray=Arrays.copyOf(this.metaProperties,other.getMetaProperties().length);
  return Arrays.equals(subarray,other.metaProperties);
}

public boolean startsWith ( MetaPropertyPath other ) { if ( other . getPath ( ) . length > path . length ) return false ; MetaProperty [ ] subarray = Arrays . copyOf ( this . metaProperties , other . getMetaProperties ( ) . length ) ; return Arrays . equals ( subarray , other . metaProperties ) ; }
tests if this path is a nested property of the given path .
