Java Long to longToCompare(Long value)

Here you can find the source of longToCompare(Long value)

Description

long To Compare

License

Apache License

Declaration

public static long longToCompare(Long value) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static long longToCompare(Long value) {
        return value == null ? -1 : value;
    }//from w  w  w  . j av  a  2s .com
}

Related

  1. longToBucket(long key, int buckets)
  2. LongToBuf4(long val, byte[] buf, int offset)
  3. longToBuffer(long l, byte[] ioBuffer)
  4. longToCharArray(long seat, int length)
  5. longToCharBounds(long value)
  6. longToDB(long val)
  7. longToEightBytes(final long value)
  8. longToFourBytes(long value)
  9. longToFrontInt(long data)