/** * {@inheritDoc} */ @Override public ListOptions maxResults(int limit) { super.maxResults(limit); return this; }
/** * {@inheritDoc} */ @Override public ListOptions maxResults(int limit) { super.maxResults(limit); return this; }
/** * {@inheritDoc} */ @Override public ListOptions maxResults(int limit) { super.maxResults(limit); return this; }
/** * {@inheritDoc} */ @Override public ListOptions maxResults(int limit) { super.maxResults(limit); return this; }
/** * @see BaseListOptions#maxResults */ public static BaseListOptions maxResults(int maxKeys) { BaseListOptions options = new BaseListOptions(); return options.maxResults(maxKeys); }
/** * @see BaseListOptions#maxResults */ public static BaseListOptions maxResults(int maxKeys) { BaseListOptions options = new BaseListOptions(); return options.maxResults(maxKeys); }
/** * @see BaseListOptions#maxResults */ public static BaseListOptions maxResults(int maxKeys) { BaseListOptions options = new BaseListOptions(); return options.maxResults(maxKeys); }
/** * @see BaseListOptions#maxResults */ public static BaseListOptions maxResults(int maxKeys) { BaseListOptions options = new BaseListOptions(); return options.maxResults(maxKeys); }
public void testMaxResults() { int limit = 1; BaseListOptions options = new BaseListOptions().maxResults(limit); assertEquals(ImmutableList.of("1"), options.buildQueryParameters().get("limit")); }
public void testMaxResults() { int limit = 1; BaseListOptions options = new BaseListOptions().maxResults(limit); assertEquals(ImmutableList.of("1"), options.buildQueryParameters().get("limit")); }