Example usage for twitter4j Query getMaxId

List of usage examples for twitter4j Query getMaxId

Introduction

In this page you can find the example usage for twitter4j Query getMaxId.

Prototype

public long getMaxId() 

Source Link

Document

Returns tweets with status ids less than the given id.

Usage

From source file:com.github.moko256.mastodon.MTRangeConverter.java

License:Apache License

public static Range convert(Query query) {
    return new Range(convertLong(query.getMaxId()), convertLong(query.getSinceId()),
            (query.getCount() == -1) ? 0 : query.getCount());
}