public abstract class PythonObject
extends net.razorvine.pickle.objects.ClassDict
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PythonObject(String module,
String name) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsValue, entrySet, forEach, getOrDefault, isEmpty, keySet, merge, putIfAbsent, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic String getPythonModule()
public String getPythonName()
public String getClassName()
getClassName in class net.razorvine.pickle.objects.ClassDictpublic PythonObject setClassName(String className)
public boolean containsKey(Object key)
containsKey in interface Map<String,Object>containsKey in class HashMap<String,Object>public boolean hasattr(String name)
public void delattr(String name)
public Identifiable getIdentifiable(String name)
public Identifiable getOptionalIdentifiable(String name)
public <E> E getEnum(String name, com.google.common.base.Function<String,E> function, Collection<E> values)
public <E> E getOptionalEnum(String name, com.google.common.base.Function<String,E> function, Collection<E> values)
public int[] getArrayShape(String name)
public int[] getArrayShape(String name, int length)
public static String formatValues(Collection<?> values)
Copyright © 2024. All rights reserved.