What is the equivalent of Cocoa's NSRange struct on Android (Java)? -


what equivalent of cocoa's nsrange struct on android?

typedef struct _nsrange {     nsuinteger location;     nsuinteger length; } nsrange; 

i'm trying find java class cannot find anything.

you can use java class :

class javansrange {     public integer location;     public integer length; } 

nsinteger ==> integer


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -