All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.vpro.domain.media.search.SearchResult Maven / Gradle / Ivy

Go to download

The basic domain classes for 'media', the core of POMS. Also, the 'update' XML bindings for it. It also contains some closely related domain classes like the enum to contain NICAM kijkwijzer settings.

There is a newer version: 8.3.1
Show newest version
package nl.vpro.domain.media.search;

import java.util.Iterator;
import java.util.List;

import org.checkerframework.checker.nullness.qual.NonNull;

/**
 * @author Michiel Meeuwissen
 * @since 5.3
 */
public interface SearchResult extends Iterable {

    List getResult();

    Long getCount();

    default int size() {
        return getResult().size();
    }
    @NonNull
    @Override
    default Iterator iterator() {
        return getResult().iterator();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy