org.nodal.util
Class SeqUtil

java.lang.Object
  extended byorg.nodal.util.SeqUtil

public final class SeqUtil
extends java.lang.Object

A utility class for providing the Seq interface to a variety of sources.

Author:
Lee Iverson

Constructor Summary
SeqUtil()
           
 
Method Summary
static Seq create(java.lang.Object v)
          Create a Seq interface for an arbitrary Object.
static Seq create(java.lang.Object[] a)
          Create an Seq interface for an Object[] array.
static Seq create(java.util.Vector v)
          Create a Seq interface for a Vector.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeqUtil

public SeqUtil()
Method Detail

create

public static final Seq create(java.lang.Object v)
                        throws ConstraintFailure
Create a Seq interface for an arbitrary Object.

Throws:
ConstraintFailure

create

public static final Seq create(java.lang.Object[] a)
Create an Seq interface for an Object[] array.


create

public static final Seq create(java.util.Vector v)
Create a Seq interface for a Vector.