Examples of unionRange()


Examples of ns.foundation.NSMutableRange.unionRange()

  }

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

}
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.