gov.nist.antd.optical
Class OpticalLinkLayer.ptpPeerEnumeration

java.lang.Object
  |
  +--gov.nist.antd.optical.OpticalLinkLayer.ptpPeerEnumeration
All Implemented Interfaces:
java.util.Enumeration
Enclosing class:
OpticalLinkLayer

class OpticalLinkLayer.ptpPeerEnumeration
extends java.lang.Object
implements java.util.Enumeration


Field Summary
(package private)  ONIC onic
          The only element in the enumeration.
 
Constructor Summary
OpticalLinkLayer.ptpPeerEnumeration(ONIC n)
          Default constructor.
 
Method Summary
 boolean hasMoreElements()
          Indicates if the enumeration has more elements.
 java.lang.Object nextElement()
          Return the next element of the enumeration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

onic

ONIC onic
The only element in the enumeration.

Constructor Detail

OpticalLinkLayer.ptpPeerEnumeration

public OpticalLinkLayer.ptpPeerEnumeration(ONIC n)
Default constructor.

Parameters:
n - The peer ONIC.
Method Detail

hasMoreElements

public boolean hasMoreElements()
Indicates if the enumeration has more elements.

Specified by:
hasMoreElements in interface java.util.Enumeration
Returns:
true if there is more elements.

nextElement

public java.lang.Object nextElement()
Return the next element of the enumeration.

Specified by:
nextElement in interface java.util.Enumeration
Returns:
the next element of the enumeration.