| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final String[] | |
| private static final ProfileMain. | |
| private static ManagedObjectManager | |
| private static final int | |
| private static final Random |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static void | |
| public static void | |
| private static void | |
| private static void | |
| public static void |
| itemNames | back to summary |
|---|---|
| private static final String[] itemNames | |
| items | back to summary |
|---|---|
| private static final ProfileMain. | |
| mom | back to summary |
|---|---|
| private static ManagedObjectManager mom | |
| NUM_STORES | back to summary |
|---|---|
| private static final int NUM_STORES | |
| random | back to summary |
|---|---|
| private static final Random random | |
| ProfileMain | back to summary |
|---|---|
| public ProfileMain() | |
| checkAttributes | back to summary |
|---|---|
| private static void checkAttributes(ManagedObjectManager mom, ProfileMain. | |
| initializeStores | back to summary |
|---|---|
| private static void initializeStores(ProfileMain. | |
| main | back to summary |
|---|---|
| public static void main(String[] args) throws IOException | |
| msg | back to summary |
|---|---|
| private static void msg(String arg) | |
| registerMBeans | back to summary |
|---|---|
| private static void registerMBeans(ManagedObjectManager mom, ProfileMain. | |
| run | back to summary |
|---|---|
| public static void run(boolean isWarmup, int count) throws IOException | |
| Modifier and Type | Field and Description |
|---|---|
| private double | |
| private String | |
| private double |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | |
| pack-priv double | |
| pack-priv String | |
| pack-priv double |
| mass | back to summary |
|---|---|
| private double mass | |
| name | back to summary |
|---|---|
| private String name
| |
| size | back to summary |
|---|---|
| private double size | |
| Item | back to summary |
|---|---|
| public Item(String name, double size, double mass) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| mass | back to summary |
|---|---|
pack-priv double mass()
| |
| name | back to summary |
|---|---|
pack-priv String name()
| |
| size | back to summary |
|---|---|
pack-priv double size()
| |
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| pack-priv Map | |
| pack-priv List | |
| pack-priv List | |
| pack-priv String |
| items | back to summary |
|---|---|
| private List<ProfileMain. | |
| stores | back to summary |
|---|---|
| private List<ProfileMain. | |
| MyRoot | back to summary |
|---|---|
| public MyRoot() | |
| addItem | back to summary |
|---|---|
| public void addItem(ProfileMain. | |
| addStore | back to summary |
|---|---|
| public void addStore(ProfileMain. | |
| getItemLocations | back to summary |
|---|---|
pack-priv Map
| |
| getItems | back to summary |
|---|---|
pack-priv List
| |
| getStores | back to summary |
|---|---|
pack-priv List
| |
| name | back to summary |
|---|---|
pack-priv String name()
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Map | |
| private String |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | |
| pack-priv Map | |
| pack-priv String |
| contents | back to summary |
|---|---|
| pack-priv Map<ProfileMain. | |
| name | back to summary |
|---|---|
| private String name | |
| Store | back to summary |
|---|---|
| public Store(String name) | |
| addItem | back to summary |
|---|---|
| public void addItem(ProfileMain. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| inventory | back to summary |
|---|---|
pack-priv Map
| |
| name | back to summary |
|---|---|
pack-priv String name()
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void |
| durations | back to summary |
|---|---|
| private List<Pair<String, Long>> durations | |
| start | back to summary |
|---|---|
| private long start | |
| Timings | back to summary |
|---|---|
| public Timings() | |
| add | back to summary |
|---|---|
| public void add(String msg) | |
| dump | back to summary |
|---|---|
| public void dump(String msg) | |