Codota Logo
ParameterList.getIntParameter
Code IndexAdd Codota to your IDE (free)

How to use
getIntParameter
method
in
javax.media.jai.ParameterList

Best Java code snippets using javax.media.jai.ParameterList.getIntParameter (Showing top 3 results out of 315)

  • Common ways to obtain ParameterList
private void myMethod () {
ParameterList p =
  • Codota IconParameterBlockJAI pb;Object roi;pb.setParameter("roi", roi)
  • Codota IconParameterBlockJAI pb;String str;pb.setParameter(str, destinationNoData)
  • Codota IconParameterBlockJAI pb;String str;pb.setParameter(str, int1)
  • Smart code suggestions by Codota
}
origin: geotools/geotools

/** Returns the positive integer value of an operation parameter. */
public int intValue() throws InvalidParameterTypeException {
  final String name = getName();
  final Class type = getType();
  try {
    if (type.equals(Short.class)) parameters.getShortParameter(name);
    if (type.equals(Byte.class)) parameters.getByteParameter(name);
    return parameters.getIntParameter(name);
  } catch (ClassCastException exception) {
    throw invalidType(exception);
  }
}
origin: geotools/geotools

/** Returns the numeric value of the coordinate operation parameter. */
public double doubleValue() throws InvalidParameterTypeException {
  final String name = getName();
  final Class type = getType();
  try {
    if (type.equals(Float.class)) parameters.getFloatParameter(name);
    if (type.equals(Long.class)) parameters.getLongParameter(name);
    if (type.equals(Integer.class)) parameters.getIntParameter(name);
    if (type.equals(Short.class)) parameters.getShortParameter(name);
    if (type.equals(Byte.class)) parameters.getByteParameter(name);
    return parameters.getDoubleParameter(name);
  } catch (ClassCastException exception) {
    throw invalidType(exception);
  }
}
origin: geotools/geotools

assertSame(pl, pl.setParameter("xPeriod", 2));
assertSame(pl, pl.setParameter("yPeriod", 2));
assertEquals(2, pl.getIntParameter("xPeriod"));
assertEquals(2, pl.getIntParameter("yPeriod"));
assertEquals(
    "Setting 'xPeriod' on ParameterList should have no effect on ParameterValue.",
javax.media.jaiParameterListgetIntParameter

Popular methods of ParameterList

  • getObjectParameter
  • setParameter
  • getParameterListDescriptor
  • getBooleanParameter
  • getByteParameter
  • getDoubleParameter
  • getFloatParameter
  • getLongParameter
  • getShortParameter

Popular in Java

  • Finding current android device location
  • putExtra (Intent)
  • getSystemService (Context)
  • orElseThrow (Optional)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Logger (org.slf4j)
    The main user interface to logging. It is expected that logging takes place through concrete impleme
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now