| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.unh.sdb.datasource.ISIDMapper
public class ISIDMapper
This class is used for mapping IndexSpaceIDs and ISBounds to/from ISBounds defined within component and composite spaces.
| Constructor Summary | |
|---|---|
ISIDMapper(ISBounds bounds)
Create an ISIDMapper which does identity mapping.  | 
|
ISIDMapper(ISBounds componentSubset,
           ISBounds compositeExtent)
Create an ISIDMapper.  | 
|
| Method Summary | |
|---|---|
 boolean | 
contains(IndexSpaceID id)
Check if the given IndexSpaceID is contained by this component  | 
 boolean | 
equals(ISIDMapper mapper2)
Return true if two ISIDMapper equal  | 
 ISBounds | 
getComponentSubset()
Return a copy of the Component Subset bounds  | 
 ISBounds | 
getCompositeExtent()
Return a copy of the Composite Extent bounds  | 
 boolean | 
isIdentityMapper()
Return true if this ISIDMapper is an identity mapper  | 
static void | 
main(java.lang.String[] args)
For debugging.  | 
 IndexSpaceID | 
toComponent(IndexSpaceID compositeID)
Map the IndexSpaceID argument from composite space to component space.  | 
 IndexSpaceID | 
toComponent(IndexSpaceID componentID,
            IndexSpaceID compositeID)
Map the IndexSpaceID argument from composite space to component space.  | 
 int[] | 
toComponent(int[] compositeCoords)
Map the coords array argument from composite space to component space.  | 
 int[] | 
toComponent(int[] componentCoords,
            int[] compositeCoords)
Map the coords array argument from composite space to component space.  | 
 ISBounds | 
toComponent(ISBounds compositeBounds)
Map the bounds argument from composite space to component space.  | 
 IndexSpaceID | 
toComposite(IndexSpaceID componentID)
Map the IndexSpaceID argument from component space to composite space.  | 
 int[] | 
toComposite(int[] componentCoords)
Map the coords array argument from component space to composite space.  | 
 ISBounds | 
toComposite(ISBounds componentBounds)
Map the bounds argument from component space to composite space.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ISIDMapper(ISBounds componentSubset,
                  ISBounds compositeExtent)
public ISIDMapper(ISBounds bounds)
| Method Detail | 
|---|
public IndexSpaceID toComposite(IndexSpaceID componentID)
public int[] toComposite(int[] componentCoords)
public ISBounds toComposite(ISBounds componentBounds)
public final IndexSpaceID toComponent(IndexSpaceID compositeID)
public IndexSpaceID toComponent(IndexSpaceID componentID,
                                IndexSpaceID compositeID)
public final int[] toComponent(int[] compositeCoords)
public int[] toComponent(int[] componentCoords,
                         int[] compositeCoords)
public ISBounds toComponent(ISBounds compositeBounds)
public ISBounds getCompositeExtent()
public ISBounds getComponentSubset()
public boolean isIdentityMapper()
public boolean contains(IndexSpaceID id)
public boolean equals(ISIDMapper mapper2)
public static void main(java.lang.String[] args)
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||