class StreamKey extends Object
Modifier and Type | Field and Description |
---|---|
private File |
file
Holds the File attribute for the associated stream.
|
private int |
hash
Holds the cached value of the file field's hashCode.
|
private StreamType |
type
Holds the "enumeration" type for the associated stream.
|
Constructor and Description |
---|
StreamKey(File file,
StreamType type)
Simple constructor that accepts File and StreamType
arguments and then assigns them to the appropriate internal fields.
|
private File file
private StreamType type
private int hash
StreamKey(File file, StreamType type)
null
. The File
argument must represent an absolute pathname.IllegalArgumentException
- thrown if either of the arguments are
null or if the file
argument does not represent an
absolute pathname.Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.