com.thinkaurelius.titan.util.encoding

## Class LongEncoding

- java.lang.Object
- - com.thinkaurelius.titan.util.encoding.LongEncoding

-     public class LongEncoding
      extends Object

  Utility class for encoding longs in strings based on:
  Author:
    http://stackoverflow.com/users/276101/polygenelubricants, Matthias Broecheler (me@matthiasb.com)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LongEncoding()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static long` | `decode(String s)`
    `static long` | `decode(String s, String symbols)`
    `static String` | `encode(long num)`
    `static String` | `encode(long num, String symbols)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LongEncoding

          public LongEncoding()

  - ### Method Detail

    - #### decode

          public static long decode(String s)

    - #### encode

          public static String encode(long num)

    - #### decode

          public static long decode(String s,
                    String symbols)

    - #### encode

          public static String encode(long num,
                      String symbols)

Copyright © 2012–2014. All rights reserved.