Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.crosswire.common.util
Class CollectionUtil

    java.lang.Object
      org.crosswire.common.util.CollectionUtil

    public final class CollectionUtil

extends Object

Some utils to help work with Collections.

Author:
  Joe Walker [joe at eireneh dot com]
See Also:
  `for license details.
  The copyright to this program is held by it's authors.`

Constructor Summary
`private` | `CollectionUtil()` Dont do this

Method Summary
`static List` | `createList(Iterable it)` Create a List from an Iterable.
`static Set` | `createSet(Iterable it)` Create a Set from an Iterable.
`static Map` | `properties2Map(Properties prop)`
`static Map` | `properties2Map(URL propUrl)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CollectionUtil

    private CollectionUtil()

  Dont do this

Method Detail

### createList

    public static List createList(Iterable it)

  Create a List from an Iterable.

  Parameters:
    `it` - The source of data for the list
  Returns:
    List

### createSet

    public static Set createSet(Iterable it)

  Create a Set from an Iterable.

  Parameters:
    `it` - The source of data for the list
  Returns:
    the created set

### properties2Map

    public static Map properties2Map(Properties prop)

### properties2Map

    public static Map properties2Map(URL propUrl)
                              throws IOException

  Throws:
    `IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Copyright ? 2003-2006
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD