net.sourceforge.combean.interfaces.graph.containers
Interface FixedNodeSet

Package class diagram package FixedNodeSet
All Superinterfaces:
FixedNodeCollection
All Known Subinterfaces:
NodeSet
All Known Implementing Classes:
NodeNumberingAsNodeSet, SetAsNodeSet

public interface FixedNodeSet
extends FixedNodeCollection

A immutable set of nodes (similar to a java.util.Set).


Method Summary
 boolean contains(Node v)
          Check if the set contains a certain node v.
 int size()
          Return the number of elements in the set.
 
Methods inherited from interface net.sourceforge.combean.interfaces.graph.containers.FixedNodeCollection
isEmpty, iterator
 

Method Detail

size

int size()
Return the number of elements in the set.

Returns:
number of elements.

contains

boolean contains(Node v)
Check if the set contains a certain node v.

Parameters:
v -
Returns:
true if v is contained in the set.