Commit Graph

424 Commits

Author SHA1 Message Date
Sam Harwell 6aa4042c00 Updated collections 2013-02-18 19:59:15 -06:00
Sam Harwell 5326ad4f26 Use IRecognizer interface 2013-02-18 19:56:57 -06:00
Sam Harwell f35b3ec806 Updated collections in Transition 2013-02-18 19:56:11 -06:00
Sam Harwell 8ac4d130a8 Use IRecognizer interface in exceptions 2013-02-18 19:38:59 -06:00
Sam Harwell 7ab35ea063 Fix IEnumerator usage 2013-02-18 19:37:26 -06:00
Sam Harwell 4fd4a4f1d7 Add State and InputStream to the IRecognizer interface 2013-02-18 19:37:10 -06:00
Sam Harwell 293990009d Merge branch 'sharpen' 2013-02-18 19:34:42 -06:00
Sam Harwell c865930973 Updated annotations in RecognitionException 2013-02-18 19:34:29 -06:00
Sam Harwell 5081a4c0b4 Fix loop variable references 2013-02-18 18:53:25 -06:00
Sam Harwell 1650c4fff3 List and Set usage 2013-02-18 18:33:42 -06:00
Sam Harwell be53840add Dictionary usage 2013-02-18 18:30:00 -06:00
Sam Harwell b405ea3f72 Initial BitSet implementation stub 2013-02-18 18:27:55 -06:00
Sam Harwell 7cddac8498 Convert int to enum by cast 2013-02-18 18:27:21 -06:00
Sam Harwell 8aa9ff38bb Merge branch 'sharpen' 2013-02-18 17:18:30 -06:00
Sam Harwell b12aff16b0 BitArray isn't a good replacement for BitSet, will need to provide a proper implementation 2013-02-18 17:17:17 -06:00
Sam Harwell a6bd78893d Map NoSuchElementException to InvalidOperationException 2013-02-18 17:13:51 -06:00
Sam Harwell 1a44b8e759 The override keyword should not be generated for interface implementations when -separateInterfaceConstants is specified 2013-02-18 17:11:58 -06:00
Sam Harwell 15a97b41b6 Updated properties in ATNConfigSet 2013-02-18 17:09:47 -06:00
Sam Harwell af5057c2d7 Fix generic method signature 2013-02-18 17:02:08 -06:00
Sam Harwell e2c5a77be5 Add required explicit interface implementations 2013-02-18 15:31:24 -06:00
Sam Harwell 45dd95e901 Update ParseTreeProperty implementation using a ConcurrentDictionary for the backing store 2013-02-18 15:28:30 -06:00
Sam Harwell d55c2176e1 Add DictionaryExtensions and ListExtensions 2013-02-18 15:27:51 -06:00
Sam Harwell 24b211b405 string.Join 2013-02-18 14:52:05 -06:00
Sam Harwell 7d1f1ebac7 Specify generic type constraint 2013-02-18 14:50:10 -06:00
Sam Harwell 5dadcca1ff Nullable and NotNull Annotations apply to return values, not methods 2013-02-18 14:24:14 -06:00
Sam Harwell 47f1171707 Error listener interface support 2013-02-18 13:28:20 -06:00
Sam Harwell ee0f26b19d Merge branch 'sharpen' 2013-02-18 13:16:09 -06:00
Sam Harwell 2d3fc09ba2 Add and use the -separateInterfaceConstants option 2013-02-18 13:14:07 -06:00
Sam Harwell aaa7adf598 Updated sharpen submodule 2013-02-18 10:51:09 -06:00
Sam Harwell 1ffb975f0d Default visibility for methods in interfaces converted to C# classes is public, not internal 2013-02-18 09:04:56 -06:00
Sam Harwell a821357697 List instead of IList so we can use ToArray 2013-02-18 08:22:34 -06:00
Sam Harwell af94caec5f SortedDictionary instead of LinkedHashMap 2013-02-18 08:22:06 -06:00
Sam Harwell 4b92e747a4 Add Arrays.Fill 2013-02-18 08:21:15 -06:00
Sam Harwell 7becde5c7b Add Collections.EmptyList and EmptyMap 2013-02-17 21:29:26 -06:00
Sam Harwell 644db625da Add IRecognizer interface to help with some issues with generics 2013-02-17 21:22:16 -06:00
Sam Harwell 6b4f1a32fc Fix implementation of RemoveAll 2013-02-17 21:03:08 -06:00
Sam Harwell 458c6871b7 Merge branch 'sharpen' 2013-02-17 21:00:53 -06:00
Sam Harwell a7df354202 Updated mappings for Predicate, Func0, and Func1 2013-02-17 20:59:53 -06:00
Sam Harwell 0a1f1f7e43 Add AtomicReference<T> 2013-02-17 20:56:48 -06:00
Sam Harwell a3114c3149 AddItem to Add 2013-02-17 20:36:36 -06:00
Sam Harwell e2fd234f98 IDeque and ArrayDeque to Stack 2013-02-17 20:35:43 -06:00
Sam Harwell bbff99c6e1 IsEmpty() to Count==0 2013-02-17 20:34:36 -06:00
Sam Harwell 9135606c15 Fix generics usage 2013-02-17 20:26:20 -06:00
Sam Harwell b4f8cf53bb Use Stack instead of IDeque and ArrayDeque 2013-02-17 20:20:03 -06:00
Sam Harwell 63298979f5 Merge branch 'sharpen' 2013-02-17 15:45:03 -06:00
Sam Harwell 9a3d80d115 Remove files from project (to match previous changes) 2013-02-17 15:43:52 -06:00
Sam Harwell 852a06bab7 Merge branch 'sharpen' 2013-02-17 15:42:40 -06:00
Sam Harwell b9518b9b52 @sharpen.ignore Func0, Func1, Predicate 2013-02-17 15:42:22 -06:00
Sam Harwell e5df777393 Replace Collections.EmptyList() with a new zero-length array 2013-02-17 15:37:48 -06:00
Sam Harwell ba0e345fcc Fix signatures of generic methods in Parser 2013-02-17 15:36:24 -06:00