Package org.geotools.coverage.grid
Class LookupTableFactory
Object
LookupTableFactory
A factory for 
LookupTableImageN objects built from an array of MathTransform1D. This factory is used
 internally by GridCoverageViews#create.- Since:
- 2.1
- Author:
- Martin Desruisseaux (IRD)
- 
Method SummaryModifier and TypeMethodDescriptionstatic LookupTableImageNcreate(int sourceType, int targetType, MathTransform1D[] transforms) Gets a lookup factorybooleanCompares the specified object with this key for equality.inthashCode()Returns a hash code value for this key.
- 
Method Details- 
createpublic static LookupTableImageN create(int sourceType, int targetType, MathTransform1D[] transforms) throws TransformException Gets a lookup factory- Parameters:
- sourceType- The source data type. Should be one of- DataBufferconstants.
- targetType- The target data type. Should be one of- DataBufferconstants.
- transforms- The math transforms to apply.
- Returns:
- The lookup table, or nullif this method can't build a lookup table for the supplied parameters.
- Throws:
- TransformException- if a transformation failed.
 
- 
hashCodepublic int hashCode()Returns a hash code value for this key. This is for internal use byLookupTableFactoryand is public only as an implementation side effect.
- 
equalsCompares the specified object with this key for equality. This is for internal use byLookupTableFactoryand is public only as an implementation side effect.
 
-