public Path removeFirstSegments(int count){
  if (count == 0)   return this;
  if (count >= segments.length) {
    return new Path(device,NO_SEGMENTS,0);
  }
  checkArgument(count > 0);
  int newSize=segments.length - count;
  String[] newSegments=new String[newSize];
  System.arraycopy(this.segments,count,newSegments,0,newSize);
  return new Path(device,newSegments,separators & HAS_TRAILING);
}

public Path removeFirstSegments ( int count ) { if ( count == 0 ) return this ; if ( count >= segments . length ) { return new Path ( device , NO_SEGMENTS , 0 ) ; } checkArgument ( count > 0 ) ; int newSize = segments . length - count ; String [ ] newSegments = new String [ newSize ] ; System . arraycopy ( this . segments , count , newSegments , 0 , newSize ) ; return new Path ( device , newSegments , separators & HAS_TRAILING ) ; }
returns a copy of this path with the given number of segments removed from the beginning . the device id is preserved . the number must be greater or equal zero . if the count is zero , this path is returned . the resulting path will always be a relative path with respect to this path . if the number equals or exceeds the number of segments in this path , an empty relative path is returned .
