Examples of intersectRange()


Examples of ns.foundation.NSMutableRange.intersectRange()

  }

  public void testIntersectRange() {
    NSMutableRange range = new NSMutableRange(2,3);
    NSRange otherRange = new NSRange(3, 3);
    range.intersectRange(otherRange);
    assertEquals(3, range.location());
    assertEquals(2, range.length());
  }

  public void testSetLength() {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.