Package org.drools.core.common
Class ObjectStoreWrapper
- java.lang.Object
-
- org.drools.core.common.ObjectStoreWrapper
-
- All Implemented Interfaces:
java.lang.Iterable,java.util.Collection
public class ObjectStoreWrapper extends java.lang.Object implements java.util.Collection
-
-
Field Summary
Fields Modifier and Type Field Description static intFACT_HANDLEorg.kie.api.runtime.ObjectFilterfilterstatic intOBJECTObjectStorestoreinttype
-
Constructor Summary
Constructors Constructor Description ObjectStoreWrapper(ObjectStore store, org.kie.api.runtime.ObjectFilter filter, int type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(java.lang.Object o)booleanaddAll(java.util.Collection c)voidclear()booleancontains(java.lang.Object object)booleancontainsAll(java.util.Collection c)booleanisEmpty()java.util.Iterator<?>iterator()booleanremove(java.lang.Object o)booleanremoveAll(java.util.Collection c)booleanretainAll(java.util.Collection c)intsize()java.lang.Object[]toArray()java.lang.Object[]toArray(java.lang.Object[] array)java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
store
public ObjectStore store
-
filter
public org.kie.api.runtime.ObjectFilter filter
-
type
public int type
-
OBJECT
public static final int OBJECT
- See Also:
- Constant Field Values
-
FACT_HANDLE
public static final int FACT_HANDLE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ObjectStoreWrapper
public ObjectStoreWrapper(ObjectStore store, org.kie.api.runtime.ObjectFilter filter, int type)
-
-
Method Detail
-
contains
public boolean contains(java.lang.Object object)
- Specified by:
containsin interfacejava.util.Collection
-
containsAll
public boolean containsAll(java.util.Collection c)
- Specified by:
containsAllin interfacejava.util.Collection
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfacejava.util.Collection
-
size
public int size()
- Specified by:
sizein interfacejava.util.Collection
-
iterator
public java.util.Iterator<?> iterator()
- Specified by:
iteratorin interfacejava.util.Collection- Specified by:
iteratorin interfacejava.lang.Iterable
-
toArray
public java.lang.Object[] toArray()
- Specified by:
toArrayin interfacejava.util.Collection
-
toArray
public java.lang.Object[] toArray(java.lang.Object[] array)
- Specified by:
toArrayin interfacejava.util.Collection
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
add
public boolean add(java.lang.Object o)
- Specified by:
addin interfacejava.util.Collection
-
addAll
public boolean addAll(java.util.Collection c)
- Specified by:
addAllin interfacejava.util.Collection
-
clear
public void clear()
- Specified by:
clearin interfacejava.util.Collection
-
remove
public boolean remove(java.lang.Object o)
- Specified by:
removein interfacejava.util.Collection
-
removeAll
public boolean removeAll(java.util.Collection c)
- Specified by:
removeAllin interfacejava.util.Collection
-
retainAll
public boolean retainAll(java.util.Collection c)
- Specified by:
retainAllin interfacejava.util.Collection
-
-