Autopsy
4.19.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits Comparator< BlackboardAttribute >.
Public Member Functions | |
int | compare (BlackboardAttribute attribute1, BlackboardAttribute attribute2) |
Private Member Functions | |
int | compare (BlackboardAttribute.Type type, BlackboardAttribute attribute1, BlackboardAttribute attribute2) |
Private Attributes | |
final SortOrder | direction |
Compares the value of two BlackboardAttributes that are of the same type. This comparator is specialized for data source summary and only supports the basic attribute types of string, integer, long, datetime (long), and double.
Note: A runtime exception will be thrown from the compare if the attributes are not of the same type or if their type is not supported.
Definition at line 308 of file DataSourceInfoUtilities.java.
int org.sleuthkit.autopsy.datasourcesummary.datamodel.DataSourceInfoUtilities.AttributeComparator.compare | ( | BlackboardAttribute | attribute1, |
BlackboardAttribute | attribute2 | ||
) |
Definition at line 317 of file DataSourceInfoUtilities.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.DataSourceInfoUtilities.SortOrder.DESCENDING.
|
private |
Compared two attributes of the given type. Note, that not all attribute types are supported. A runtime exception will be thrown if an unsupported attribute is supplied.
type | Attribute type. |
attribute1 | First attribute to compare. |
attribute2 | Second attribute to compare. |
Definition at line 342 of file DataSourceInfoUtilities.java.
|
private |
Definition at line 310 of file DataSourceInfoUtilities.java.
Copyright © 2012-2021 Basis Technology. Generated on: Thu Sep 30 2021
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.