jwutil.collections
Class Tuples

java.lang.Object
  extended by java.util.AbstractCollection
      extended by jwutil.collections.Tuples
All Implemented Interfaces:
java.lang.Iterable, java.util.Collection
Direct Known Subclasses:
TuplesArray

public abstract class Tuples
extends java.util.AbstractCollection

Tuples

Version:
$Id: Tuples.java 2146 2005-01-24 23:53:38Z joewhaley $
Author:
jwhaley

Nested Class Summary
static interface Tuples.Interface
           
static interface Tuples.S1
           
static interface Tuples.S2
           
static interface Tuples.S3
           
static interface Tuples.S4
           
 
Constructor Summary
Tuples()
           
 
Method Summary
abstract  int add(int[] a)
           
 void dump(java.io.BufferedWriter out)
           
 void dump(java.lang.String prefix, java.io.BufferedWriter out)
           
 java.util.Iterator iterator()
           
abstract  int size()
           
 java.lang.String toString()
           
abstract  TupleIterator tupleIterator()
           
abstract  int tupleSize()
           
 
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Constructor Detail

Tuples

public Tuples()
Method Detail

add

public abstract int add(int[] a)

tupleIterator

public abstract TupleIterator tupleIterator()

size

public abstract int size()
Specified by:
size in interface java.util.Collection
Specified by:
size in class java.util.AbstractCollection

tupleSize

public abstract int tupleSize()

dump

public void dump(java.io.BufferedWriter out)
          throws java.io.IOException
Throws:
java.io.IOException

dump

public void dump(java.lang.String prefix,
                 java.io.BufferedWriter out)
          throws java.io.IOException
Throws:
java.io.IOException

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface java.lang.Iterable
Specified by:
iterator in interface java.util.Collection
Specified by:
iterator in class java.util.AbstractCollection

toString

public java.lang.String toString()
Overrides:
toString in class java.util.AbstractCollection


Copyright © 2004-2008 SUIF Compiler Group. All Rights Reserved.