Java Integer Create toInteger(final Double value)

Here you can find the source of toInteger(final Double value)

Description

to Integer

License

Open Source License

Declaration

public static Integer toInteger(final Double value) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static Integer toInteger(final Double value) {
        Integer integerValue = null;
        if (value != null) {
            integerValue = value.intValue();
        }//from w w  w  .  j av  a  2s  .c om
        return integerValue;
    }
}

Related

  1. toInteger(byte[] bytes)
  2. toInteger(byte[] bytes, int index)
  3. toInteger(byte[] input)
  4. toInteger(E val)
  5. toInteger(final byte[] data)
  6. toInteger(final Object o)
  7. toInteger(final Object value)
  8. toInteger(final String bitString)
  9. toInteger(final String integerAsString)