/** * Returns the imaging condition that matches the given string, or returns a new one if none * match it. * * @param code The name of the code to fetch or to create. * @return A code matching the given name. */ public static ImagingCondition valueOf(String code) { return valueOf(ImagingCondition.class, code); } }
/** * Returns the coverage content type that matches the given string, or returns a new one if none * match it. * * @param code The name of the code to fetch or to create. * @return A code matching the given name. */ public static CoverageContentType valueOf(String code) { return valueOf(CoverageContentType.class, code); } }
/** Returns the list of enumerations of the same kind than this enum. */ public ImagingCondition[] family() { return values(); }
/** Returns the list of enumerations of the same kind than this enum. */ public CoverageContentType[] family() { return values(); }
/** * Returns the list of codes of the same kind than this code list element. * Invoking this method is equivalent to invoking {@link #values()}, except that * this method can be invoked on an instance of the parent {@code CodeList} class. * * @return all code {@linkplain #values() values} for this code list. */ @Override public BandDefinition[] family() { return values(); }
/** * Returns the list of codes of the same kind than this code list element. * Invoking this method is equivalent to invoking {@link #values()}, except that * this method can be invoked on an instance of the parent {@code CodeList} class. * * @return all code {@linkplain #values() values} for this code list. */ @Override public PolarizationOrientation[] family() { return values(); }
/** * Returns the list of codes of the same kind than this code list element. * Invoking this method is equivalent to invoking {@link #values()}, except that * this method can be invoked on an instance of the parent {@code CodeList} class. * * @return all code {@linkplain #values() values} for this code list. */ @Override public TransferFunctionType[] family() { return values(); }
/** * Returns the transfer function type that matches the given string, or returns a * new one if none match it. More specifically, this methods returns the first instance for * which <code>{@linkplain #name() name()}.{@linkplain String#equals equals}(code)</code> * returns {@code true}. If no existing instance is found, then a new one is created for * the given name. * * @param code the name of the code to fetch or to create. * @return a code matching the given name. */ public static PolarizationOrientation valueOf(String code) { return valueOf(PolarizationOrientation.class, code); } }
/** * Returns the transfer function type that matches the given string, or returns a * new one if none match it. More specifically, this methods returns the first instance for * which <code>{@linkplain #name() name()}.{@linkplain String#equals equals}(code)</code> * returns {@code true}. If no existing instance is found, then a new one is created for * the given name. * * @param code the name of the code to fetch or to create. * @return a code matching the given name. */ public static TransferFunctionType valueOf(String code) { return valueOf(TransferFunctionType.class, code); } }
/** * Returns the band definition that matches the given string, or returns a * new one if none match it. More specifically, this methods returns the first instance for * which <code>{@linkplain #name() name()}.{@linkplain String#equals equals}(code)</code> * returns {@code true}. If no existing instance is found, then a new one is created for * the given name. * * @param code the name of the code to fetch or to create. * @return a code matching the given name. */ public static BandDefinition valueOf(String code) { return valueOf(BandDefinition.class, code); } }
/** * Returns the logarithm or exponent base in the transfer function. * This value is always 1 for {@link TransferFunctionType#LINEAR}, * and usually (but not necessarily) 10 for the logarithmic and exponential types. * * @return the logarithmic or exponent base. */ public double getBase() { return TransferFunctionType.LINEAR.equals(type) ? 1 : base; }
/** * Returns the list of enumerations of the same kind than this enum. */ public /*{ImagingCondition}*/ CodeList[] family() { return values(); }
/** * Returns the list of codes of the same kind than this code list element. * Invoking this method is equivalent to invoking {@link #values()}, except that * this method can be invoked on an instance of the parent {@code CodeList} class. * * @return all code {@linkplain #values() values} for this code list. */ @Override public CoverageContentType[] family() { return values(); }
/** * Returns the list of codes of the same kind than this code list element. * Invoking this method is equivalent to invoking {@link #values()}, except that * this method can be invoked on an instance of the parent {@code CodeList} class. * * @return all code {@linkplain #values() values} for this code list. */ @Override public BandDefinition[] family() { return values(); }
/** * Returns the list of codes of the same kind than this code list element. * Invoking this method is equivalent to invoking {@link #values()}, except that * this method can be invoked on an instance of the parent {@code CodeList} class. * * @return all code {@linkplain #values() values} for this code list. */ @Override public PolarizationOrientation[] family() { return values(); }
/** * Returns the logarithm or exponent base in the transfer function. * This value is always 1 for {@link TransferFunctionType#LINEAR}, * and usually (but not necessarily) 10 for the logarithmic and exponential types. * * @return the logarithmic or exponent base. */ public double getBase() { return TransferFunctionType.LINEAR.equals(type) ? 1 : base; }
/** * Returns the list of codes of the same kind than this code list element. * Invoking this method is equivalent to invoking {@link #values()}, except that * this method can be invoked on an instance of the parent {@code CodeList} class. * * @return all code {@linkplain #values() values} for this code list. */ @Override public ImagingCondition[] family() { return values(); }
/** * Returns the list of enumerations of the same kind than this enum. */ public /*{CoverageContentType}*/ CodeList[] family() { return values(); }
/** * Returns the list of codes of the same kind than this code list element. * Invoking this method is equivalent to invoking {@link #values()}, except that * this method can be invoked on an instance of the parent {@code CodeList} class. * * @return all code {@linkplain #values() values} for this code list. */ @Override public ImagingCondition[] family() { return values(); }
/** * Returns the list of codes of the same kind than this code list element. * Invoking this method is equivalent to invoking {@link #values()}, except that * this method can be invoked on an instance of the parent {@code CodeList} class. * * @return all code {@linkplain #values() values} for this code list. */ @Override public CoverageContentType[] family() { return values(); }