mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-17 22:15:23 +02:00
toString method
This commit is contained in:
parent
52ac0596f6
commit
5ef2d0db02
1 changed files with 6 additions and 1 deletions
|
@ -13,11 +13,11 @@ package org.eclipse.cdt.core.parser.util;
|
||||||
|
|
||||||
import java.lang.reflect.Array;
|
import java.lang.reflect.Array;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
import java.util.Arrays;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.NoSuchElementException;
|
import java.util.NoSuchElementException;
|
||||||
|
|
||||||
|
|
||||||
public abstract class ObjectTable<T> extends HashTable implements Iterable<T> {
|
public abstract class ObjectTable<T> extends HashTable implements Iterable<T> {
|
||||||
protected T[] keyTable;
|
protected T[] keyTable;
|
||||||
|
|
||||||
|
@ -193,4 +193,9 @@ public abstract class ObjectTable<T> extends HashTable implements Iterable<T> {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return Arrays.toString(keyTable);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue