@Test public void testIsSigned() { assertTrue(TypeMap.isSigned(SampleDimensionType.REAL_32BITS)); assertTrue(TypeMap.isSigned(SampleDimensionType.REAL_64BITS)); assertTrue(TypeMap.isSigned(SampleDimensionType.SIGNED_16BITS)); assertTrue(TypeMap.isSigned(SampleDimensionType.SIGNED_32BITS)); assertTrue(TypeMap.isSigned(SampleDimensionType.SIGNED_8BITS)); assertFalse(TypeMap.isSigned(SampleDimensionType.UNSIGNED_16BITS)); assertFalse(TypeMap.isSigned(SampleDimensionType.UNSIGNED_1BIT)); assertFalse(TypeMap.isSigned(SampleDimensionType.UNSIGNED_2BITS)); assertFalse(TypeMap.isSigned(SampleDimensionType.UNSIGNED_32BITS)); assertFalse(TypeMap.isSigned(SampleDimensionType.UNSIGNED_4BITS)); assertFalse(TypeMap.isSigned(SampleDimensionType.UNSIGNED_8BITS)); }
public static boolean isSigned(final SampleDimensionType type) { return map(type).signed; }
TypeMap { public static boolean isSigned(final SampleDimensionType type) { return map(type).signed; } }
TypeMap { public static boolean isSigned(final SampleDimensionType type) { return map(type).signed; } private  TypeMap(
            final SampleDimensionType code,
            final int type,
            final byte size,
            final boolean signed,
            final boolean real,
            final Map<Number, Number> pool); private  TypeMap(
            final SampleDimensionType code,
            final int type,
            final byte size,
            final boolean signed,
            final boolean real,
            Number lower,
            Number upper,
            final Map<Number, Number> pool); }
TypeMap { public static boolean isSigned(final SampleDimensionType type) { return map(type).signed; } private  TypeMap(
            final SampleDimensionType code,
            final int type,
            final byte size,
            final boolean signed,
            final boolean real,
            final Map<Number, Number> pool); private  TypeMap(
            final SampleDimensionType code,
            final int type,
            final byte size,
            final boolean signed,
            final boolean real,
            Number lower,
            Number upper,
            final Map<Number, Number> pool); static SampleDimensionType getSampleDimensionType(final Range<?> range); static SampleDimensionType getSampleDimensionType(double min, double max); static SampleDimensionType getSampleDimensionType(final long min, final long max); @SuppressWarnings("fallthrough") static SampleDimensionType getSampleDimensionType(
            final SampleModel model, final int band); static InternationalString getName(final SampleDimensionType type); static int getDataBufferType(final SampleDimensionType type); static int getSize(final SampleDimensionType type); static boolean isSigned(final SampleDimensionType type); static boolean isFloatingPoint(final SampleDimensionType type); static NumberRange<? extends Number> getRange(final SampleDimensionType type); static NumberRange<? extends Number> getPositiveRange(final SampleDimensionType type); @SuppressWarnings("fallthrough") static Number wrapSample(
            final double value, final SampleDimensionType type, final boolean allowWidening); static ColorInterpretation getColorInterpretation(final ColorModel model, final int band); }
TypeMap { public static boolean isSigned(final SampleDimensionType type) { return map(type).signed; } private  TypeMap(
            final SampleDimensionType code,
            final int type,
            final byte size,
            final boolean signed,
            final boolean real,
            final Map<Number, Number> pool); private  TypeMap(
            final SampleDimensionType code,
            final int type,
            final byte size,
            final boolean signed,
            final boolean real,
            Number lower,
            Number upper,
            final Map<Number, Number> pool); static SampleDimensionType getSampleDimensionType(final Range<?> range); static SampleDimensionType getSampleDimensionType(double min, double max); static SampleDimensionType getSampleDimensionType(final long min, final long max); @SuppressWarnings("fallthrough") static SampleDimensionType getSampleDimensionType(
            final SampleModel model, final int band); static InternationalString getName(final SampleDimensionType type); static int getDataBufferType(final SampleDimensionType type); static int getSize(final SampleDimensionType type); static boolean isSigned(final SampleDimensionType type); static boolean isFloatingPoint(final SampleDimensionType type); static NumberRange<? extends Number> getRange(final SampleDimensionType type); static NumberRange<? extends Number> getPositiveRange(final SampleDimensionType type); @SuppressWarnings("fallthrough") static Number wrapSample(
            final double value, final SampleDimensionType type, final boolean allowWidening); static ColorInterpretation getColorInterpretation(final ColorModel model, final int band);  }