|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjv.vecmath.P_Vector
Abstract base class for linear algebra vectors allowing to tag individual vectors.
| Constructor Summary | |
P_Vector()
|
|
| Method Summary | |
void |
clearTag(int aBit)
Clears a single bit. |
static P_Vector[] |
clone(P_Vector[] src)
Duplicate array and all entries by recursively cloning all instance variables except inspector panels and lists of registered listeners. |
static P_Vector[][] |
clone(P_Vector[][] src)
Duplicate array and all entries by recursively cloning all instance variables except inspector panels and lists of registered listeners. |
void |
copy(P_Vector vec)
Copies the bitfield of another vector. |
long[] |
getBits()
Get integer array with bits. |
java.lang.String |
getDetail()
Get longer detail text of vector. |
java.lang.String |
getName()
Get name of vector. |
java.lang.String |
getURL()
Get URL of vector. |
boolean |
hasTag(int aBit)
Gets the value of a single bit. |
static void |
invert(java.lang.Object[] arr,
int usedSize)
Invert the order of the first 'usedSize' entries inside the arr, i.e. the first entry becomes the 'usedSize-1' entry. |
void |
setDetail(java.lang.String detail)
Set longer detail text of vector, e.g. to be shown as overlay text. |
void |
setName(java.lang.String name)
Set name of vector, e.g. to be shown in display. |
void |
setTag(int aBit)
Sets a single bit. |
void |
setURL(java.lang.String url)
Set name of vector, e.g. to be shown in display. |
java.lang.String |
toString()
Create a multi-line string representation with detailed information about all instance variables. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public P_Vector()
| Method Detail |
public java.lang.String toString()
public java.lang.String getDetail()
public void setDetail(java.lang.String detail)
detail - New detail text of vectorpublic java.lang.String getName()
public void setName(java.lang.String name)
name - New name of vectorpublic java.lang.String getURL()
public void setURL(java.lang.String url)
url - New URL of vectorpublic long[] getBits()
public void setTag(int aBit)
aBit - the index of the bit to be setpublic void clearTag(int aBit)
aBit - the index of the bit to be clearedpublic boolean hasTag(int aBit)
aBit - the index of the bit to be gottenpublic static P_Vector[][] clone(P_Vector[][] src)
null.
copy(P_Vector)public static P_Vector[] clone(P_Vector[] src)
null.
copy(P_Vector)public void copy(P_Vector vec)
null. The bit array of this is created or enlarged if necessary.
vec - the vector to be copied
public static void invert(java.lang.Object[] arr,
int usedSize)
arr - array of objects.usedSize - number of used entries
|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||