Result.Ad, Result.Ads, Result.Attribute, Result.Category, Result.CategoryData, Result.CategoryList, Result.CategoryNode, Result.Completion, Result.Completions, Result.Correction, Result.Corrections, Result.Count, Result.Facet, Result.FacetList, Result.FacetRange, Result.Phrase, Result.Phrases, Result.Product, Result.Products, Result.ResultType, Result.Value, Result.Values, Result.Variant
Constructor | Description |
---|---|
Ads() |
Modifier and Type | Method | Description |
---|---|---|
List<Result.Ad> |
getAds() |
Get the list of ads in this result.
|
Result.ResultType |
getType() |
Get the result type of this result.
|
boolean |
isEmpty() |
Return true if this result is empty and false otherwise.
|
Iterator<Result.Ad> |
iterator() |
|
static Result.Ads |
mock(List<Result.Ad> ads) |
Creates a new Ads object for test purposes.
|
int |
size() |
The number of ads in this result.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static Result.Ads mock(List<Result.Ad> ads)
ads
- the ads to include in the ads resultpublic final List<Result.Ad> getAds()
public final int size()
public final boolean isEmpty()
public String toString()
public Result.ResultType getType()
Result
Copyright © 2021 Apptus Technologies AB. All rights reserved.