org.jclouds.domain
Class JsonBall

java.lang.Object
  extended by org.jclouds.domain.JsonBall
All Implemented Interfaces:
Serializable, CharSequence, Comparable<String>

public class JsonBall
extends Object
implements Serializable, Comparable<String>, CharSequence

As String is final, using a different marker to imply this is a json object

Author:
Adrian Cole
See Also:
, Serialized Form

Constructor Summary
JsonBall(double value)
           
JsonBall(int value)
           
JsonBall(long value)
           
JsonBall(String value)
           
 
Method Summary
 char charAt(int index)
           
 int compareTo(String o)
           
 boolean equals(Object obj)
           
 int hashCode()
           
 int length()
           
 CharSequence subSequence(int start, int end)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JsonBall

public JsonBall(double value)

JsonBall

public JsonBall(int value)

JsonBall

public JsonBall(long value)

JsonBall

public JsonBall(String value)
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Specified by:
toString in interface CharSequence
Overrides:
toString in class Object

charAt

public char charAt(int index)
Specified by:
charAt in interface CharSequence

length

public int length()
Specified by:
length in interface CharSequence

subSequence

public CharSequence subSequence(int start,
                                int end)
Specified by:
subSequence in interface CharSequence

compareTo

public int compareTo(String o)
Specified by:
compareTo in interface Comparable<String>


Copyright © 2009-2011 jclouds. All Rights Reserved.