Class NSRange

  • All Implemented Interfaces:

    public class NSRange
    extends org.robovm.rt.bro.Struct<NSRange>
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  NSRange.AsValuedListMarshaler  
      static class  NSRange.NSRangePtr  
      • Nested classes/interfaces inherited from class org.robovm.rt.bro.Struct

    • Constructor Summary

      Constructor Description
      NSRange​(long location, long length)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      boolean equalsTo​(NSRange other)  
      static NSRange fromString​(java.lang.String aString)  
      long getLength()  
      long getLocation()  
      long getMaxRange()  
      static NSRange intersection​(NSRange range1, NSRange range2)  
      boolean isLocationInRange​(long location)  
      NSRange setLength​(long length)  
      NSRange setLocation​(long location)  
      protected static java.lang.String toString​(NSRange range)  
      static NSRange union​(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
      • Methods inherited from class org.robovm.rt.bro.NativeObject

        getHandle, hashCode, setHandle
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • NSRange

        public NSRange()
      • NSRange

        public NSRange​(long location,
                       long length)
    • Method Detail

      • getLocation

        public long getLocation()
      • setLocation

        public NSRange setLocation​(long location)
      • getLength

        public long getLength()
      • setLength

        public NSRange setLength​(long length)
      • getMaxRange

        public long getMaxRange()
      • isLocationInRange

        public boolean isLocationInRange​(long location)
      • equalsTo

        public boolean equalsTo​(NSRange other)
      • equals

        public boolean equals​(java.lang.Object obj)
        equals in class org.robovm.rt.bro.NativeObject
      • toString

        protected static java.lang.String toString​(NSRange range)
      • fromString

        public static NSRange fromString​(java.lang.String aString)