pRTI™ v1.3

hla.rti
Interface AttributeHandleSet


public interface AttributeHandleSet


Method Summary
 void add(int handle)
          Add the handle to the set.
 java.lang.Object clone()
          Classic clone
 void empty()
          Empties set of its members.
 boolean equals(java.lang.Object obj)
          Classic equals.
 HandleIterator handles()
           
 int hashCode()
          Classic hashCode
 boolean isEmpty()
           
 boolean isMember(int handle)
           
 void remove(int handle)
          Remove the handle from the set.
 int size()
           
 java.lang.String toString()
           
 

Method Detail

add

public void add(int handle)
         throws hla.rti.AttributeNotDefined
Add the handle to the set. Won't squawk if handle already member.
Parameters:
handle - int
Throws:
hla.rti.AttributeNotDefined - if handle out of range

clone

public java.lang.Object clone()
Classic clone
Returns:
java.lang.Object

empty

public void empty()
Empties set of its members.

equals

public boolean equals(java.lang.Object obj)
Classic equals.
Overrides:
equals in class java.lang.Object
Parameters:
obj - java.lang.Object
Returns:
boolean: true if set of same type and same members.

handles

public HandleIterator handles()

hashCode

public int hashCode()
Classic hashCode
Overrides:
hashCode in class java.lang.Object
Returns:
int: hash code

isEmpty

public boolean isEmpty()
Returns:
boolean: true if set empty.

isMember

public boolean isMember(int handle)
                 throws hla.rti.AttributeNotDefined
Parameters:
handle - int: an attribute handle
Returns:
boolean: true if handle is a member
Throws:
hla.rti.AttributeNotDefined - if handle out of range

remove

public void remove(int handle)
            throws hla.rti.AttributeNotDefined
Remove the handle from the set. Won't squawk if handle not a member.
Parameters:
handle - int
Throws:
hla.rti.AttributeNotDefined - if handle out of range

size

public int size()
Returns:
int: number of members

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
java.lang.String

pRTI™ v1.3

Visit the pRTI™ Website

pRTI is a trademark of Pitch Technologies AB

Repslagaregatan 25
S-582 22 Linkoping,
Sweden.
All Rights Reserved.