mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
18 lines
381 B
Java
18 lines
381 B
Java
package java.io;
|
|
|
|
public class FileDescriptor {
|
|
public static final FileDescriptor in = new FileDescriptor(0);
|
|
public static final FileDescriptor out = new FileDescriptor(1);
|
|
public static final FileDescriptor err = new FileDescriptor(2);
|
|
|
|
final int value;
|
|
|
|
private FileDescriptor(int value) {
|
|
this.value = value;
|
|
}
|
|
|
|
public FileDescriptor() {
|
|
this(-1);
|
|
}
|
|
}
|