public int[] getIndexes() { int n = (int) getLength(); MachineSizedUIntPtr p = Struct.allocate(MachineSizedUIntPtr.class, n); getIndexes(p); return p.toIntArray(n); } /**
public NSIndexPath(@MachineSizedUInt long index) { super((SkipInit) null); initObject(init(index)); } /*</constructors>*/
public NSIndexPath(long[] indexes) { super((SkipInit) null); if (indexes == null) { throw new NullPointerException("indexes"); } MachineSizedUIntPtr p = Struct.allocate(MachineSizedUIntPtr.class, indexes.length); p.set(indexes); initObject(init(p, indexes.length)); }
/** * @since Available in iOS 7.0 and later. */ public int[] getIndexes(NSRange positionRange) { int n = (int) getLength(); MachineSizedUIntPtr p = Struct.allocate(MachineSizedUIntPtr.class, (int)positionRange.getLength()); getIndexes(p, positionRange); return p.toIntArray(n); }
@Method(selector = "initWithCoder:") public NSIndexPath(NSCoder decoder) { super((SkipInit) null); initObject(init(decoder)); } /*</constructors>*/
public int[] getIndexes() { int n = (int) getLength(); MachineSizedUIntPtr p = Struct.allocate(MachineSizedUIntPtr.class, n); getIndexes(p); return p.toIntArray(n); } /**
@Method(selector = "initWithCoder:") public NSIndexPath(NSCoder decoder) { super((SkipInit) null); initObject(init(decoder)); } /*</constructors>*/
public int[] getIndexes() { int n = (int) getLength(); MachineSizedUIntPtr p = Struct.allocate(MachineSizedUIntPtr.class, n); getIndexes(p); return p.toIntArray(n); } /**
public NSIndexPath(long[] indexes) { super((SkipInit) null); if (indexes == null) { throw new NullPointerException("indexes"); } MachineSizedUIntPtr p = Struct.allocate(MachineSizedUIntPtr.class, indexes.length); p.set(indexes); initObject(init(p, indexes.length)); }
/** * @since Available in iOS 7.0 and later. */ public int[] getIndexes(NSRange positionRange) { int n = (int) getLength(); MachineSizedUIntPtr p = Struct.allocate(MachineSizedUIntPtr.class, (int)positionRange.getLength()); getIndexes(p, positionRange); return p.toIntArray(n); }
public NSIndexPath(long[] indexes) { super((SkipInit) null); if (indexes == null) { throw new NullPointerException("indexes"); } MachineSizedUIntPtr p = Struct.allocate(MachineSizedUIntPtr.class, indexes.length); p.set(indexes); initObject(init(p, indexes.length)); }
/** * @since Available in iOS 7.0 and later. */ public int[] getIndexes(NSRange positionRange) { int n = (int) getLength(); MachineSizedUIntPtr p = Struct.allocate(MachineSizedUIntPtr.class, (int)positionRange.getLength()); getIndexes(p, positionRange); return p.toIntArray(n); }
@Method(selector = "initWithIndex:") public NSIndexPath(@MachineSizedUInt long index) { super((SkipInit) null); initObject(init(index)); } @Method(selector = "initWithCoder:")
@Method(selector = "initWithIndex:") public NSIndexPath(@MachineSizedUInt long index) { super((SkipInit) null); initObject(init(index)); } @Method(selector = "initWithCoder:")