Class PythonLikeFrozenSet
java.lang.Object
ai.timefold.jpyinterpreter.types.AbstractPythonLikeObject
ai.timefold.jpyinterpreter.types.collections.PythonLikeFrozenSet
- All Implemented Interfaces:
PythonLikeObject,Iterable<PythonLikeObject>,Collection<PythonLikeObject>,Set<PythonLikeObject>
-
Field Summary
FieldsFields inherited from class ai.timefold.jpyinterpreter.types.AbstractPythonLikeObject
OBJECT_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(PythonLikeObject pythonLikeObject) booleanaddAll(Collection<? extends PythonLikeObject> collection) voidclear()booleanbooleancontainsAll(Collection<?> collection) containsItem(PythonLikeObject query) copy()difference(PythonLikeFrozenSet other) difference(PythonLikeSet other) booleaninthashCode()intersection(PythonLikeFrozenSet other) intersection(PythonLikeSet other) isDisjoint(PythonLikeFrozenSet other) isDisjoint(PythonLikeSet other) booleanisEmpty()isStrictSubset(PythonLikeSet other) isStrictSuperset(PythonLikeSet other) isSubset(PythonLikeFrozenSet other) isSubset(PythonLikeSet other) isSuperset(PythonLikeFrozenSet other) isSuperset(PythonLikeSet other) iterator()booleanbooleanremoveAll(Collection<?> collection) booleanretainAll(Collection<?> collection) voidreverseAdd(PythonLikeObject item) intsize()symmetricDifference(PythonLikeSet other) Object[]toArray()<T> T[]toArray(T[] ts) union(PythonLikeFrozenSet other) union(PythonLikeSet other) Methods inherited from class ai.timefold.jpyinterpreter.types.AbstractPythonLikeObject
$deleteAttribute, $getAttributeOrNull, $getType, $setAttribute, getExtraAttributeMap, setAttribute, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface ai.timefold.jpyinterpreter.PythonLikeObject
$getAttributeOrError, $getGenericType, $method$__delattr__, $method$__eq__, $method$__format__, $method$__format__, $method$__getattribute__, $method$__ne__, $method$__repr__, $method$__setattr__, $method$__str__Methods inherited from interface java.util.Set
spliterator
-
Field Details
-
delegate
-
-
Constructor Details
-
PythonLikeFrozenSet
public PythonLikeFrozenSet() -
PythonLikeFrozenSet
-
-
Method Details
-
reverseAdd
-
getLength
-
containsItem
-
getIterator
-
isDisjoint
-
isDisjoint
-
isSubset
-
isSubset
-
isStrictSubset
-
isStrictSubset
-
isSuperset
-
isSuperset
-
isStrictSuperset
-
isStrictSuperset
-
union
-
union
-
intersection
-
intersection
-
difference
-
difference
-
symmetricDifference
-
symmetricDifference
-
copy
-
size
public int size()- Specified by:
sizein interfaceCollection<PythonLikeObject>- Specified by:
sizein interfaceSet<PythonLikeObject>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<PythonLikeObject>- Specified by:
isEmptyin interfaceSet<PythonLikeObject>
-
contains
- Specified by:
containsin interfaceCollection<PythonLikeObject>- Specified by:
containsin interfaceSet<PythonLikeObject>
-
iterator
- Specified by:
iteratorin interfaceCollection<PythonLikeObject>- Specified by:
iteratorin interfaceIterable<PythonLikeObject>- Specified by:
iteratorin interfaceSet<PythonLikeObject>
-
toArray
- Specified by:
toArrayin interfaceCollection<PythonLikeObject>- Specified by:
toArrayin interfaceSet<PythonLikeObject>
-
toArray
public <T> T[] toArray(T[] ts) - Specified by:
toArrayin interfaceCollection<PythonLikeObject>- Specified by:
toArrayin interfaceSet<PythonLikeObject>
-
containsAll
- Specified by:
containsAllin interfaceCollection<PythonLikeObject>- Specified by:
containsAllin interfaceSet<PythonLikeObject>
-
add
- Specified by:
addin interfaceCollection<PythonLikeObject>- Specified by:
addin interfaceSet<PythonLikeObject>
-
remove
- Specified by:
removein interfaceCollection<PythonLikeObject>- Specified by:
removein interfaceSet<PythonLikeObject>
-
addAll
- Specified by:
addAllin interfaceCollection<PythonLikeObject>- Specified by:
addAllin interfaceSet<PythonLikeObject>
-
removeAll
- Specified by:
removeAllin interfaceCollection<PythonLikeObject>- Specified by:
removeAllin interfaceSet<PythonLikeObject>
-
retainAll
- Specified by:
retainAllin interfaceCollection<PythonLikeObject>- Specified by:
retainAllin interfaceSet<PythonLikeObject>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<PythonLikeObject>- Specified by:
clearin interfaceSet<PythonLikeObject>
-
equals
- Specified by:
equalsin interfaceCollection<PythonLikeObject>- Specified by:
equalsin interfaceSet<PythonLikeObject>- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection<PythonLikeObject>- Specified by:
hashCodein interfaceSet<PythonLikeObject>- Overrides:
hashCodein classObject
-
$method$__hash__
- Specified by:
$method$__hash__in interfacePythonLikeObject
-