Record Class PyValue.Str
java.lang.Object
java.lang.Record
com.eco.bio7.pyffm.PyValue.Str
- All Implemented Interfaces:
PyValue
- Enclosing interface:
PyValue
-
Nested Class Summary
Nested classes/interfaces inherited from interface PyValue
PyValue.Array, PyValue.Frame, PyValue.None, PyValue.Other, PyValue.PyDict, PyValue.PyList, PyValue.StrModifier and TypeInterfaceDescriptionstatic final recordA numeric or boolean array.static final recordA table (a pandas DataFrame): the columns by name (each an Array or Str) and the row labels (null for the default 0..n-1).static final recordNone.static final recordAny other object: its type and repr (not transferable).static final recordA dict (the keys as strings, in their order).static final recordA list or tuple.static final recordStrings (null elements are None in Python). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()The first string.booleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for this object.intlength()The number of elements.toString()Returns a string representation of this record class.String[]values()Returns the value of thevaluesrecord component.
-
Constructor Details
-
Str
Creates an instance of aStrrecord class.- Parameters:
values- the value for thevaluesrecord component
-
-
Method Details
-
length
-
asString
The first string. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
hashCode
-
toString
-
values
Returns the value of thevaluesrecord component.- Returns:
- the value of the
valuesrecord component
-