Package com.sun.jna
Class WString
- java.lang.Object
-
- com.sun.jna.WString
-
- All Implemented Interfaces:
CharSequence,Comparable
public final class WString extends Object implements CharSequence, Comparable
Simple wrapper class to identify a wide string argument or return type.- Author:
- twall@users.sf.net
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description charcharAt(int index)intcompareTo(Object o)booleanequals(Object o)inthashCode()intlength()CharSequencesubSequence(int start, int end)StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.CharSequence
chars, codePoints
-
-
-
-
Constructor Detail
-
WString
public WString(String s)
-
-
Method Detail
-
toString
public String toString()
- Specified by:
toStringin interfaceCharSequence- Overrides:
toStringin classObject
-
compareTo
public int compareTo(Object o)
- Specified by:
compareToin interfaceComparable
-
length
public int length()
- Specified by:
lengthin interfaceCharSequence
-
charAt
public char charAt(int index)
- Specified by:
charAtin interfaceCharSequence
-
subSequence
public CharSequence subSequence(int start, int end)
- Specified by:
subSequencein interfaceCharSequence
-
-