Top Description Constructors Methods
org.python.core

pack-priv Class PyUnicodeMethods

extends Object
Class Inheritance
Imports
org.python.core.PyObjectUtil.NoConversion, java.util.Iterator

This class contains static methods implementing operations on the Python str object, supplementary to those defined in PyUnicode.

Implementations of binary operations defined here will have Object as their second argument, and should return Py#NotImplemented when the type in that position is not supported.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static Object
pack-priv static Object
pack-priv static Object
pack-priv static Object
pack-priv static Object
pack-priv static Object
pack-priv static Object
pack-priv static Object
pack-priv static Object
pack-priv static Object
pack-priv static Object
pack-priv static Object
private static boolean

Returns:

whether values equal
eq
(PySequence.OfInt
sequence
a
,
PySequence.OfInt
another
b
)

Compare sequences for equality.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

PyUnicodeMethodsback to summary
private PyUnicodeMethods()

Method Detail

__eq__back to summary
pack-priv static Object __eq__(PyUnicode v, Object w)
__eq__back to summary
pack-priv static Object __eq__(String v, Object w)
__ge__back to summary
pack-priv static Object __ge__(PyUnicode v, Object w)
__ge__back to summary
pack-priv static Object __ge__(String v, Object w)
__gt__back to summary
pack-priv static Object __gt__(PyUnicode v, Object w)
__gt__back to summary
pack-priv static Object __gt__(String v, Object w)
__le__back to summary
pack-priv static Object __le__(PyUnicode v, Object w)
__le__back to summary
pack-priv static Object __le__(String v, Object w)
__lt__back to summary
pack-priv static Object __lt__(PyUnicode v, Object w)
__lt__back to summary
pack-priv static Object __lt__(String v, Object w)
__ne__back to summary
pack-priv static Object __ne__(PyUnicode v, Object w)
__ne__back to summary
pack-priv static Object __ne__(String v, Object w)
eqback to summary
private static boolean eq(PySequence.OfInt a, PySequence.OfInt b)

Compare sequences for equality. This is a little simpler than compareTo.

Parameters
a:PySequence.OfInt

sequence

b:PySequence.OfInt

another

Returns:boolean

whether values equal