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 char
charAt(int index)
int
compareTo(Object o)
boolean
equals(Object o)
int
hashCode()
int
length()
CharSequence
subSequence(int start, int end)
String
toString()
-
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:
toString
in interfaceCharSequence
- Overrides:
toString
in classObject
-
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interfaceComparable
-
length
public int length()
- Specified by:
length
in interfaceCharSequence
-
charAt
public char charAt(int index)
- Specified by:
charAt
in interfaceCharSequence
-
subSequence
public CharSequence subSequence(int start, int end)
- Specified by:
subSequence
in interfaceCharSequence
-
-