17 package com.generalrobotix.ui.view.graph;
19 import java.util.StringTokenizer;
30 value_ =
new Integer[
size];
31 for (
int i = 0;
i <
size;
i ++) {
32 value_[
i] =
new Integer(0);
51 value_ =
new Integer[value.length];
52 for (
int i = 0;
i < value.length;
i ++) {
53 value_[
i] =
new Integer(value[
i]);
63 StringTokenizer tokenizer =
new StringTokenizer(value);
64 value_ =
new Integer[tokenizer.countTokens()];
65 for (
int i = 0; tokenizer.hasMoreTokens();
i ++) {
66 value_[
i] =
new Integer(tokenizer.nextToken());
71 if (value_ ==
null) {
return 0; }
84 if (value_.length == 0)
return new String();
85 str = value_[0].toString();
86 for (
int i = 1;
i < value_.length;
i ++) {
87 str +=
" " + value_[
i].toString();
99 StringTokenizer token =
new StringTokenizer(str);
101 for (
int i = 0;
i < value_.length;
i ++) {
102 if (token.hasMoreTokens()) {
103 value_[
i] =
new Integer(token.nextToken());
108 return (Object)value_;
117 value_ = (Integer[])value;
126 StringTokenizer token =
new StringTokenizer(str);
128 for (
int i = 0;
i < value_.length;
i ++) {
129 if (token.hasMoreTokens()) {
130 value_[
i] =
new Integer(token.nextToken());
143 return (Object)value_;
void setValue(Object value)
#define null
our own NULL pointer
void setValue(String str)
Object fromString(String str)
SEIntArray(Integer value[])