Java Code Examples for java.nio.file.attribute.BasicFileAttributes.lastAccessTime()

The following are Jave code examples for showing how to use lastAccessTime() of the java.nio.file.attribute.BasicFileAttributes class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: dataset-lib   File: StringKey.java   Source Code and License Vote up 6 votes
StringKey(String title, String tags, BasicFileAttributes fileAttributes, String hashCode, Date importTime, int indexLoc,String filepath,ConcurrentHashMap wordOccurences) {
    list[0] = title;
    list[1] = tags;
    UUID uuid = UUID.randomUUID();
    list[2] = (UUID)uuid;
    list[3] = fileAttributes;
    list[4] = hashCode;
    list[5] = fileAttributes.creationTime();
    list[6] = importTime;
    list[7] = fileAttributes.lastAccessTime();
    list[8] = 0;
    list[9] = list[8] / (list[7].getTime() - list[6].getTime());
    list[11] = 0;
    list[12]=filepath;
    list[13]=wordOccurences;
    list[14]=Integer.toHexString(this.hashCode());
}