edu.rice.cs.util

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE » DrJava » edu.rice.cs.util 
edu.rice.cs.util
A collection of utility classes and packages.
Java Source File NameTypeComment
ArgumentTokenizer.javaClass Utility class which can tokenize a String into a list of String arguments, with behavior similar to parsing command line arguments to a program.
ArgumentTokenizerTest.javaClass Tests that an ArgumentTokenizer can correctly divide up a string into command line-style arguments.
BidirectionalHashMap.javaClass
BidirectionalHashMapTest.javaClass A JUnit test case class.
CompletionMonitor.javaClass Enables threads to communicate with each other by signaling.
CompletionMonitorTest.javaClass
DirectorySelector.javaInterface An interface to give GlobalModel a directory for various operations.
ExitingNotAllowedException.javaClass An exception to be thrown when System.exit is called when the PreventExitSecurityManager is in force.
FileOpenSelector.javaInterface An interface for a GUI frame that opens files.
FileOps.javaClass A class to provide some convenient file operations as static methods.
FileOpsTest.javaClass Test cases for FileOps .
InputStreamRedirector.javaClass Redirects requests for input through the abstract method _getInput().
Lambda.javaInterface This lambda interface is a generic version of the scheme lambda.
Log.javaClass Logging class to record errors or unexpected behavior to a file.
LogTest.javaClass Test cases for Log .
NullFile.javaClass A null file.
OperationCanceledException.javaClass Indicates that a GUI operation has been canceled, e.g., choosing a file to save to from a file selection dialog.
OrderedBidirectionalHashMap.javaClass
OrderedBidirectionalHashMapTest.javaClass A JUnit test case class.
OrderedHashSet.javaClass A set class patterned after HashSet except that the construction order for elements is scrupulously maintained for the sake of supporting obvious list operations based on construction order (addition to the set).
OrderedHashSetTest.javaClass A JUnit test case class.
OutputStreamRedirector.javaClass Allows an output stream, such as System.out and System.err, to be redirected to another stream.
Pair.javaClass A pair.
PreventExitSecurityManager.javaClass Not used anymore.
PreventExitSecurityManagerTest.javaClass Test cases for PreventExitSecurityManager .
ReaderWriterLock.javaClass This class implements synchronization primitives to solve the classic readers/writers problem without allowing deadlock or starvation.

Problem: Suppose multiple threads want to read and write to a resource. Multiple readers can be active at a time, but only a single writer can be active at a time, and no readers can be active while the writer is active.

We must be careful to avoid starvation in our solution, so that a steady flow of reader threads cannot block waiting writer threads indefinitely. This can be achieved by imposing an ordering on the incoming readers and writers.

To use this class, instantiate a ReaderWriterLock in the class holding the shared resource.

ReaderWriterLockTest.javaClass Attempts to test the correctness of the ReaderWriterLock class, which allows multiple reader and writer threads to safely access a shared resource.
SRunnable.javaInterface
StreamRedirectorTest.javaClass Test suite over InputStreamRedirector.
StreamRedirectThread.javaClass StreamRedirectThread is a thread which copies its input to its output and terminates when it completes.
StringOps.javaClass A class to provide some convenient String operations as static methods.
StringOpsTest.javaClass Test functions of StringOps.
UnexpectedException.javaClass An exception which DrJava throws on an unexpected error. Many times, we have to catch BadLocationExceptions in code that accesses DefinitionDocument, even if we know for a fact that a BadLocationException cannot occur.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.