diff options
author | Bernd Hufmann | 2012-06-12 16:02:20 +0000 |
---|---|---|
committer | Bernd Hufmann | 2012-06-12 16:02:46 +0000 |
commit | 2e43391e2e2c9d4b2d2035a2daa4537ad372f6f3 (patch) | |
tree | b7b2e26f83f411a3ca3b2d160aee8bd0a3eb4a68 /lttng/org.eclipse.linuxtools.tmf.core | |
parent | 73fd0ddf5dc397b5153145016986818320a156e9 (diff) | |
download | org.eclipse.linuxtools-2e43391e2e2c9d4b2d2035a2daa4537ad372f6f3.tar.gz org.eclipse.linuxtools-2e43391e2e2c9d4b2d2035a2daa4537ad372f6f3.tar.xz org.eclipse.linuxtools-2e43391e2e2c9d4b2d2035a2daa4537ad372f6f3.zip |
More java-doc updates
Diffstat (limited to 'lttng/org.eclipse.linuxtools.tmf.core')
2 files changed, 14 insertions, 4 deletions
diff --git a/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/util/TmfFixedArray.java b/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/util/TmfFixedArray.java index b55be6dcc1..ef1b7ac2ff 100755 --- a/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/util/TmfFixedArray.java +++ b/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/util/TmfFixedArray.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2011 Ericsson + * Copyright (c) 2011, 2012 Ericsson * * All rights reserved. This program and the accompanying materials are * made available under the terms of the Eclipse Public License v1.0 which @@ -28,6 +28,9 @@ import java.util.RandomAccess; * </ul></p> * <p>Those functions allow to use the FixedArray as the key of a {@link java.util.HashMap}.</p> * + * @version 1.0 + * @author Francois Godin + * * @param <T> Type of the array content. */ public final class TmfFixedArray<T> extends AbstractList<T> implements RandomAccess, Cloneable { diff --git a/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/util/TmfSortedArrayList.java b/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/util/TmfSortedArrayList.java index fa52bdb531..56a623d287 100644 --- a/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/util/TmfSortedArrayList.java +++ b/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/util/TmfSortedArrayList.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2011 Ericsson + * Copyright (c) 2011, 2012 Ericsson * * All rights reserved. This program and the accompanying materials are * made available under the terms of the Eclipse Public License v1.0 which @@ -15,13 +15,20 @@ package org.eclipse.linuxtools.tmf.core.util; import java.util.ArrayList; /** - * <b><u>TmfSortedArrayList</u></b> - * <p> + * Implementation of a sorted array list. + * + * @version 1.0 + * @Francois Chouinard */ public class TmfSortedArrayList<T> extends ArrayList<T> { private static final long serialVersionUID = 1L; + /** + * Inserts a new value in the list according to its sorted position. + * + * @param value A value to insert + */ @SuppressWarnings("unchecked") public void insertSorted(T value) { add(value); |