Go to the documentation of this file.
19package org.sleuthkit.autopsy.datasourcesummary.uiutils;
22import java.util.Collections;
35 private final Comparable<?>
key;
63 private final Comparable<?>
key;
65 private final List<BarChartItem>
items;
77 this.items = (
items ==
null) ? Collections.emptyList() : Collections.unmodifiableList(
items);
106 public static class OrderedKey implements Comparable<OrderedKey> {
126 Object getKeyValue() {
145 return Integer.compare(this.getKeyIndex(), o.getKeyIndex());
162 if (getClass() != obj.getClass()) {
166 if (this.keyIndex != other.
keyIndex) {
175 return this.getKeyValue() ==
null ? null : this.getKeyValue().toString();
BarChartItem(Comparable<?> key, double value)
OrderedKey(Object keyValue, int keyIndex)
int compareTo(OrderedKey o)
boolean equals(Object obj)
BarChartSeries(Comparable<?> key, Color color, List< BarChartItem > items)
final List< BarChartItem > items
List< BarChartItem > getItems()
Copyright © 2012-2024 Sleuth Kit Labs. Generated on:
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.