net.jini.core.constraint
Class ArraySet.Iter

java.lang.Object
  extended by net.jini.core.constraint.ArraySet.Iter
All Implemented Interfaces:
Iterator
Enclosing class:
ArraySet

private final class ArraySet.Iter
extends Object
implements Iterator

Simple iterator.


Field Summary
private  int idx
          Index into the array.
 
Constructor Summary
ArraySet.Iter()
           
 
Method Summary
 boolean hasNext()
           
 Object next()
           
 void remove()
          Always throws UnsupportedOperationException.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

idx

private int idx
Index into the array.

Constructor Detail

ArraySet.Iter

ArraySet.Iter()
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
Always throws UnsupportedOperationException.

Specified by:
remove in interface Iterator


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.