Package org.robovm.apple.foundation
Class NSRange
public class NSRange extends Struct<NSRange>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNSRange.AsValuedListMarshalerstatic classNSRange.NSRangePtr -
Constructor Summary
-
Method Summary
Modifier and Type Method Description booleanequals(Object obj)booleanequalsTo(NSRange other)static NSRangefromString(String aString)longgetLength()longgetLocation()longgetMaxRange()static NSRangeintersection(NSRange range1, NSRange range2)booleanisLocationInRange(long location)NSRangesetLength(long length)NSRangesetLocation(long location)protected static StringtoString(NSRange range)static NSRangeunion(NSRange range1, NSRange range2)Methods inherited from class org.robovm.rt.bro.Struct
_sizeOf, allocate, allocate, as, clear, clear, copy, copy, copyWithMalloc, copyWithMalloc, free, iterator, iterator, malloc, malloc, next, next, offsetOf, previous, previous, sizeOf, sizeOf, toArray, toList, toStruct, update, update, update, wrap
-
Constructor Details
-
Method Details
-
getLocation
public long getLocation() -
setLocation
-
getLength
public long getLength() -
setLength
-
getMaxRange
public long getMaxRange() -
isLocationInRange
public boolean isLocationInRange(long location) -
equalsTo
-
equals
- Overrides:
equalsin classNativeObject
-
union
-
intersection
-
toString
-
fromString
-