eworks.RDF.model
Class UngroupedTuples
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
eworks.RDF.model.AbstractTuples
eworks.RDF.model.UngroupedTuples
- All Implemented Interfaces:
- Cloneable, Collection, List, RandomAccess, Serializable, Tuples
- public class UngroupedTuples
- extends AbstractTuples
Represents a set of grouped tuples and provides methods to manage them. Each
tuple is represented by an instance of a class that implements the Tuple
interface.
This implementation supports the grouping of tuples as defined by
the methods Tuples.getNumberOfGroups() and Tuples.getTuplesByGroup(int).
All tuples are contained generally inside the same tuple group.
- Version:
- 1.00 (2003-11-03)
- Author:
- Fabian Wleklinski (fabian@wleklinski.de)
- See Also:
- Serialized Form
|
Constructor Summary |
UngroupedTuples()
Creates a new and empty set of tuples. |
UngroupedTuples(Collection c)
Creates a new set of tuples and initializes it with a given set of tuples. |
UngroupedTuples(int initialCapacity)
Creates a new and empty set of tuples with a given initial capacity. |
UngroupedTuples(Tuple t)
Creates a new and empty set of tuples with a given initial tuple. |
|
Method Summary |
Object |
clone()
Clones this tuple set and returns a new instance containing the same tuples. |
| Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from interface java.util.Collection |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
UngroupedTuples
public UngroupedTuples()
- Creates a new and empty set of tuples.
UngroupedTuples
public UngroupedTuples(Tuple t)
- Creates a new and empty set of tuples with a given initial tuple.
- Parameters:
t - The initial tuple.
UngroupedTuples
public UngroupedTuples(int initialCapacity)
- Creates a new and empty set of tuples with a given initial capacity.
- Parameters:
initialCapacity - The initial capacity.
UngroupedTuples
public UngroupedTuples(Collection c)
- Creates a new set of tuples and initializes it with a given set of tuples.
- Parameters:
c - The set of tuples to initialize the new tuple set.
clone
public Object clone()
- Clones this tuple set and returns a new instance containing the same tuples.
- Returns:
- A clone of this tuple set.