SortedDataset
in package
implements
Iterator
Class used to provide a transparent sorting of a dataset by subject
Tags
Table of Contents
Interfaces
- Iterator
Properties
- $data : DatasetInterface
- $n : int
- $quadIter : QuadIteratorInterface
- $sbjIter : TermIteratorInterface
Methods
- __construct() : mixed
- current() : QuadInterface|null
- key() : int
- next() : void
- rewind() : void
- valid() : bool
Properties
$data
private
DatasetInterface
$data
$n
private
int
$n
$quadIter
private
QuadIteratorInterface
$quadIter
$sbjIter
private
TermIteratorInterface
$sbjIter
Methods
__construct()
public
__construct(DatasetInterface $data) : mixed
Parameters
- $data : DatasetInterface
current()
public
current() : QuadInterface|null
Return values
QuadInterface|nullkey()
public
key() : int
Return values
intnext()
public
next() : void
rewind()
public
rewind() : void
valid()
public
valid() : bool