Bridges-Java-2.3.3  2.3.3
Bridges(JavaAPI)
Public Member Functions | Static Public Attributes | List of all members
bridges.base.ArrayElement< E > Class Template Reference
Inheritance diagram for bridges.base.ArrayElement< E >:
bridges.base.Element< E > bridges.base.DataStruct

Public Member Functions

 ArrayElement (String label, E type)
 
String getDataStructType ()
 
- Public Member Functions inherited from bridges.base.Element< E >
String getDataStructType ()
 
 Element ()
 
 Element (E val)
 
 Element (String label, E val)
 
 Element (Element< E > original)
 
String getIdentifier ()
 
ElementVisualizer getVisualizer ()
 
void setVisualizer (ElementVisualizer visualizer)
 
LinkVisualizer getLinkVisualizer (Element< E > el)
 
String getClassName ()
 
int compareTo (Element< E > e1)
 
boolean equals (Element< E > e1)
 
String getElementRepresentation ()
 
String getLinkRepresentation (LinkVisualizer lv, String src, String dest)
 
String getLabel ()
 
void setLabel (String label)
 
String arrangeLabel (String label, int wordNumber)
 
getValue ()
 
void setValue (E value)
 
String toString ()
 
- Public Member Functions inherited from bridges.base.DataStruct
abstract String getDataStructType ()
 

Static Public Attributes

static int index
 

Additional Inherited Members

- Protected Member Functions inherited from bridges.base.Element< E >
void setLinkVisualizer (Element< E > el)
 
void removeLinkVisualizer (Element< E > el)
 
void validateVal (E value)
 
- Protected Attributes inherited from bridges.base.DataStruct
String QUOTE = "\""
 

Detailed Description

Author
Mihai Mehedint
Parameters
<E>This class can be used to create arrays with generic types as follows: ArrayElement<E>[] myArray = (ArrayElement<E>[]) new ArrayElement[10]; Where E is: Tweet, Actor, Movie, Integer, String or other generic type

Constructor & Destructor Documentation

bridges.base.ArrayElement< E >.ArrayElement ( String  label,
type 
)

Construct an array labeled "label" and holding elements of "type".

Parameters
labelthe label of ArrayElement that shows up on the Bridges visualization
typethe type of Element this array should be holding

Member Function Documentation

String bridges.base.ArrayElement< E >.getDataStructType ( )

This method gets the data structure type

Returns
The date structure type as a string

Member Data Documentation

int bridges.base.ArrayElement< E >.index
static

The documentation for this class was generated from the following file: