Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the meaning of "non-opaque values" in Java 7?

Tags:

java-7

Java 7's AttributeView will let you create and update non-opaque values associated with objects in a file system. What does that mean?

like image 753
SKADIN Avatar asked Nov 04 '22 18:11

SKADIN


1 Answers

Opaque values are abstract items that you can pass around but can't see or change. A good example is a file handle provided by the operating system - you can get one and pass it to other functions that require a file handle, but you have no way of knowing what it actually is.

For example, an opaque value of a file might be the physical location of the home block of the file on a disk - something which exists, but which you are not allowed to read or write.

like image 70
ddyer Avatar answered Dec 15 '22 15:12

ddyer