lp:~psmay/+junk/hgk-util-java

Created by Peter S. May and last modified
Get this branch:
bzr branch lp:~psmay/+junk/hgk-util-java
Only Peter S. May can upload to this branch. If you are Peter S. May please log in for upload directions.

Related bugs

Related blueprints

Branch information

Owner:
Peter S. May
Status:
Development

Recent revisions

27. By Peter S. May <pmay@pmay-desktop>

* FastRefMemoBox.java: Minor initialization fix

26. By Peter S. May <pmay@pmay-desktop>

* FastRefMemoBox.java: Unsynchronized ref memo box.
* SafeRefMemoBox.java: Removed reset() method since it nullifies the class's suggested guarantee.

25. By Peter S. May <pmay@pmay-desktop>

* SafeRefMemoBox.java: Box for soft constants.

24. By Peter S. May <pmay@pmay-desktop>

General cleanup.

* Throws.java
* Boxes.java
 classes offload from LangUtil

* Colls.java
* Langs.java
 sharpened names

Other classes modified in this pass are generally in reaction to the above.

23. By Peter S. May <pmay@pmay-desktop>

* SingletonBox.java: Ditched in favor of *MemoBox.
* FastMemoBox.java: Non-thread-safe memoizing box for single-threaded use.
* SafeMemoBox.java: Thread-safe memoizing box for multi-threaded use.
* LangUtil.java: Added box() to simply box any object.
* SyncBox.java: Altered attitude; it is now also a wrapper that allows atomic-style operations (such as test-and-set).

22. By Peter S. May <pmay@pmay-desktop>

* LangUtil.java: Added set method, which is probably better than ensure usually.
* SingletonBox.java: Doc updates.
* CharSequenceReader.java: Evened out construct/recast. All now have 0, 1, and 3-arg forms.

21. By Peter S. May <http://psmay.com/>

WriteBox
 Interface changed to make set a void since many of its applications have no practical use for a return value.

ArrayElementBox
MutableBox
NullWriteBox
SyncBox
AbstractBoxCollection
BasicBoxCollection
CompositeBox
 Updated for change in WriteBox.

20. By Peter S. May <http://psmay.com/>

* CharSequenceReader.java: Synchronization in this class was clunky and not terribly meaningful, so I stripped it out in favor of a less thread-safe approach. There may be some external means of sync later.

19. By Peter S. May <pmay@pmay-desktop>

* CharSequenceReader.java: Much closer to complete.

18. By Peter S. May <http://psmay.com/>

* CharSequenceReader.java: Completed implementation proper. Docs still need work.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers