org.drools.core.common
Class RightTupleSetsImpl
java.lang.Object
org.drools.core.common.RightTupleSetsImpl
- All Implemented Interfaces:
- RightTupleSets
- Direct Known Subclasses:
- SynchronizedRightTupleSets
public class RightTupleSetsImpl
- extends Object
- implements RightTupleSets
insertFirst
protected RightTuple insertFirst
insertSize
protected volatile int insertSize
deleteFirst
protected RightTuple deleteFirst
deleteSize
protected volatile int deleteSize
updateFirst
protected RightTuple updateFirst
updateSize
protected volatile int updateSize
RightTupleSetsImpl
public RightTupleSetsImpl()
getInsertFirst
public RightTuple getInsertFirst()
- Specified by:
getInsertFirst in interface RightTupleSets
getDeleteFirst
public RightTuple getDeleteFirst()
- Specified by:
getDeleteFirst in interface RightTupleSets
getUpdateFirst
public RightTuple getUpdateFirst()
- Specified by:
getUpdateFirst in interface RightTupleSets
resetInsert
public void resetInsert()
resetDelete
public void resetDelete()
resetUpdate
public void resetUpdate()
resetAll
public void resetAll()
- Specified by:
resetAll in interface RightTupleSets
insertSize
public int insertSize()
- Specified by:
insertSize in interface RightTupleSets
deleteSize
public int deleteSize()
- Specified by:
deleteSize in interface RightTupleSets
updateSize
public int updateSize()
- Specified by:
updateSize in interface RightTupleSets
addInsert
public boolean addInsert(RightTuple rightTuple)
- Specified by:
addInsert in interface RightTupleSets
addDelete
public boolean addDelete(RightTuple rightTuple)
- Specified by:
addDelete in interface RightTupleSets
addUpdate
public boolean addUpdate(RightTuple rightTuple)
- Specified by:
addUpdate in interface RightTupleSets
removeInsert
public void removeInsert(RightTuple rightTuple)
removeDelete
public void removeDelete(RightTuple rightTuple)
removeUpdate
public void removeUpdate(RightTuple rightTuple)
addAllInserts
public void addAllInserts(RightTupleSets tupleSets)
addAllDeletes
public void addAllDeletes(RightTupleSets tupleSets)
addAllUpdates
public void addAllUpdates(RightTupleSets tupleSets)
addAll
public void addAll(RightTupleSets source)
clear
public void clear()
takeAll
public RightTupleSets takeAll()
- Specified by:
takeAll in interface RightTupleSets
toStringSizes
public String toStringSizes()
- Specified by:
toStringSizes in interface RightTupleSets
toString
public String toString()
- Specified by:
toString in interface RightTupleSets- Overrides:
toString in class Object
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface RightTupleSets
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.