public class Profile extends ArrayList<ProfileItem>
| Modifier and Type | Field and Description |
|---|---|
protected int |
maxProfileItemHeight |
modCount| Constructor and Description |
|---|
Profile()
It constructs the prophet file.
|
Profile(short type)
It constructs the profile of a given type (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToProfile(int a,
int b,
int val)
It adds given amount (val) to the profile between a and b.
|
int |
max()
It returns the max height of the profile item encountered in the profile.
|
String |
toString() |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAllfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic Profile()
public Profile(short type)
type - type of the profile (cumul=0, diffn=1)public void addToProfile(int a,
int b,
int val)
a - the minimum range at which it is being added.b - the maximum range at which it is being added.val - the amount by which the profiles is updated.public int max()
public String toString()
toString in class AbstractCollection<ProfileItem>Copyright © 2022. All rights reserved.