public class Scalar extends CustomPythonObject implements HasArray, HasContent<List<?>>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Method and Description |
|---|---|
void |
__init__(Object[] args) |
void |
clearContent() |
List<?> |
getArrayContent() |
int[] |
getArrayShape() |
DType |
getArrayType() |
List<?> |
getContent() |
DType |
getDType() |
byte[] |
getObj() |
Object |
getOnlyElement() |
__getstate__, __setstate__, __setstate__get, getArray, getArray, getArray, getArrayShape, getArrayShape, getBoolean, getBooleanArray, getClassName, getDict, getInteger, getIntegerArray, getList, getList, getListLike, getListLike, getNumber, getNumberArray, getObject, getOptional, getOptionalBoolean, getOptionalObject, getOptionalScalar, getOptionalString, getPythonModule, getPythonName, getPythonObject, getScalar, getString, getTuple, getTupleList, setClassNameclear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic void __init__(Object[] args)
__init__ in class CustomPythonObjectpublic List<?> getArrayContent()
getArrayContent in interface HasArraypublic int[] getArrayShape()
getArrayShape in interface HasArraypublic DType getArrayType()
getArrayType in interface HasArraypublic Object getOnlyElement()
public List<?> getContent()
getContent in interface HasContent<List<?>>public void clearContent()
clearContent in interface HasContent<List<?>>public DType getDType()
public byte[] getObj()
Copyright © 2023. All rights reserved.