geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r502830 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/Sorting.groovy
Date Sat, 03 Feb 2007 01:37:38 GMT
Author: jdillon
Date: Fri Feb  2 17:37:37 2007
New Revision: 502830

URL: http://svn.apache.org/viewvc?view=rev&rev=502830
Log:
Home for sorting related help

Added:
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/Sorting.groovy
  (with props)

Added: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/Sorting.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/Sorting.groovy?view=auto&rev=502830
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/Sorting.groovy
(added)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/Sorting.groovy
Fri Feb  2 17:37:37 2007
@@ -0,0 +1,35 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+//
+// $Id$
+//
+
+package gbuild.system.util
+
+/**
+ * Sorting utils
+ */
+class Sorting
+{
+    static final Closure CASE_INSENSITIVE = { String a, String b ->
+        return a.toLowerCase() <=> b.toLowerCase()
+    }
+}
+

Propchange: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/Sorting.groovy
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/Sorting.groovy
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Propchange: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/util/Sorting.groovy
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message