twitter4j.internal.json
Class SimilarPlacesImpl

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<T>
              extended by twitter4j.internal.json.SimilarPlacesImpl
All Implemented Interfaces:
Serializable, Cloneable, Iterable<Place>, Collection<Place>, List<Place>, RandomAccess, ResponseList<Place>, SimilarPlaces, TwitterResponse

public class SimilarPlacesImpl
extends ArrayList<T>
implements SimilarPlaces

Since:
Twitter4J 2.1.7
Author:
Yusuke Yamamoto - yusuke at mac.com
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface twitter4j.TwitterResponse
NONE, READ, READ_WRITE, READ_WRITE_DIRECTMESSAGES
 
Method Summary
 int getAccessLevel()
          
 RateLimitStatus getFeatureSpecificRateLimitStatus()
          Returns the current feature-specific rate limit status if available.
This method is available in conjunction with Twitter#searchUsers()
 RateLimitStatus getRateLimitStatus()
          Returns the current rate limit status if available.
 String getToken()
          Returns the token needed to be able to create a new place with GeoMethods.createPlace(String, String, String, GeoLocation, String).
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface twitter4j.ResponseList
getFeatureSpecificRateLimitStatus, getRateLimitStatus
 
Methods inherited from interface twitter4j.TwitterResponse
getAccessLevel
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Method Detail

getToken

public String getToken()
Returns the token needed to be able to create a new place with GeoMethods.createPlace(String, String, String, GeoLocation, String).

Specified by:
getToken in interface SimilarPlaces
Returns:
token the token needed to be able to create a new place with GeoMethods.createPlace(String, String, String, GeoLocation, String)

getRateLimitStatus

public RateLimitStatus getRateLimitStatus()
Returns the current rate limit status if available.

Specified by:
getRateLimitStatus in interface ResponseList<T>
Specified by:
getRateLimitStatus in interface TwitterResponse
Returns:
current rate limit status

getFeatureSpecificRateLimitStatus

public RateLimitStatus getFeatureSpecificRateLimitStatus()
Returns the current feature-specific rate limit status if available.
This method is available in conjunction with Twitter#searchUsers()

Specified by:
getFeatureSpecificRateLimitStatus in interface ResponseList<T>
Returns:
current rate limit status
See Also:
Rate Limiting | Twitter Developers, Rate Limiting FAQ | Twitter Developers

getAccessLevel

public int getAccessLevel()

Specified by:
getAccessLevel in interface TwitterResponse
Returns:
application permission model
See Also:
Application Permission Model FAQ - How do we know what the access level of a user token is?


Copyright © 2012. All Rights Reserved.