gnu.trove

Class TShortIterator


public class TShortIterator
extends TPrimitiveIterator

Iterator for short collections.
Version:
$Id: PIterator.template,v 1.1 2006/11/10 23:28:00 robeden Exp $
Author:
Eric D. Friedman

Constructor Summary

TShortIterator(TShortHash hash)
Creates a TShortIterator for the elements in the specified collection.

Method Summary

short
next()
Advances the iterator to the next element in the underlying collection and returns it.

Constructor Details

TShortIterator

public TShortIterator(TShortHash hash)
Creates a TShortIterator for the elements in the specified collection.

Method Details

next

public short next()
Advances the iterator to the next element in the underlying collection and returns it.
Returns:
the next short in the collection

GNU Trove is copyright B) 2001-2008 Eric D. Friedman. All Rights Reserved.