|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.abora.gold.java.AboraHeaper
|
+--org.abora.gold.xpp.basic.Heaper
|
+--org.abora.gold.props.PropChange
|
+--org.abora.gold.props.FullPropChange
Use this to indicate that all aspects of the Prop may have changed.
| Field Summary |
| Fields inherited from class org.abora.gold.props.PropChange |
TheBertPropChange, TheCannotPartializeChange, TheDetectorWaitingChange, TheEndorsementsChange, ThePermissionsChange, TheSensorPropChange |
| Fields inherited from class org.abora.gold.xpp.basic.Heaper |
AllBlasts, BecomeMap, GarbageCount, InGC, InitializedClasses, InitializingClasses, LastMemory, NextClientRequestNumber, NotOneElementSignal, PackageTable, PromiseNameTable, StringHashSBoxes |
| Fields inherited from class org.abora.gold.java.AboraHeaper |
ActiveClubs, CurrentAuthor, CurrentBertCanopyCache, CurrentBertCrum, CurrentChunk, CurrentGrandMap, CurrentKeyMaster, CurrentPacker, CurrentSensorCanopyCache, CurrentServer, CurrentSession, CurrentSessions, CurrentTrace, InitialEditClub, InitialOwner, InitialReadClub, InitialSponsor, InsideTransactionFlag |
| Constructor Summary | |
FullPropChange()
|
|
| Method Summary | |
boolean |
areEqualPropJoints(PropJoint a,
PropJoint b)
compare the changed parts of two PropJoints |
boolean |
areEqualProps(Prop a,
Prop b)
compare the changed parts of two Props |
Prop |
changed(Prop old,
Prop a)
Return a Prop which is the same as 'old' for aspects which I don't represent as changing, and 'a' for aspects that I do represent as changing. This is used to replace Props with minimum effort, given that the 'a' parameter has only new props which are of the aspect this change replaces, while the 'old' parameter starts as the original set of Props, perhaps including other aspects. See also: with:with:, which unions rather than replacing. |
PropJoint |
changedJoint(PropJoint old,
PropJoint a)
Return a PropJoint which is the same as 'old' for aspects which I don't represent as changing, and 'a' for aspects that I do represent as changing. This is used to replace PropJoints with minimum effort, given that the 'a' parameter has only new PropJoints which are of the aspect this change replaces, while the 'old' parameter starts as the original set of PropJoints, perhaps including other aspects. See also: change:with:, which does this for Props rather than PropJoints. |
PropFinder |
fetchFinder(Prop before,
Prop after,
BeRangeElement element,
PropFinder oldFinder)
return a finder looking for this change from before to after, in addition to whatever oldFinder is looking for (assumes this changes is a subset of oldFinder's change) |
boolean |
isEqualToJointOf(PropJoint a,
Prop b)
compare the changed parts of a PropJoint and a Prop |
boolean |
isFull()
whether this is a complete change of props |
PropJoint |
join(PropJoint old,
PropJoint a,
PropJoint b)
combine two PropJoints with minimum effort, given the previous result |
PropJoint |
joinProp(PropJoint old,
PropJoint a,
PropJoint b,
Prop prop)
combine two PropJoints and a prop with minimum effort, given the previous result |
Prop |
with(Prop old,
Prop a)
Return a Prop which is the same as 'old' for aspects which I don't represent as changing, and the union of 'old' and 'a' for aspects that I do represent as changing. This is used to accumulate changes to Props with minimum effort, given that the 'a' parameter has only new props which are of the aspect this change changes, while the 'old' parameter starts as the original set of Props, perhaps including other aspects. See also changed:with:, which replaces rather than unioning. |
| Methods inherited from class org.abora.gold.props.PropChange |
actualHashForEqual, bertPropChange, cannotPartializeChange, detectorWaitingChange, endorsementsChange, fetchFinder, fetchFinder, finderPartFrom, initTimeNonInherited, isEqual, linkTimeNonInherited, permissionsChange, sensorPropChange |
| Methods inherited from class org.abora.gold.java.AboraHeaper |
asOop, basicInspect, displayString, error, hack, halt, inspect, knownBug, mightNotImplement, REQUIRES, shouldImplement, shouldNotImplement, stubbleForSubclassResponsibility, thingToDo, willNotImplement |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FullPropChange()
| Method Detail |
public boolean areEqualProps(Prop a,
Prop b)
areEqualProps in class PropChange
public Prop changed(Prop old,
Prop a)
PropChange
changed in class PropChange
public PropFinder fetchFinder(Prop before,
Prop after,
BeRangeElement element,
PropFinder oldFinder)
PropChange
fetchFinder in class PropChangepublic boolean isFull()
isFull in class PropChange
public Prop with(Prop old,
Prop a)
PropChange
with in class PropChange
public boolean areEqualPropJoints(PropJoint a,
PropJoint b)
areEqualPropJoints in class PropChange
public PropJoint changedJoint(PropJoint old,
PropJoint a)
PropChange
changedJoint in class PropChange
public boolean isEqualToJointOf(PropJoint a,
Prop b)
isEqualToJointOf in class PropChange
public PropJoint join(PropJoint old,
PropJoint a,
PropJoint b)
join in class PropChange
public PropJoint joinProp(PropJoint old,
PropJoint a,
PropJoint b,
Prop prop)
joinProp in class PropChange
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||