mdb
3fed034271
Added toShortArray().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1061 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-03-04 19:05:43 +00:00
mdb
338080a401
Handy class for keeping a key+value in a sorted list or other set-like
...
circumstance.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1059 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-02-27 00:43:32 +00:00
mdb
2b4f746c68
Return a stable value for wacky comparisons.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1058 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-02-18 18:30:57 +00:00
mdb
786a189943
Implement Comparable.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1057 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-02-18 18:22:50 +00:00
mdb
3da6133690
Added splice(short[], ...); preserve object array type in append().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1056 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-02-10 22:01:46 +00:00
mdb
c76e944254
Report no such field errors.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1055 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-02-10 22:01:06 +00:00
mdb
bf0b4a4999
Add support for parsing shorts.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1054 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-02-06 22:47:41 +00:00
mdb
1e83eecb2a
We'll be wantin' the size as well.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1053 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-02-06 20:02:14 +00:00
mdb
375d4f8756
Add primitive iteration capabilities.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1052 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-02-06 20:00:05 +00:00
mdb
d58a485c03
Get yer integer to object mappings, cheap!
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1051 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-02-06 19:57:29 +00:00
mdb
b9e2c2c0e5
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1050 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-02-06 18:51:50 +00:00
mdb
f155af12d6
Add support for custom toString() methods on a per-field basis. It's slow,
...
but it's damned cool!
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1049 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-02-05 00:20:35 +00:00
mdb
d6aee14e80
Moved a bunch of int[] specific stuff to IntListUtil.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1048 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-02-04 03:12:30 +00:00
mdb
84abf220b6
Added parseByteArray(). Ah the slow path to demand driven orthogonality.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1047 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-02-04 03:01:28 +00:00
mdb
0a8bbbb2aa
Added parseShortArray().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1046 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-02-03 18:26:38 +00:00
mdb
35b5eb3477
Added getServletURL().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1045 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-02-03 03:46:32 +00:00
samskivert@gmail.com
8c7b6e251e
Added ability to copy ourselves into another array at an offset.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1044 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-31 02:27:48 +00:00
mdb
d969878d8c
Do debug logging like a good rule.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1043 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-31 02:27:30 +00:00
mdb
4b0fc9777e
Support short[] in toString().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1042 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-31 02:27:01 +00:00
ray
5d10ff9960
Added a CommandButton which submits CommandEvents when it fires actions.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1041 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-29 22:20:14 +00:00
mdb
285e2dbd2c
Added support for byte fields.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1040 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-29 10:34:06 +00:00
mdb
ed08d46f3f
Use JAVA_LIBS now instead of old hardcoded business.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1039 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-28 22:40:59 +00:00
mdb
bc72a70c9f
Added support for an exclusion regexp.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1038 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-28 22:39:35 +00:00
mdb
d2187ef067
Added a version of join() that uses a user supplied separator.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1036 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-24 00:31:50 +00:00
mdb
d106c918ce
Added support for float[].
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1033 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-22 01:41:17 +00:00
mdb
a47caf48cb
A container for keeping a list of recent objects.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1032 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-21 21:46:31 +00:00
ray
2fd74dc829
Added a FileAdjust that lets you select files or directories
...
and store the path in a String preference.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1031 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-20 20:06:33 +00:00
mdb
3efdabe2c0
Cope with null _elements in toArray().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1030 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-18 02:41:19 +00:00
mdb
afb44726b5
Added getMaxSize().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1029 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-17 02:02:28 +00:00
mdb
fff6b8d68e
Added setMaxSize().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1028 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-17 02:01:05 +00:00
mdb
0c972d8bf9
Added sum().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1027 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-17 01:27:16 +00:00
mdb
1e6d49414b
Added ability for LRU hash map to support computed "sizes" for items which
...
will be accounted for when keeping the map under its target "size". Had to
rearchitect it to delegate to the LinkedHashMap because HashMap doesn't
expose the necessary helper methods to allow us to accomplish what we need
as a derived class. Additionally, the keySet(), values() and entrySet()
methods return read-only collections because supporting modification
through those interfaces would dramatically increase complexity.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1026 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-17 00:40:45 +00:00
mdb
50201e804c
Canned in favor of LRU+regular hash map approach.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1025 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-17 00:22:43 +00:00
mdb
492cf45c4c
Not to freak out if we have no previous value.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1024 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-15 22:11:18 +00:00
mdb
6b7ca47d05
Add a little border now that we're in a tabbed pane.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1023 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-15 03:28:17 +00:00
mdb
d63a1d9022
Use a tabbed pane.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1022 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-15 03:24:53 +00:00
mdb
a99b1b7603
Added an "adjustment" that simply fires an action.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1021 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-15 02:29:23 +00:00
mdb
33a8363161
Make the getValue() methods final so that they may be optimized.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1020 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-15 01:41:25 +00:00
shaper
373b844cb2
Deal gracefully with systems running with a headless AWT toolkit, or
...
general failure to obtain the graphics environment or other video
information.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1019 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-15 01:27:44 +00:00
mdb
c8be8e49f7
Javadoc additions.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1018 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-15 01:25:55 +00:00
mdb
2ed48e964a
Added levelToString().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1017 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-15 01:23:21 +00:00
mdb
5109821d5c
A test app for the runtime adjustment stuff.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1016 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-15 00:47:06 +00:00
mdb
0daf5da468
Created services for creating debug "variables" that can be toggled at
...
runtime (and automatically persist via the Config services). This can
additionally be used to make visible an interface for editing existing
Config preferences, but bearing in mind that this is purely for programmer
handyness and not intended as an end user interface.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1015 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-15 00:46:49 +00:00
mdb
496252158d
No need to complain if we don't find our properties file.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1014 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-15 00:45:22 +00:00
mdb
e93a3b5264
Allow any abstract button as a trigger.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1013 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-15 00:17:37 +00:00
mdb
bcb0f95dd5
Should be dirty to start.
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1012 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-15 00:17:23 +00:00
shaper
d87940ab7b
Provide os-, jvm-, memory- and video- specific variants of toString().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1011 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-14 22:31:27 +00:00
shaper
c4fc394c3d
Added SystemInfo record that gathers a variety of interesting system
...
statistics and provides a facility for updating the statistics and
obtaining a concise human-readable string presentation.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1010 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-14 22:07:06 +00:00
mdb
e02c31a718
Added getSystemProperty().
...
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1009 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-12 00:49:22 +00:00
shaper
aeb225d7ad
Made SwingUtil.refresh() take a JComponent rather than a JPanel so that we
...
can make use of it in the most generic circumstances.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@1008 6335cc39-0255-0410-8fd6-9bcaacd3b74c
2003-01-11 00:44:53 +00:00