Drools :: Core 6.0.0.Beta5

org.drools.core.common
Class RightTupleSetsImpl

java.lang.Object
  extended by org.drools.core.common.RightTupleSetsImpl
All Implemented Interfaces:
RightTupleSets
Direct Known Subclasses:
SynchronizedRightTupleSets

public class RightTupleSetsImpl
extends Object
implements RightTupleSets


Field Summary
protected  RightTuple deleteFirst
           
protected  int deleteSize
           
protected  RightTuple insertFirst
           
protected  int insertSize
           
protected  RightTuple updateFirst
           
protected  int updateSize
           
 
Constructor Summary
RightTupleSetsImpl()
           
 
Method Summary
 void addAll(RightTupleSets source)
           
 void addAllDeletes(RightTupleSets tupleSets)
           
 void addAllInserts(RightTupleSets tupleSets)
           
 void addAllUpdates(RightTupleSets tupleSets)
           
 boolean addDelete(RightTuple rightTuple)
           
 boolean addInsert(RightTuple rightTuple)
           
 boolean addUpdate(RightTuple rightTuple)
           
 void clear()
           
 int deleteSize()
           
 RightTuple getDeleteFirst()
           
 RightTuple getInsertFirst()
           
 RightTuple getUpdateFirst()
           
 int insertSize()
           
 boolean isEmpty()
           
 void removeDelete(RightTuple rightTuple)
           
 void removeInsert(RightTuple rightTuple)
           
 void removeUpdate(RightTuple rightTuple)
           
 void resetAll()
           
 void resetDelete()
           
 void resetInsert()
           
 void resetUpdate()
           
 RightTupleSets takeAll()
           
 String toString()
           
 String toStringSizes()
           
 int updateSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

RightTupleSetsImpl

public RightTupleSetsImpl()
Method Detail

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

Drools :: Core 6.0.0.Beta5

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.