Results 1 to 1 of 1
- 03-19-2012, 05:09 PM #1
Numeric priorities - which seems more intuitive to you?
One of my programs describes a system of rules, with priorities ranging from Integer.MIN_VALUE to Integer.MAX_VALUE. The default priority for everything is 0. I'm curious what prioritization order would be most intuitive to other people.
Would you assume that priority "1" is a higher/earlier priority than priority "10"?
Would you assume that priority "-10" is a higher/earlier priority than priority "10"?
I based my original ordering on ordinality, i.e., numbers closer to Integer.MIN_VALUE come first. This is also similar to UNIX 'nice', which gives lower numbers a more favorable scheduling priority. But then I confused myself with my own program, so now I don't know what to think.Get in the habit of using standard Java naming conventions!
Similar Threads
-
JXL, Numeric data issue
By only2008 in forum Java ServletReplies: 0Last Post: 02-27-2009, 11:36 AM -
Java Thread Priorities
By Moncleared in forum Advanced JavaReplies: 2Last Post: 02-16-2009, 08:16 PM -
get numeric value from a text field
By Lehane_9 in forum New To JavaReplies: 2Last Post: 06-14-2008, 03:19 AM -
How to use thread priorities
By Java Tip in forum java.langReplies: 0Last Post: 04-09-2008, 06:35 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks