public class File extends Object implements Serializable, Comparable<File>
User interfaces and operating systems use system-dependent pathname strings to name files and directories. This class presents an abstract, system-independent view of hierarchical pathnames. An abstract pathname has two components:
"/"
for the UNIX root
directory, or "\\\\"
for a Microsoft Windows UNC pathname, and
The conversion of a pathname string to or from an abstract pathname is
inherently system-dependent. When an abstract pathname is converted into a
pathname string, each name is separated from the next by a single copy of
the default separator character. The default name-separator
character is defined by the system property file.separator
, and
is made available in the public static fields
and separator
of this class.
When a pathname string is converted into an abstract pathname, the names
within it may be separated by the default name-separator character or by any
other name-separator character that is supported by the underlying system.
separatorChar
A pathname, whether abstract or in string form, may be either
absolute or relative.  A relative pathname, in contrast, must be interpreted in terms of
information taken from some other pathname. By default the classes in the
java.io
package always resolve relative pathnames against the
current user directory. This directory is named by the system property
user.dir
, and is typically the directory in which the Java
virtual machine was invoked.
The parent of an abstract pathname may be obtained by invoking
the getParent()
method of this class and consists of the pathname's
prefix and each name in the pathname's name sequence except for the last.
Each directory's absolute pathname is an ancestor of any File
object with an absolute abstract pathname which begins with the directory's
absolute pathname. For example, the directory denoted by the abstract
pathname "/usr" is an ancestor of the directory denoted by the
pathname "/usr/local/bin".
The prefix concept is used to handle root directories on UNIX platforms, and drive specifiers, root directories and UNC pathnames on Microsoft Windows platforms, as follows:
"/"
. Relative pathnames have no prefix. The abstract pathname
denoting the root directory has the prefix "/"
and an empty
name sequence.
":"
and
possibly followed by "\\"
if the pathname is absolute. The
prefix of a UNC pathname is "\\\\"
; the hostname and the share
name are the first two names in the name sequence. A relative pathname that
does not specify a drive has no prefix.
Instances of this class may or may not denote an actual file-system object such as a file or a directory. If it does denote such an object then that object resides in a partition. A partition is an operating system-specific portion of storage for a file system. A single storage device (e.g. a physical disk-drive, flash memory, CD-ROM) may contain multiple partitions. The object, if any, will reside on the partition named by some ancestor of the absolute form of this pathname.
A file system may implement restrictions to certain operations on the actual file-system object, such as reading, writing, and executing. These restrictions are collectively known as access permissions. The file system may have multiple sets of access permissions on a single object. For example, one set may apply to the object's owner, and another may apply to all other users. The access permissions on an object may cause some methods in this class to fail.
Instances of the File
class are immutable; that is, once
created, the abstract pathname represented by a File
object
will never change.
java.nio.file
package The java.nio.file
package defines interfaces and classes for the Java virtual machine to access
files, file attributes, and file systems. This API may be used to overcome
many of the limitations of the java.io.File
class.
The toPath
method may be used to obtain a Path
that uses the abstract path represented by a File
object to
locate a file. The resulting Path
may be used with the Files
class to provide more efficient and extensive access to
additional file operations, file attributes, and I/O exceptions to help
diagnose errors when an operation on a file fails.
| Modifier and Type | Field and Description |
|---|---|
static String |
pathSeparator
The system-dependent path-separator character, represented as a string
for convenience.
|
static char |
pathSeparatorChar
The system-dependent path-separator character.
|
static String |
separator
The system-dependent default name-separator character, represented as a
string for convenience.
|
static char |
separatorChar
The system-dependent default name-separator character.
|
| Constructor and Description |
|---|
File(File parent,
String child)
Creates a new
File instance from a parent abstract
pathname and a child pathname string. |
File(String pathname)
Creates a new
File instance by converting the given
pathname string into an abstract pathname. |
File(String parent,
String child)
Creates a new
File instance from a parent pathname string
and a child pathname string. |
File(URI uri)
Creates a new File instance by converting the given
file: URI into an abstract pathname.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExecute()
Tests whether the application can execute the file denoted by this
abstract pathname.
|
boolean |
canRead()
Tests whether the application can read the file denoted by this
abstract pathname.
|
boolean |
canWrite()
Tests whether the application can modify the file denoted by this
abstract pathname.
|
int |
compareTo(File pathname)
Compares two abstract pathnames lexicographically.
|
boolean |
createNewFile()
Atomically creates a new, empty file named by this abstract pathname if
and only if a file with this name does not yet exist.
|
static File |
createTempFile(String prefix,
String suffix)
Creates an empty file in the default temporary-file directory, using
the given prefix and suffix to generate its name.
|
static File |
createTempFile(String prefix,
String suffix,
File directory)
Creates a new empty file in the specified directory, using the
given prefix and suffix strings to generate its name.
|
boolean |
delete()
Deletes the file or directory denoted by this abstract pathname.
|
void |
deleteOnExit()
Requests that the file or directory denoted by this abstract
pathname be deleted when the virtual machine terminates.
|
boolean |
equals(Object obj)
Tests this abstract pathname for equality with the given object.
|
boolean |
exists()
Tests whether the file or directory denoted by this abstract pathname
exists.
|
File |
getAbsoluteFile()
Returns the absolute form of this abstract pathname.
|
String |
getAbsolutePath()
Returns the absolute pathname string of this abstract pathname.
|
File |
getCanonicalFile()
Returns the canonical form of this abstract pathname.
|
String |
getCanonicalPath()
Returns the canonical pathname string of this abstract pathname.
|
long |
getFreeSpace()
Returns the number of unallocated bytes in the partition named by this abstract path name.
|
String |
getName()
Returns the name of the file or directory denoted by this abstract
pathname.
|
String |
getParent()
Returns the pathname string of this abstract pathname's parent, or
null if this pathname does not name a parent directory. |
File |
getParentFile()
Returns the abstract pathname of this abstract pathname's parent,
or
null if this pathname does not name a parent
directory. |
String |
getPath()
Converts this abstract pathname into a pathname string.
|
long |
getTotalSpace()
Returns the size of the partition named by this
abstract pathname.
|
long |
getUsableSpace()
Returns the number of bytes available to this virtual machine on the
partition named by this abstract pathname.
|
int |
hashCode()
Computes a hash code for this abstract pathname.
|
boolean |
isAbsolute()
Tests whether this abstract pathname is absolute.
|
boolean |
isDirectory()
Tests whether the file denoted by this abstract pathname is a
directory.
|
boolean |
isFile()
Tests whether the file denoted by this abstract pathname is a normal
file.
|
boolean |
isHidden()
Tests whether the file named by this abstract pathname is a hidden
file.
|
long |
lastModified()
Returns the time that the file denoted by this abstract pathname was
last modified.
|
long |
length()
Returns the length of the file denoted by this abstract pathname.
|
String[] |
list()
Returns an array of strings naming the files and directories in the
directory denoted by this abstract pathname.
|
String[] |
list(FilenameFilter filter)
Returns an array of strings naming the files and directories in the
directory denoted by this abstract pathname that satisfy the specified
filter.
|
File[] |
listFiles()
Returns an array of abstract pathnames denoting the files in the
directory denoted by this abstract pathname.
|
File[] |
listFiles(FileFilter filter)
Returns an array of abstract pathnames denoting the files and
directories in the directory denoted by this abstract pathname that
satisfy the specified filter.
|
File[] |
listFiles(FilenameFilter filter)
Returns an array of abstract pathnames denoting the files and
directories in the directory denoted by this abstract pathname that
satisfy the specified filter.
|
static File[] |
listRoots()
List the available filesystem roots.
|
boolean |
mkdir()
Creates the directory named by this abstract pathname.
|
boolean |
mkdirs()
Creates the directory named by this abstract pathname, including any
necessary but nonexistent parent directories.
|
boolean |
renameTo(File dest)
Renames the file denoted by this abstract pathname.
|
boolean |
setExecutable(boolean executable)
A convenience method to set the owner's execute permission for this
abstract pathname.
|
boolean |
setExecutable(boolean executable,
boolean ownerOnly)
Sets the owner's or everybody's execute permission for this abstract
pathname.
|
boolean |
setLastModified(long time)
Sets the last-modified time of the file or directory named by this
abstract pathname.
|
boolean |
setReadable(boolean readable)
A convenience method to set the owner's read permission for this abstract
pathname.
|
boolean |
setReadable(boolean readable,
boolean ownerOnly)
Sets the owner's or everybody's read permission for this abstract
pathname.
|
boolean |
setReadOnly()
Marks the file or directory named by this abstract pathname so that
only read operations are allowed.
|
boolean |
setWritable(boolean writable)
A convenience method to set the owner's write permission for this abstract
pathname.
|
boolean |
setWritable(boolean writable,
boolean ownerOnly)
Sets the owner's or everybody's write permission for this abstract
pathname.
|
Path |
toPath()
Returns a
java.nio.file.Path object constructed from the
this abstract path. |
String |
toString()
Returns the pathname string of this abstract pathname.
|
URI |
toURI()
Constructs a file: URI that represents this abstract pathname.
|
URL |
toURL()
|
public static final char separatorChar
file.separator
. On UNIX systems the value of this
field is '/'
; on Microsoft Windows systems it is '\\'
.System.getProperty(java.lang.String)
public static final String separator
separatorChar
.public static final char pathSeparatorChar
path.separator
. This character is used to
separate filenames in a sequence of files given as a path list.
On UNIX systems, this character is ':'
; on Microsoft Windows systems it
is ';'
.System.getProperty(java.lang.String)
public static final String pathSeparator
pathSeparatorChar
.public File(String pathname)
File
instance by converting the given
pathname string into an abstract pathname. If the given string is
the empty string, then the result is the empty abstract pathname.pathname
- A pathname stringNullPointerException
- If the pathname
argument is null
public File(String parent, String child)
File
instance from a parent pathname string
and a child pathname string.
If parent
is null
then the new
File
instance is created as if by invoking the
single-argument File
constructor on the given
child
pathname string.
Otherwise the parent
pathname string is taken to denote
a directory, and the child
pathname string is taken to
denote either a directory or a file. If the child
pathname
string is absolute then it is converted into a relative pathname in a
system-dependent way. If parent
is the empty string then
the new File
instance is created by converting
child
into an abstract pathname and resolving the result
against a system-dependent default directory. Otherwise each pathname
string is converted into an abstract pathname and the child abstract
pathname is resolved against the parent.
parent
- The parent pathname stringchild
- The child pathname stringNullPointerException
- If child
is null
public File(File parent, String child)
File
instance from a parent abstract
pathname and a child pathname string.
If parent
is null
then the new
File
instance is created as if by invoking the
single-argument File
constructor on the given
child
pathname string.
Otherwise the parent
abstract pathname is taken to
denote a directory, and the child
pathname string is taken
to denote either a directory or a file. If the child
pathname string is absolute then it is converted into a relative
pathname in a system-dependent way. If parent
is the empty
abstract pathname then the new File
instance is created by
converting child
into an abstract pathname and resolving
the result against a system-dependent default directory. Otherwise each
pathname string is converted into an abstract pathname and the child
abstract pathname is resolved against the parent.
parent
- The parent abstract pathnamechild
- The child pathname stringNullPointerException
- If child
is null
public File(URI uri)
The exact form of a file: URI is system-dependent, hence the transformation performed by this constructor is also system-dependent.
For a given abstract pathname f it is guaranteed that
new File( f.so long as the original abstract pathname, the URI, and the new abstract pathname are all created in (possibly different invocations of) the same Java virtual machine. This relationship typically does not hold, however, when a file: URI that is created in a virtual machine on one operating system is converted into an abstract pathname in a virtual machine on a different operating system.toURI
()).equals( f.getAbsoluteFile
())
uri
- An absolute, hierarchical URI with a scheme equal to
"file", a non-empty path component, and undefined
authority, query, and fragment componentsNullPointerException
- If uri is nullIllegalArgumentException
- If the preconditions on the parameter do not holdtoURI()
,
URI
public String getName()
public String getParent()
null
if this pathname does not name a parent directory.
The parent of an abstract pathname consists of the pathname's prefix, if any, and each name in the pathname's name sequence except for the last. If the name sequence is empty then the pathname does not name a parent directory.
null
if this pathname
does not name a parentpublic File getParentFile()
null
if this pathname does not name a parent
directory.
The parent of an abstract pathname consists of the pathname's prefix, if any, and each name in the pathname's name sequence except for the last. If the name sequence is empty then the pathname does not name a parent directory.
null
if this pathname
does not name a parentpublic String getPath()
default name-separator character
to
separate the names in the name sequence.public boolean isAbsolute()
"/"
. On Microsoft Windows systems, a
pathname is absolute if its prefix is a drive specifier followed by
"\\"
, or if its prefix is "\\\\"
.true
if this abstract pathname is absolute,
false
otherwisepublic String getAbsolutePath()
If this abstract pathname is already absolute, then the pathname
string is simply returned as if by the
method. If this abstract pathname is the empty abstract pathname then
the pathname string of the current user directory, which is named by the
system property getPath()
user.dir
, is returned. Otherwise this
pathname is resolved in a system-dependent way. On UNIX systems, a
relative pathname is made absolute by resolving it against the current
user directory. On Microsoft Windows systems, a relative pathname is made absolute
by resolving it against the current directory of the drive named by the
pathname, if any; if not, it is resolved against the current user
directory.
SecurityException
- If a required system property value cannot be accessed.isAbsolute()
public File getAbsoluteFile()
new File(this.getAbsolutePath()
)
.SecurityException
- If a required system property value cannot be accessed.public String getCanonicalPath() throws IOException
A canonical pathname is both absolute and unique. The precise
definition of canonical form is system-dependent. This method first
converts this pathname to absolute form if necessary, as if by invoking the
getAbsolutePath()
method, and then maps it to its unique form in a
system-dependent way. This typically involves removing redundant names
such as "." and ".." from the pathname, resolving
symbolic links (on UNIX platforms), and converting drive letters to a
standard case (on Microsoft Windows platforms).
Every pathname that denotes an existing file or directory has a unique canonical form. Every pathname that denotes a nonexistent file or directory also has a unique canonical form. The canonical form of the pathname of a nonexistent file or directory may be different from the canonical form of the same pathname after the file or directory is created. Similarly, the canonical form of the pathname of an existing file or directory may be different from the canonical form of the same pathname after the file or directory is deleted.
IOException
- If an I/O error occurs, which is possible because the
construction of the canonical pathname may require
filesystem queriesSecurityException
- If a required system property value cannot be accessed, or
if a security manager exists and its SecurityManager.checkRead(java.io.FileDescriptor)
method denies
read access to the filePath.toRealPath(java.nio.file.LinkOption...)
public File getCanonicalFile() throws IOException
new File(this.getCanonicalPath()
)
.IOException
- If an I/O error occurs, which is possible because the
construction of the canonical pathname may require
filesystem queriesSecurityException
- If a required system property value cannot be accessed, or
if a security manager exists and its SecurityManager.checkRead(java.io.FileDescriptor)
method denies
read access to the filePath.toRealPath(java.nio.file.LinkOption...)
@Deprecated public URL toURL() throws MalformedURLException
toURI
method, and then converting the URI into a URL
via the URI.toURL
method.file:
URL. The
exact form of the URL is system-dependent. If it can be determined that
the file denoted by this abstract pathname is a directory, then the
resulting URL will end with a slash.MalformedURLException
- If the path cannot be parsed as a URLtoURI()
,
URI
,
URI.toURL()
,
URL
public URI toURI()
The exact form of the URI is system-dependent. If it can be determined that the file denoted by this abstract pathname is a directory, then the resulting URI will end with a slash.
For a given abstract pathname f, it is guaranteed that
newso long as the original abstract pathname, the URI, and the new abstract pathname are all created in (possibly different invocations of) the same Java virtual machine. Due to the system-dependent nature of abstract pathnames, however, this relationship typically does not hold when a file: URI that is created in a virtual machine on one operating system is converted into an abstract pathname in a virtual machine on a different operating system.File
( f.toURI()).equals( f.getAbsoluteFile
())
Note that when this abstract pathname represents a UNC pathname then
all components of the UNC (including the server name component) are encoded
in the URI
path. The authority component is undefined, meaning
that it is represented as null
. The Path
class defines the
toUri
method to encode the server name in the authority
component of the resulting URI
. The toPath
method
may be used to obtain a Path
representing this abstract pathname.
SecurityException
- If a required system property value cannot
be accessed.File(java.net.URI)
,
URI
,
URI.toURL()
public boolean canRead()
true
even though the file does not have read permissions.true
if and only if the file specified by this
abstract pathname exists and can be read by the
application; false
otherwiseSecurityException
- If a security manager exists and its SecurityManager.checkRead(java.lang.String)
method denies read access to the filepublic boolean canWrite()
true
even though the file is marked read-only.true
if and only if the file system actually
contains a file denoted by this abstract pathname and
the application is allowed to write to the file;
false
otherwise.SecurityException
- If a security manager exists and its SecurityManager.checkWrite(java.lang.String)
method denies write access to the filepublic boolean exists()
true
if and only if the file or directory denoted
by this abstract pathname exists; false
otherwiseSecurityException
- If a security manager exists and its SecurityManager.checkRead(java.lang.String)
method denies read access to the file or directorypublic boolean isDirectory()
Where it is required to distinguish an I/O exception from the case
that the file is not a directory, or where several attributes of the
same file are required at the same time, then the Files.readAttributes
method may be used.
true
if and only if the file denoted by this
abstract pathname exists and is a directory;
false
otherwiseSecurityException
- If a security manager exists and its SecurityManager.checkRead(java.lang.String)
method denies read access to the filepublic boolean isFile()
Where it is required to distinguish an I/O exception from the case
that the file is not a normal file, or where several attributes of the
same file are required at the same time, then the Files.readAttributes
method may be used.
true
if and only if the file denoted by this
abstract pathname exists and is a normal file;
false
otherwiseSecurityException
- If a security manager exists and its SecurityManager.checkRead(java.lang.String)
method denies read access to the filepublic boolean isHidden()
'.'
). On Microsoft Windows systems, a file is
considered to be hidden if it has been marked as such in the filesystem.true
if and only if the file denoted by this
abstract pathname is hidden according to the conventions of the
underlying platformSecurityException
- If a security manager exists and its SecurityManager.checkRead(java.lang.String)
method denies read access to the filepublic long lastModified()
Where it is required to distinguish an I/O exception from the case
where 0L
is returned, or where several attributes of the
same file are required at the same time, or where the time of last
access or the creation time are required, then the Files.readAttributes
method may be used.
long
value representing the time the file was
last modified, measured in milliseconds since the epoch
(00:00:00 GMT, January 1, 1970), or 0L
if the
file does not exist or if an I/O error occursSecurityException
- If a security manager exists and its SecurityManager.checkRead(java.lang.String)
method denies read access to the filepublic long length()
Where it is required to distinguish an I/O exception from the case
that 0L
is returned, or where several attributes of the same file
are required at the same time, then the Files.readAttributes
method may be used.
0L
if the file does not exist. Some
operating systems may return 0L
for pathnames
denoting system-dependent entities such as devices or pipes.SecurityException
- If a security manager exists and its SecurityManager.checkRead(java.lang.String)
method denies read access to the filepublic boolean createNewFile() throws IOException
Note: this method should not be used for file-locking, as
the resulting protocol cannot be made to work reliably. The
FileLock
facility should be used instead.
true
if the named file does not exist and was
successfully created; false
if the named file
already existsIOException
- If an I/O error occurredSecurityException
- If a security manager exists and its SecurityManager.checkWrite(java.lang.String)
method denies write access to the filepublic boolean delete()
Note that the Files
class defines the delete
method to throw an IOException
when a file cannot be deleted. This is useful for error reporting and to
diagnose why a file cannot be deleted.
true
if and only if the file or directory is
successfully deleted; false
otherwiseSecurityException
- If a security manager exists and its SecurityManager.checkDelete(java.lang.String)
method denies
delete access to the filepublic void deleteOnExit()
Once deletion has been requested, it is not possible to cancel the request. This method should therefore be used with care.
Note: this method should not be used for file-locking, as
the resulting protocol cannot be made to work reliably. The
FileLock
facility should be used instead.
SecurityException
- If a security manager exists and its SecurityManager.checkDelete(java.lang.String)
method denies
delete access to the filedelete()
public String[] list()
If this abstract pathname does not denote a directory, then this
method returns null
. Otherwise an array of strings is
returned, one for each file or directory in the directory. Names
denoting the directory itself and the directory's parent directory are
not included in the result. Each string is a file name rather than a
complete path.
There is no guarantee that the name strings in the resulting array will appear in any specific order; they are not, in particular, guaranteed to appear in alphabetical order.
Note that the Files
class defines the newDirectoryStream
method to
open a directory and iterate over the names of the files in the directory.
This may use less resources when working with very large directories, and
may be more responsive when working with remote directories.
null
if
this abstract pathname does not denote a directory, or if an
I/O error occurs.SecurityException
- If a security manager exists and its SecurityManager.checkRead(String)
method denies read access to
the directorypublic String[] list(FilenameFilter filter)
list()
method, except that the strings in the returned array
must satisfy the filter. If the given filter
is null
then all names are accepted. Otherwise, a name satisfies the filter if
and only if the value true
results when the FilenameFilter.accept(File, String)
method
of the filter is invoked on this abstract pathname and the name of a
file or directory in the directory that it denotes.filter
- A filename filterfilter
. The array will be empty if the
directory is empty or if no names were accepted by the filter.
Returns null
if this abstract pathname does not denote
a directory, or if an I/O error occurs.SecurityException
- If a security manager exists and its SecurityManager.checkRead(String)
method denies read access to
the directoryFiles.newDirectoryStream(Path,String)
public File[] listFiles()
If this abstract pathname does not denote a directory, then this
method returns null
. Otherwise an array of File
objects
is returned, one for each file or directory in the directory. Pathnames
denoting the directory itself and the directory's parent directory are
not included in the result. Each resulting abstract pathname is
constructed from this abstract pathname using the File(File, String)
constructor. Therefore if this
pathname is absolute then each resulting pathname is absolute; if this
pathname is relative then each resulting pathname will be relative to
the same directory.
There is no guarantee that the name strings in the resulting array will appear in any specific order; they are not, in particular, guaranteed to appear in alphabetical order.
Note that the Files
class defines the newDirectoryStream
method
to open a directory and iterate over the names of the files in the
directory. This may use less resources when working with very large
directories.
null
if this abstract pathname does not denote a
directory, or if an I/O error occurs.SecurityException
- If a security manager exists and its SecurityManager.checkRead(String)
method denies read access to
the directorypublic File[] listFiles(FilenameFilter filter)
listFiles()
method, except that the pathnames in
the returned array must satisfy the filter. If the given filter
is null
then all pathnames are accepted. Otherwise, a pathname
satisfies the filter if and only if the value true
results when
the FilenameFilter.accept(File, String)
method of the filter is
invoked on this abstract pathname and the name of a file or directory in
the directory that it denotes.filter
- A filename filternull
if this abstract pathname does not denote a
directory, or if an I/O error occurs.SecurityException
- If a security manager exists and its SecurityManager.checkRead(String)
method denies read access to
the directoryFiles.newDirectoryStream(Path,String)
public File[] listFiles(FileFilter filter)
listFiles()
method, except that the pathnames in
the returned array must satisfy the filter. If the given filter
is null
then all pathnames are accepted. Otherwise, a pathname
satisfies the filter if and only if the value true
results when
the FileFilter.accept(File)
method of the
filter is invoked on the pathname.filter
- A file filternull
if this abstract pathname does not denote a
directory, or if an I/O error occurs.SecurityException
- If a security manager exists and its SecurityManager.checkRead(String)
method denies read access to
the directoryFiles.newDirectoryStream(Path,java.nio.file.DirectoryStream.Filter)
public boolean mkdir()
true
if and only if the directory was
created; false
otherwiseSecurityException
- If a security manager exists and its SecurityManager.checkWrite(java.lang.String)
method does not permit the named directory to be createdpublic boolean mkdirs()
true
if and only if the directory was created,
along with all necessary parent directories; false
otherwiseSecurityException
- If a security manager exists and its SecurityManager.checkRead(java.lang.String)
method does not permit verification of the existence of the
named directory and all necessary parent directories; or if
the SecurityManager.checkWrite(java.lang.String)
method does not permit the named directory and all necessary
parent directories to be createdpublic boolean renameTo(File dest)
Many aspects of the behavior of this method are inherently platform-dependent: The rename operation might not be able to move a file from one filesystem to another, it might not be atomic, and it might not succeed if a file with the destination abstract pathname already exists. The return value should always be checked to make sure that the rename operation was successful.
Note that the Files
class defines the move
method to move or rename a file in a
platform independent manner.
dest
- The new abstract pathname for the named filetrue
if and only if the renaming succeeded;
false
otherwiseSecurityException
- If a security manager exists and its SecurityManager.checkWrite(java.lang.String)
method denies write access to either the old or new pathnamesNullPointerException
- If parameter dest
is null
public boolean setLastModified(long time)
All platforms support file-modification times to the nearest second,
but some provide more precision. The argument will be truncated to fit
the supported precision. If the operation succeeds and no intervening
operations on the file take place, then the next invocation of the
method will return the (possibly
truncated) lastModified()
time
argument that was passed to this method.
time
- The new last-modified time, measured in milliseconds since
the epoch (00:00:00 GMT, January 1, 1970)true
if and only if the operation succeeded;
false
otherwiseIllegalArgumentException
- If the argument is negativeSecurityException
- If a security manager exists and its SecurityManager.checkWrite(java.lang.String)
method denies write access to the named filepublic boolean setReadOnly()
true
if and only if the operation succeeded;
false
otherwiseSecurityException
- If a security manager exists and its SecurityManager.checkWrite(java.lang.String)
method denies write access to the named filepublic boolean setWritable(boolean writable, boolean ownerOnly)
The Files
class defines methods that operate on
file attributes including file permissions. This may be used when finer
manipulation of file permissions is required.
writable
- If true
, sets the access permission to allow write
operations; if false
to disallow write operationsownerOnly
- If true
, the write permission applies only to the
owner's write permission; otherwise, it applies to everybody. If
the underlying file system can not distinguish the owner's write
permission from that of others, then the permission will apply to
everybody, regardless of this value.true
if and only if the operation succeeded. The
operation will fail if the user does not have permission to change
the access permissions of this abstract pathname.SecurityException
- If a security manager exists and its SecurityManager.checkWrite(java.lang.String)
method denies write access to the named filepublic boolean setWritable(boolean writable)
An invocation of this method of the form file.setWritable(arg) behaves in exactly the same way as the invocation
file.setWritable(arg, true)
writable
- If true
, sets the access permission to allow write
operations; if false
to disallow write operationstrue
if and only if the operation succeeded. The
operation will fail if the user does not have permission to
change the access permissions of this abstract pathname.SecurityException
- If a security manager exists and its SecurityManager.checkWrite(java.lang.String)
method denies write access to the filepublic boolean setReadable(boolean readable, boolean ownerOnly)
The Files
class defines methods that operate on
file attributes including file permissions. This may be used when finer
manipulation of file permissions is required.
readable
- If true
, sets the access permission to allow read
operations; if false
to disallow read operationsownerOnly
- If true
, the read permission applies only to the
owner's read permission; otherwise, it applies to everybody. If
the underlying file system can not distinguish the owner's read
permission from that of others, then the permission will apply to
everybody, regardless of this value.true
if and only if the operation succeeded. The
operation will fail if the user does not have permission to
change the access permissions of this abstract pathname. If
readable
is false
and the underlying
file system does not implement a read permission, then the
operation will fail.SecurityException
- If a security manager exists and its SecurityManager.checkWrite(java.lang.String)
method denies write access to the filepublic boolean setReadable(boolean readable)
An invocation of this method of the form file.setReadable(arg) behaves in exactly the same way as the invocation
file.setReadable(arg, true)
readable
- If true
, sets the access permission to allow read
operations; if false
to disallow read operationstrue
if and only if the operation succeeded. The
operation will fail if the user does not have permission to
change the access permissions of this abstract pathname. If
readable
is false
and the underlying
file system does not implement a read permission, then the
operation will fail.SecurityException
- If a security manager exists and its SecurityManager.checkWrite(java.lang.String)
method denies write access to the filepublic boolean setExecutable(boolean executable, boolean ownerOnly)
The Files
class defines methods that operate on
file attributes including file permissions. This may be used when finer
manipulation of file permissions is required.
executable
- If true
, sets the access permission to allow execute
operations; if false
to disallow execute operationsownerOnly
- If true
, the execute permission applies only to the
owner's execute permission; otherwise, it applies to everybody.
If the underlying file system can not distinguish the owner's
execute permission from that of others, then the permission will
apply to everybody, regardless of this value.true
if and only if the operation succeeded. The
operation will fail if the user does not have permission to
change the access permissions of this abstract pathname. If
executable
is false
and the underlying
file system does not implement an execute permission, then the
operation will fail.SecurityException
- If a security manager exists and its SecurityManager.checkWrite(java.lang.String)
method denies write access to the filepublic boolean setExecutable(boolean executable)
An invocation of this method of the form file.setExcutable(arg) behaves in exactly the same way as the invocation
file.setExecutable(arg, true)
executable
- If true
, sets the access permission to allow execute
operations; if false
to disallow execute operationstrue
if and only if the operation succeeded. The
operation will fail if the user does not have permission to
change the access permissions of this abstract pathname. If
executable
is false
and the underlying
file system does not implement an execute permission, then the
operation will fail.SecurityException
- If a security manager exists and its SecurityManager.checkWrite(java.lang.String)
method denies write access to the filepublic boolean canExecute()
true
even though the file does not have execute permissions.true
if and only if the abstract pathname exists
and the application is allowed to execute the fileSecurityException
- If a security manager exists and its SecurityManager.checkExec(java.lang.String)
method denies execute access to the filepublic static File[] listRoots()
A particular Java platform may support zero or more
hierarchically-organized file systems. Each file system has a
root
directory from which all other files in that file system
can be reached. Windows platforms, for example, have a root directory
for each active drive; UNIX platforms have a single root directory,
namely "/"
. The set of available filesystem roots is affected
by various system-level operations such as the insertion or ejection of
removable media and the disconnecting or unmounting of physical or
virtual disk drives.
This method returns an array of File
objects that denote the
root directories of the available filesystem roots. It is guaranteed
that the canonical pathname of any file physically present on the local
machine will begin with one of the roots returned by this method.
The canonical pathname of a file that resides on some other machine
and is accessed via a remote-filesystem protocol such as SMB or NFS may
or may not begin with one of the roots returned by this method. If the
pathname of a remote file is syntactically indistinguishable from the
pathname of a local file then it will begin with one of the roots
returned by this method. Thus, for example, File
objects
denoting the root directories of the mapped network drives of a Windows
platform will be returned by this method, while File
objects
containing UNC pathnames will not be returned by this method.
Unlike most methods in this class, this method does not throw
security exceptions. If a security manager exists and its SecurityManager.checkRead(String)
method denies read access to a
particular root directory, then that directory will not appear in the
result.
File
objects denoting the available
filesystem roots, or null
if the set of roots could not
be determined. The array will be empty if there are no
filesystem roots.FileStore
public long getTotalSpace()
SecurityException
- If a security manager has been installed and it denies
RuntimePermission
("getFileSystemAttributes")
or its SecurityManager.checkRead(String)
method denies
read access to the file named by this abstract pathnamepublic long getFreeSpace()
The returned number of unallocated bytes is a hint, but not a guarantee, that it is possible to use most or any of these bytes. The number of unallocated bytes is most likely to be accurate immediately after this call. It is likely to be made inaccurate by any external I/O operations including those made on the system outside of this virtual machine. This method makes no guarantee that write operations to this file system will succeed.
getTotalSpace()
.SecurityException
- If a security manager has been installed and it denies
RuntimePermission
("getFileSystemAttributes")
or its SecurityManager.checkRead(String)
method denies
read access to the file named by this abstract pathnamepublic long getUsableSpace()
getFreeSpace()
.
The returned number of available bytes is a hint, but not a guarantee, that it is possible to use most or any of these bytes. The number of unallocated bytes is most likely to be accurate immediately after this call. It is likely to be made inaccurate by any external I/O operations including those made on the system outside of this virtual machine. This method makes no guarantee that write operations to this file system will succeed.
getFreeSpace()
.SecurityException
- If a security manager has been installed and it denies
RuntimePermission
("getFileSystemAttributes")
or its SecurityManager.checkRead(String)
method denies
read access to the file named by this abstract pathnamepublic static File createTempFile(String prefix, String suffix, File directory) throws IOException
Creates a new empty file in the specified directory, using the given prefix and suffix strings to generate its name. If this method returns successfully then it is guaranteed that:
deleteOnExit()
method.
The prefix
argument must be at least three characters
long. It is recommended that the prefix be a short, meaningful string
such as "hjb"
or "mail"
. The
suffix
argument may be null
, in which case the
suffix ".tmp"
will be used.
To create the new file, the prefix and the suffix may first be
adjusted to fit the limitations of the underlying platform. If the
prefix is too long then it will be truncated, but its first three
characters will always be preserved. If the suffix is too long then it
too will be truncated, but if it begins with a period character
('.'
) then the period and the first three characters
following it will always be preserved. Once these adjustments have been
made the name of the new file will be generated by concatenating the
prefix, five or more internally-generated characters, and the suffix.
If the directory
argument is null
then the
system-dependent default temporary-file directory will be used. The
default temporary-file directory is specified by the system property
java.io.tmpdir
. On UNIX systems the default value of this
property is typically "/tmp"
or "/var/tmp"
; on
Microsoft Windows systems it is typically "C:\\WINNT\\TEMP"
. A different
value may be given to this system property when the Java virtual machine
is invoked, but programmatic changes to this property are not guaranteed
to have any effect upon the temporary directory used by this method.
prefix
- The prefix string to be used in generating the file's
name; must be at least three characters longsuffix
- The suffix string to be used in generating the file's
name; may be null
, in which case the
suffix ".tmp"
will be useddirectory
- The directory in which the file is to be created, or
null
if the default temporary-file
directory is to be usedIllegalArgumentException
- If the prefix
argument contains fewer than three
charactersIOException
- If a file could not be createdSecurityException
- If a security manager exists and its SecurityManager.checkWrite(java.lang.String)
method does not allow a file to be createdpublic static File createTempFile(String prefix, String suffix) throws IOException
createTempFile(prefix, suffix, null)
.
The Files.createTempFile
method provides an alternative method to create an
empty file in the temporary-file directory. Files created by that method
may have more restrictive access permissions to files created by this
method and so may be more suited to security-sensitive applications.
prefix
- The prefix string to be used in generating the file's
name; must be at least three characters longsuffix
- The suffix string to be used in generating the file's
name; may be null
, in which case the
suffix ".tmp"
will be usedIllegalArgumentException
- If the prefix
argument contains fewer than three
charactersIOException
- If a file could not be createdSecurityException
- If a security manager exists and its SecurityManager.checkWrite(java.lang.String)
method does not allow a file to be createdFiles.createTempDirectory(String,FileAttribute[])
public int compareTo(File pathname)
compareTo
in interface Comparable<File>
pathname
- The abstract pathname to be compared to this abstract
pathnamepublic boolean equals(Object obj)
true
if and only if the argument is not
null
and is an abstract pathname that denotes the same file
or directory as this abstract pathname. Whether or not two abstract
pathnames are equal depends upon the underlying system. On UNIX
systems, alphabetic case is significant in comparing pathnames; on Microsoft Windows
systems it is not.equals
in class Object
obj
- The object to be compared with this abstract pathnametrue
if and only if the objects are the same;
false
otherwiseObject.hashCode()
,
HashMap
public int hashCode()
1234321
. On Microsoft Windows systems, the hash
code is equal to the exclusive or of the hash code of
its pathname string converted to lower case and the decimal
value 1234321
. Locale is not taken into account on
lowercasing the pathname string.hashCode
in class Object
Object.equals(java.lang.Object)
,
System.identityHashCode(java.lang.Object)
public String toString()
getPath()
method.public Path toPath()
java.nio.file.Path
object constructed from the
this abstract path. The resulting Path
is associated with the
default-filesystem
.
The first invocation of this method works as if invoking it were equivalent to evaluating the expression:
Subsequent invocations of this method return the sameFileSystems.getDefault
().getPath
(this.getPath
());
Path
.
If this abstract pathname is the empty abstract pathname then this
method returns a Path
that may be used to access the current
user directory.
Path
constructed from this abstract pathInvalidPathException
- if a Path
object cannot be constructed from the abstract
path (see FileSystem.getPath
)Path.toFile()
Dracula Javadoc Sample, Made with Allan Im.


{{Infobox prepared food | name = Changua | image = | caption = | alternate_name = | country = Colombia | region = | creator = | course = Breakfast | type = Soup | served = | main_ingredient = Water, milk, eggs, scallions | variations = | calories = | other = }}{{for|the village in India| Changup}}{{Unreferenced|date=February 2007}}
Changua (milk soup with eggs) is a typical hearty breakfast soup of the central Andes region of Colombia, in particular in the Boyacá and Cundinamarca area, including the capital, Bogotá. The dish has Chibcha origins.
A mixture of equal amounts of water and milk is heated with a dash of salt. Once it comes to a boil, one egg per serving is cracked into the pot without breaking the yolk, and allowed to cook for about a minute whilst covered. The soup is served in a bowl, garnished with scallions, which may be fried beforehand but usually are not, curly cilantro, and a piece of stale bread called "calado" which softens in the changua. It is sometimes served with pieces of cheese which melt into the soup.
Modern versions of "Changua" include chicken stock instead of water, tomato concassee, chopped cilantro and "Choclo" Arepas.
{{soup-stub}} {{Colombia-stub}}


Hizencode
Project
(current)
Courses
(current)
Contacts
(current)
Name
Sign in
(current)
Sign up
(current)
My profile
My courses
My certificates
Manage courses
×
My profile
My courses
My certificates
Manage courses
Title
Content
Questions
Some text from question
Delete
Edit
▼
▲
Test requirements
Score required to complete test:
6/10
Add question
Save questions
Media
Name of the image
Copy link to clipboard
Add image
Save
Create/Edit question
Answers:
Some text from answer
Delete
Edit
▼
▲
Correct
Add answer
Media list:
Name of the image
Copy link to clipboard
Show media
Add media
Add/Edit answer
Media list:
Name of the image
Copy link to clipboard
Show media
Add media
Upload image
×
Choose image...
Delete media
×
Are you sure you want to delete this media?
Delete question/answer
×
Are you sure you want to delete this question/answer?

Warning!
×
Warning text


completed_samples += len(batch.actions)
batches.append(batch)
if completed_samples >= num_samples:
return EpisodeBatch.concatenate(*batches)
def obtain_exact_episodes(self,
n_eps_per_worker,
agent_update,
completed_samples += len(batch.actions)
batches.append(batch)
if completed_samples >= num_samples:
samples = EpisodeBatch.concatenate(*batches)
self.total_env_steps += sum(samples.lengths)
return samples
def obtain_exact_episodes(self,
n_eps_per_worker,
agent_update,


Model agnostic tool for decomposition of predictions from black boxes. Break Down Table shows contributions of every variable to a final prediction. Break Down Plot presents variable contributions in a concise graphical way. This package work for binary classifiers and general regression models.
| Version: | 0.1.6 |
| Depends: | R (≥ 3.0) |
| Imports: | ggplot2 |
| Suggests: | knitr, rmarkdown, e1071, kernlab, xgboost, caret, randomForest, ranger, testthat |
| Published: | 2018-06-14 |
| Author: | Przemyslaw Biecek [aut, cre], Aleksandra Grudziaz [ctb] |
| Maintainer: | Przemyslaw Biecek <przemyslaw.biecek at gmail.com> |
| BugReports: | https://github.com/pbiecek/breakDown/issues |
| License: | GPL-2 |
| URL: | https://pbiecek.github.io/breakDown/ |
| NeedsCompilation: | no |
| Citation: | breakDown citation info |
| Materials: | NEWS |
| CRAN checks: | breakDown results |
| Reference manual: | breakDown.pdf |
| Vignettes: |
model agnostic breakDown plots for caret breakDown plots for the generalised linear model breakDown plots for the linear model model agnostic breakDown plots for randomForest model agnostic breakDown plots for ranger model agnostic breakDown plots for SVM model model agnostic breakDown plots for xgboost |
| Package source: | breakDown_0.1.6.tar.gz |
| Windows binaries: | r-devel: breakDown_0.1.6.zip, r-release: breakDown_0.1.6.zip, r-oldrel: breakDown_0.1.6.zip |
| OS X binaries: | r-release: breakDown_0.1.6.tgz, r-oldrel: breakDown_0.1.6.tgz |
| Old sources: | breakDown archive |
| Reverse imports: | DALEX, live, survxai |
| Reverse suggests: | auditor |
Please use the canonical form https://CRAN.R-project.org/package=breakDown to link to this page.


Here we're limited by the time we have. It's beautiful - and we haven't even done anything to it yet! And maybe, maybe, maybe... There we go!! Everything is happy if you choose to make it that way. Just make a decision and let it go.


{% extends 'layouts/base.html' %} {% block title %} Error: Page Not Found {% endblock %} {% block content %}
Your content was not found. Sorry.


--- layout: error permalink: /404.html ---
Sorry...page you are trying to access is currently not available


This report summarizes newer versions that may be available for your project's various plugins.
| # of plugins using the latest version available | 2 | |
| # of plugins where the next version available is smaller than an incremental version update | 1 | |
| # of plugins where the next version available is an incremental version update | 4 | |
| # of plugins where the next version available is a minor version update | 12 | |
| # of plugins where the next version available is a major version update | 3 | |
| # of plugins where a dependencies section containes a dependency with an updated version | 1 |
| Status | Group Id | Artifact Id | Current Version | Next Version | Next Incremental | Next Minor | Next Major | Dependency status |
|---|---|---|---|---|---|---|---|---|
| org.apache.maven.plugins | maven-antrun-plugin | 1.8 | ||||||
| org.apache.maven.plugins | maven-assembly-plugin | 2.6 | 3.0.0 | |||||
| org.apache.maven.plugins | maven-compiler-plugin | 3.3 | 3.5 | |||||
| org.apache.maven.plugins | maven-dependency-plugin | 2.10 | 3.0.0 | |||||
| org.apache.maven.plugins | maven-failsafe-plugin | 2.19 | 2.19.1 | 2.20 | ||||
| org.apache.maven.plugins | maven-project-info-reports-plugin | 2.8.1 | 2.9 | |||||
| org.apache.maven.plugins | maven-release-plugin | 2.5.3 | ||||||
| org.apache.maven.plugins | maven-shade-plugin | 2.4.2 | 2.4.3 | 3.0.0 | ||||
| org.apache.maven.plugins | maven-surefire-plugin | 2.19 | 2.19.1 | 2.20 | ||||
| org.codehaus.mojo | build-helper-maven-plugin | 1.10 | 1.11 | 3.0.0 | ||||
| org.eclipse.jetty | jetty-maven-plugin | 9.3.6.v20151106 | 9.3.7.RC0 | 9.3.7.v20160115 | 9.4.0.v20161208 | |||
| Status | Group Id | Artifact Id | Current Version | Next Version | Next Incremental | Next Minor | Next Major | Dependency status |
| Status | Group Id | Artifact Id | Current Version | Next Version | Next Incremental | Next Minor | Next Major | Dependency status |
|---|---|---|---|---|---|---|---|---|
| org.apache.maven.plugins | maven-clean-plugin | 2.5 | 2.6 | 3.0.0 | ||||
| org.apache.maven.plugins | maven-deploy-plugin | 2.7 | 2.8 | |||||
| org.apache.maven.plugins | maven-enforcer-plugin | 1.3.1 | 1.4 | |||||
| org.apache.maven.plugins | maven-idea-plugin | 2.2 | 2.2.1 | |||||
| org.apache.maven.plugins | maven-install-plugin | 2.4 | 2.5 | |||||
| org.apache.maven.plugins | maven-jar-plugin | 2.4 | 2.5 | 3.0.0 | ||||
| org.apache.maven.plugins | maven-resources-plugin | 2.6 | 2.7 | 3.0.0 | ||||
| org.apache.maven.plugins | maven-site-plugin | 3.3 | 3.4 | |||||
| org.apache.maven.plugins | maven-source-plugin | 2.2.1 | 2.3 | 3.0.0 | ||||
| org.apache.maven.plugins | maven-war-plugin | 2.6 | 3.0.0 | |||||
| org.codehaus.mojo | buildnumber-maven-plugin | 1.3 | 1.4 | |||||
| Status | Group Id | Artifact Id | Current Version | Next Version | Next Incremental | Next Minor | Next Major | Dependency status |
| Status | No newer versions available. |
|---|---|
| Group Id | org.apache.maven.plugins |
| Artifact Id | maven-antrun-plugin |
| Current Version | 1.8 |
| Status | There is at least one newer major version available. Major updates are rarely passive. |
|---|---|
| Group Id | org.apache.maven.plugins |
| Artifact Id | maven-assembly-plugin |
| Current Version | 2.6 |
| Newer versions | 3.0.0 Next Major |
| Status | There is at least one newer minor version available. Minor updates are sometimes passive. |
|---|---|
| Group Id | org.apache.maven.plugins |
| Artifact Id | maven-clean-plugin |
| Current Version | 2.5 |
| Newer versions | 2.6 Next Minor 2.6.1 Latest Minor 3.0.0 Next Major |
| Status | There is at least one newer minor version available. Minor updates are sometimes passive. |
|---|---|
| Group Id | org.apache.maven.plugins |
| Artifact Id | maven-compiler-plugin |
| Current Version | 3.3 |
| Newer versions | 3.5 Next Minor 3.5.1 3.6.0 3.6.1 Latest Minor |
| Status | There is at least one newer major version available. Major updates are rarely passive. |
|---|---|
| Group Id | org.apache.maven.plugins |
| Artifact Id | maven-dependency-plugin |
| Current Version | 2.10 |
| Newer versions | 3.0.0 Next Major 3.0.1 Latest Major |
| Status | There is at least one newer minor version available. Minor updates are sometimes passive. |
|---|---|
| Group Id | org.apache.maven.plugins |
| Artifact Id | maven-deploy-plugin |
| Current Version | 2.7 |
| Newer versions | 2.8 Next Minor 2.8.1 2.8.2 Latest Minor |
| Status | There is at least one newer minor version available. Minor updates are sometimes passive. |
|---|---|
| Group Id | org.apache.maven.plugins |
| Artifact Id | maven-enforcer-plugin |
| Current Version | 1.3.1 |
| Newer versions | 1.4 Next Minor 1.4.1 Latest Minor |
| Status | There is at least one newer incremental version available. Incremental updates are typically passive. |
|---|---|
| Group Id | org.apache.maven.plugins |
| Artifact Id | maven-failsafe-plugin |
| Current Version | 2.19 |
| Newer versions | 2.19.1 Next Incremental 2.20 Next Minor |
| Status | There is at least one newer incremental version available. Incremental updates are typically passive. |
|---|---|
| Group Id | org.apache.maven.plugins |
| Artifact Id | maven-idea-plugin |
| Current Version | 2.2 |
| Newer versions | 2.2.1 Next Incremental |
| Status | There is at least one newer minor version available. Minor updates are sometimes passive. |
|---|---|
| Group Id | org.apache.maven.plugins |
| Artifact Id | maven-install-plugin |
| Current Version | 2.4 |
| Newer versions | 2.5 Next Minor 2.5.1 2.5.2 Latest Minor |
| Status | There is at least one newer minor version available. Minor updates are sometimes passive. |
|---|---|
| Group Id | org.apache.maven.plugins |
| Artifact Id | maven-jar-plugin |
| Current Version | 2.4 |
| Newer versions | 2.5 Next Minor 2.6 Latest Minor 3.0.0 Next Major 3.0.1 3.0.2 Latest Major |
| Status | There is at least one newer minor version available. Minor updates are sometimes passive. |
|---|---|
| Group Id | org.apache.maven.plugins |
| Artifact Id | maven-project-info-reports-plugin |
| Current Version | 2.8.1 |
| Newer versions | 2.9 Next Minor |
| Status | Group Id | Artifact Id | Current Version | Classifier | Type | Next Version | Next Incremental | Next Minor | Next Major |
|---|---|---|---|---|---|---|---|---|---|
| com.google.code.findbugs | bcel-findbugs | 6.0 | jar | ||||||
| org.apache.maven.shared | maven-shared-jar | 1.1 | jar | 1.2 | |||||
| Status | Group Id | Artifact Id | Current Version | Classifier | Type | Next Version | Next Incremental | Next Minor | Next Major |
| Status | No newer versions available. |
|---|---|
| Group Id | org.apache.maven.plugins |
| Artifact Id | maven-release-plugin |
| Current Version | 2.5.3 |
| Status | There is at least one newer minor version available. Minor updates are sometimes passive. |
|---|---|
| Group Id | org.apache.maven.plugins |
| Artifact Id | maven-resources-plugin |
| Current Version | 2.6 |
| Newer versions | 2.7 Next Minor 3.0.0 Next Major 3.0.1 3.0.2 Latest Major |
| Status | There is at least one newer incremental version available. Incremental updates are typically passive. |
|---|---|
| Group Id | org.apache.maven.plugins |
| Artifact Id | maven-shade-plugin |
| Current Version | 2.4.2 |
| Newer versions | 2.4.3 Next Incremental 3.0.0 Next Major |
| Status | There is at least one newer minor version available. Minor updates are sometimes passive. |
|---|---|
| Group Id | org.apache.maven.plugins |
| Artifact Id | maven-site-plugin |
| Current Version | 3.3 |
| Newer versions | 3.4 Next Minor 3.5 3.5.1 3.6 Latest Minor |
| Status | There is at least one newer minor version available. Minor updates are sometimes passive. |
|---|---|
| Group Id | org.apache.maven.plugins |
| Artifact Id | maven-source-plugin |
| Current Version | 2.2.1 |
| Newer versions | 2.3 Next Minor 2.4 Latest Minor 3.0.0 Next Major 3.0.1 Latest Major |
| Status | There is at least one newer incremental version available. Incremental updates are typically passive. |
|---|---|
| Group Id | org.apache.maven.plugins |
| Artifact Id | maven-surefire-plugin |
| Current Version | 2.19 |
| Newer versions | 2.19.1 Next Incremental 2.20 Next Minor |
| Status | There is at least one newer major version available. Major updates are rarely passive. |
|---|---|
| Group Id | org.apache.maven.plugins |
| Artifact Id | maven-war-plugin |
| Current Version | 2.6 |
| Newer versions | 3.0.0 Next Major 3.1.0 Latest Major |
| Status | There is at least one newer minor version available. Minor updates are sometimes passive. |
|---|---|
| Group Id | org.codehaus.mojo |
| Artifact Id | build-helper-maven-plugin |
| Current Version | 1.10 |
| Newer versions | 1.11 Next Minor 1.12 Latest Minor 3.0.0 Next Major |
| Status | There is at least one newer minor version available. Minor updates are sometimes passive. |
|---|---|
| Group Id | org.codehaus.mojo |
| Artifact Id | buildnumber-maven-plugin |
| Current Version | 1.3 |
| Newer versions | 1.4 Next Minor |
| Status | There is at least one newer version available. |
|---|---|
| Group Id | org.eclipse.jetty |
| Artifact Id | jetty-maven-plugin |
| Current Version | 9.3.6.v20151106 |
| Newer versions | 9.3.7.RC0 Next Version 9.3.7.RC1 9.3.7.v20160115 Next Incremental 9.3.8.RC0 9.3.8.v20160314 9.3.9.M0 9.3.9.M1 9.3.9.v20160517 9.3.10.M0 9.3.10.v20160621 9.3.11.M0 9.3.11.v20160721 9.3.12.v20160915 9.3.13.M0 9.3.13.v20161014 9.3.14.v20161028 9.3.15.v20161220 9.3.16.v20170120 9.3.17.RC0 9.3.17.v20170317 9.3.18.v20170406 9.3.19.v20170502 9.3.20.v20170531 9.4.0.M0 9.4.0.M1 9.4.0.RC0 9.4.0.RC1 9.4.0.RC2 9.4.0.RC3 Latest Incremental 9.4.0.v20161208 Next Minor 9.4.1.v20170120 9.4.2.v20170220 9.4.3.v20170317 9.4.4.v20170414 9.4.5.v20170502 9.4.6.v20170531 Latest Minor |


How The Downs Logo Has Evolved Since The 1990s
by SL SocialEarlier this year, Mamelodi Sundowns held a competition asking fans to create an updated version of the club's logo. Over the years, though, the Downs emblem has undergone slight changes as they grew in prominence. Check it out!
In September, the Tshwane-based club announced that they would be refreshing their current logo, and subsequently left it up to fans to design a new one.
Last month, Downs revealed the six finalists of the competition, with an announcement of the winning logo yet to be made. In fact, it was suspected that the updated logo had been leaked on social media, but the six finalists revealed suggest otherwise.
Download The Soccer Laduma Social Media App & Earn Airtime for Selfies!
That being said, the Sundowns logo has undergone a few changes throughout the 1990s before arriving at the one fans have become accustomed to over the past decade or so.
In 1993, the logo drew strong comparisons to that of the Brazil national football team emblem, sporting a similar blue crest. Later on, Downs changed their logo to the circle and ribbon design, and have repeatedly tweaked it according to their kit designs.

To see how the Downs logo has evolved over the years, scroll through the gallery above!
Are you keen to see what the new Downs logo will look like?


Record/Replay
JIRA Issue
Data Driven
Test Recorder UI
On
Off
JIRA Issue placeholder
Data Driven placeholder


A tuple (or n-tuple) is a fixed size collection of elements. Pairs, triples, quadruples etc. are tuples. In a programming language, a tuple is a data object containing other objects as elements. These element objects may be of different types.
Tuples are convenient in many circumstances. For instance, tuples make it easy to define functions that return more than one value.
Some programming languages, such as ML, Python and Haskell, have built-in tuple constructs. Unfortunately C++ does not. To compensate for this "deficiency", the Boost Tuple Library implements a tuple construct using templates.
Advanced features (describes some metafunctions etc.).
Rationale behind some design/implementation decisions.
To use the library, just include:
#include "boost/tuple/tuple.hpp"
Comparison operators can be included with:
#include "boost/tuple/tuple_comparison.hpp"
To use tuple input and output operators,
#include "boost/tuple/tuple_io.hpp"
Both tuple_io.hpp
and tuple_comparison.hpp
include tuple.hpp
.
All definitions are in namespace ::boost::tuples
, but the most common names are lifted to namespace ::boost
with using declarations. These names are: tuple
, make_tuple
, tie
and get
. Further, ref
and cref
are defined directly under the ::boost
namespace.
A tuple type is an instantiation of the tuple
template.
The template parameters specify the types of the tuple elements.
The current version supports tuples with 0-10 elements.
If necessary, the upper limit can be increased up to, say, a few dozen elements.
The data element can be any C++ type.
Note that void
and plain function types are valid
C++ types, but objects of such types cannot exist.
Hence, if a tuple type contains such types as elements, the tuple type
can exist, but not an object of that type.
There are natural limitations for element types that cannot
be be copied, or that are not default constructible (see 'Constructing tuples'
below).
For example, the following definitions are valid tuple instantiations (A
, B
and C
are some user defined classes):
tuple<int>
tuple<double&, const double&, const double, double*, const double*>
tuple<A, int(*)(char, int), B(A::*)(C&), C>
tuple<std::string, std::pair<A, B> >
tuple<A*, tuple<const A*, const B&, C>, bool, void*>
The tuple constructor takes the tuple elements as arguments. For an n-element tuple, the constructor can be invoked with k arguments, where 0 <= k <= n. For example:
tuple<int, double>()
tuple<int, double>(1)
tuple<int, double>(1, 3.14)
If no initial value for an element is provided, it is default initialized (and hence must be default initializable). For example.
class X {
X();
public:
X(std::string);
};
tuple<X,X,X>() // error: no default constructor for X
tuple<X,X,X>(string("Jaba"), string("Daba"), string("Duu")) // ok
In particular, reference types do not have a default initialization:
tuple<double&>() // error: reference must be
// initialized explicitly
double d = 5;
tuple<double&>(d) // ok
tuple<double&>(d+3.14) // error: cannot initialize
// non-const reference with a temporary
tuple<const double&>(d+3.14) // ok, but dangerous:
// the element becomes a dangling reference
Using an initial value for an element that cannot be copied, is a compile time error:
class Y {
Y(const Y&);
public:
Y();
};
char a[10];
tuple<char[10], Y>(a, Y()); // error, neither arrays nor Y can be copied
tuple<char[10], Y>(); // ok
Note particularly that the following is perfectly ok:
Y y;
tuple<char(&)[10], Y&>(a, y);
It is possible to come up with a tuple type that cannot be constructed.
This occurs if an element that cannot be initialized has a lower
index than an element that requires initialization.
For example: tuple<char[10], int&>
.
In sum, the tuple construction is semantically just a group of individual elementary constructions.
make_tuple
function
Tuples can also be constructed using the make_tuple
(cf. std::make_pair
) helper functions.
This makes the construction more convenient, saving the programmer from explicitly specifying the element types:
tuple<int, int, double> add_multiply_divide(int a, int b) {
return make_tuple(a+b, a*b, double(a)/double(b));
}
By default, the element types are deduced to the plain non-reference types. E.g:
void foo(const A& a, B& b) {
...
make_tuple(a, b);
The make_tuple
invocation results in a tuple of type tuple<A, B>
.
Sometimes the plain non-reference type is not desired, e.g. if the element type cannot be copied.
Therefore, the programmer can control the type deduction and state that a reference to const or reference to
non-const type should be used as the element type instead.
This is accomplished with two helper template functions: ref
and cref
.
Any argument can be wrapped with these functions to get the desired type.
The mechanism does not compromise const correctness since a const object wrapped with ref
results in a tuple element with const reference type (see the fifth code line below).
For example:
A a; B b; const A ca = a;
make_tuple(cref(a), b); // creates tuple<const A&, B>
make_tuple(ref(a), b); // creates tuple<A&, B>
make_tuple(ref(a), cref(b)); // creates tuple<A&, const B&>
make_tuple(cref(ca)); // creates tuple<const A&>
make_tuple(ref(ca)); // creates tuple<const A&>
Array arguments to make_tuple
functions are deduced to reference to const types by default; there is no need to wrap them with cref
. For example:
make_tuple("Donald", "Daisy");
This creates an object of type tuple<const char (&)[7], const char (&)[6]>
(note that the type of a string literal is an array of const characters, not const char*
).
However, to get make_tuple
to create a tuple with an element of a
non-const array type one must use the ref
wrapper.
Function pointers are deduced to the plain non-reference type, that is, to plain function pointer.
A tuple can also hold a reference to a function,
but such a tuple cannot be constructed with make_tuple
(a const qualified function type would result, which is illegal):
void f(int i);
...
make_tuple(&f); // tuple<void (*)(int)>
...
tuple<tuple<void (&)(int)> > a(f) // ok
make_tuple(f); // not ok
Tuple elements are accessed with the expression:
t.get<N>()
or
get<N>(t)
where t
is a tuple object and N
is a constant integral expression specifying the index of the element to be accessed.
Depending on whether t
is const or not, get
returns the N
th element as a reference to const or
non-const type.
The index of the first element is 0 and thus
N
must be between 0 and k-1
, where k
is the number of elements in the tuple.
Violations of these constrains are detected at compile time. Examples:
double d = 2.7; A a;
tuple<int, double&, const A&> t(1, d, a);
const tuple<int, double&, const A&> ct = t;
...
int i = get<0>(t); i = t.get<0>(); // ok
int j = get<0>(ct); // ok
get<0>(t) = 5; // ok
get<0>(ct) = 5; // error, can't assign to const
...
double e = get<1>(t); // ok
get<1>(t) = 3.14; // ok
get<2>(t) = A(); // error, can't assign to const
A aa = get<3>(t); // error: index out of bounds
...
++get<0>(t); // ok, can be used as any variable
Note! The member get functions are not supported with MS Visual C++ compiler.
Further, the compiler has trouble with finding the non-member get functions without an explicit namespace qualifier.
Hence, all get
calls should be qualified as: tuples::get<N>(a_tuple)
when writing code that shoud compile with MSVC++ 6.0.
A tuple can be copy constructed from another tuple, provided that the element types are element-wise copy constructible. Analogously, a tuple can be assigned to another tuple, provided that the element types are element-wise assignable. For example:
class A {};
class B : public A {};
struct C { C(); C(const B&); };
struct D { operator C() const; };
tuple<char, B*, B, D> t;
...
tuple<int, A*, C, C> a(t); // ok
a = t; // ok
In both cases, the conversions performed are: char -> int
, B* -> A*
(derived class pointer to base class pointer), B -> C
(a user defined conversion) and D -> C
(a user defined conversion).
Note that assignment is also defined from std::pair
types:
tuple<float, int> a = std::make_pair(1, 'a');
Tuples reduce the operators ==, !=, <, >, <=
and >=
to the corresponding elementary operators.
This means, that if any of these operators is defined between all elements of two tuples, then the same operator is defined between the tuples as well.
The equality operators for two tuples a
and b
are defined as:
a == b
iff for each i
: ai == bi
a != b
iff exists i
: ai != bi
<, >, <=
and >=
implement a lexicographical ordering.
Note that an attempt to compare two tuples of different lengths results in a compile time error.
Also, the comparison operators are "short-circuited": elementary comparisons start from the first elements and are performed only until the result is clear.Examples:
tuple<std::string, int, A> t1(std::string("same?"), 2, A());
tuple<std::string, long, A> t2(std::string("same?"), 2, A());
tuple<std::string, long, A> t3(std::string("different"), 3, A());
bool operator==(A, A) { std::cout << "All the same to me..."; return true; }
t1 == t2; // true
t1 == t3; // false, does not print "All the..."
Tiers are tuples, where all elements are of non-const reference types.
They are constructed with a call to the tie
function template (cf. make_tuple
):
int i; char c; double d;
...
tie(i, c, a);
The above tie
function creates a tuple of type tuple<int&, char&, double&>
.
The same result could be achieved with the call make_tuple(ref(i), ref(c), ref(a))
.
A tuple that contains non-const references as elements can be used to 'unpack' another tuple into variables. E.g.:
int i; char c; double d;
tie(i, c, d) = make_tuple(1,'a', 5.5);
std::cout << i << " " << c << " " << d;
This code prints 1 a 5.5
to the standard output stream.
A tuple unpacking operation like this is found for example in ML and Python.
It is convenient when calling functions which return tuples.
The tying mechanism works with std::pair
templates as well:
int i; char c;
tie(i, c) = std::make_pair(1, 'a');
ignore
which allows you to ignore an element assigned by a tuple.
The idea is that a function may return a tuple, only part of which you are interested in. For example (note, that ignore
is under the tuples
subnamespace):
char c;
tie(tuples::ignore, c) = std::make_pair(1, 'a');
The global operator<<
has been overloaded for std::ostream
such that tuples are
output by recursively calling operator<<
for each element.
Analogously, the global operator>>
has been overloaded to extract tuples from std::istream
by recursively calling operator>>
for each element.
The default delimiter between the elements is space, and the tuple is enclosed in parenthesis. For Example:
tuple<float, int, std::string> a(1.0f, 2, std::string("Howdy folks!");
cout << a;
outputs the tuple as: (1.0 2 Howdy folks!)
The library defines three manipulators for changing the default behavior:
set_open(char)
defines the character that is output before the first
element.set_close(char)
defines the character that is output after the
last element.set_delimiter(char)
defines the delimiter character between
elements.tuples
subnamespace.
For example:
cout << tuples::set_open('[') << tuples::set_close(']') << tuples::set_delimiter(',') << a;
outputs the same tuple a
as: [1.0,2,Howdy folks!]
The same manipulators work with operator>>
and istream
as well. Suppose the cin
stream contains the following data:
(1 2 3) [4:5]
The code:
tuple<int, int, int> i;
tuple<int, int> j;
cin >> i;
cin >> tuples::set_open('[') >> tuples::set_close(']') >> tules::set_delimiter(':');
cin >> j;
reads the data into the tuples i
and j
.
Note that extracting tuples with std::string
or C-style string
elements does not generally work, since the streamed tuple representation may not be unambiguously
parseable.
class hand_made_tuple {
A a; B b; C c;
public:
hand_made_tuple(const A& aa, const B& bb, const C& cc)
: a(aa), b(bb), c(cc) {};
A& getA() { return a; };
B& getB() { return b; };
C& getC() { return c; };
};
hand_made_tuple hmt(A(), B(), C());
hmt.getA(); hmt.getB(); hmt.getC();
and this code:
tuple<A, B, C> t(A(), B(), C());
t.get<0>(); t.get<1>(); t.get<2>();
Note, that there are widely used compilers (e.g. bcc 5.5.1) which fail to optimize this kind of tuple usage.
Depending on the optimizing ability of the compiler, the tier mechanism may have a small performance penalty compared to using
non-const reference parameters as a mechanism for returning multiple values from a function.
For example, suppose that the following functions f1
and f2
have equivalent functionalities:
void f1(int&, double&);
tuple<int, double> f2();
Then, the call #1 may be slightly faster than #2 in the code below:
int i; double d;
...
f1(i,d); // #1
tie(i,d) = f2(); // #2
See
[1,
2]
for more in-depth discussions about efficiency.
Compiling tuples can be slow due to the excessive amount of template instantiations.
Depending on the compiler and the tuple length, it may be more than 10 times slower to compile a tuple construct, compared to compiling an equivalent explicitly written class, such as the hand_made_tuple
class above.
However, as a realistic program is likely to contain a lot of code in addition to tuple definitions, the difference is probably unnoticeable.
Compile time increases between 5 to 10 percentages were measured for programs which used tuples very frequently.
With the same test programs, memory consumption of compiling increased between 22% to 27%. See
[1,
2]
for details.
The library code is(?) standard C++ and thus the library works with a standard conforming compiler. Below is a list of compilers and known problems with each compiler:
| Compiler | Problems |
| gcc 2.95 | - |
| edg 2.44 | - |
| Borland 5.5 | Can't use function pointers or member pointers as tuple elements |
| Metrowerks 6.2 | Can't use ref and cref wrappers |
| MS Visual C++ | No reference elements (tie still works). Can't use ref and cref wrappers |
[1] Järvi J.: Tuples and multiple return values in C++, TUCS Technical Report No 249, 1999.
[2] Järvi J.: ML-Style Tuple Assignment in Standard C++ - Extending the Multiple Return Value Formalism, TUCS Technical Report No 267, 1999.
[3] Järvi J.:Tuple Types and Multiple Return Values, C/C++ Users Journal, August 2001.
Last modified 2003-09-07
© Copyright Jaakko Järvi 2001. Permission to copy, use, modify, sell and distribute this software and its documentation is granted provided this copyright notice appears in all copies. This software and its documentation is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.


Interface TrackSelection
-
- All Known Subinterfaces:
ExoTrackSelection
- All Known Implementing Classes:
AdaptiveTrackSelection
,BaseTrackSelection
,FakeTrackSelection
,FixedTrackSelection
,RandomTrackSelection
@Deprecated public interface TrackSelection
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.A track selection consisting of a static subset of selected tracks belonging to aTrackGroup
.Tracks belonging to the subset are exposed in decreasing bandwidth order.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
TrackSelection.Type
Deprecated.Represents a type track selection.
-
Field Summary
Fields Modifier and Type Field Description static int
TYPE_CUSTOM_BASE
Deprecated.The first value that can be used for application specific track selection types.static int
TYPE_UNSET
Deprecated.An unspecified track selection type.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Format
getFormat(int index)
Deprecated.Returns the format of the track at a given index in the selection.int
getIndexInTrackGroup(int index)
Deprecated.Returns the index in the track group of the track at a given index in the selection.TrackGroup
getTrackGroup()
Deprecated.Returns theTrackGroup
to which the selected tracks<EMAIL_ADDRESS>int
getType()
Deprecated.Returns an integer specifying the type of the selection, orTYPE_UNSET
if not specified.int
indexOf(int indexInTrackGroup)
Deprecated.Returns the index in the selection of the track with the specified index in the track group.int
indexOf(Format format)
Deprecated.Returns the index in the selection of the track with the specified format.int
length()
Deprecated.Returns the number of tracks in the selection.
-
-
-
Field Detail
-
TYPE_UNSET
static final int TYPE_UNSET
Deprecated.An unspecified track selection type.- See Also:
- Constant Field Values
-
TYPE_CUSTOM_BASE
static final int TYPE_CUSTOM_BASE
Deprecated.The first value that can be used for application specific track selection types.- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
@com.google.android.exoplayer2.trackselection.TrackSelection.Type int getType()
Deprecated.Returns an integer specifying the type of the selection, orTYPE_UNSET
if not specified.Track selection types are specific to individual applications, but should be defined starting from
TYPE_CUSTOM_BASE
to ensure they don't conflict with any types that may be added to the library in the future.
-
getTrackGroup
TrackGroup getTrackGroup()
Deprecated.Returns theTrackGroup
to which the selected tracks belong.
-
length
int length()
Deprecated.Returns the number of tracks in the selection.
-
getFormat
Format getFormat(int index)
Deprecated.Returns the format of the track at a given index in the selection.- Parameters:
index
- The index in the selection.- Returns:
- The format of the selected track.
-
getIndexInTrackGroup
int getIndexInTrackGroup(int index)
Deprecated.Returns the index in the track group of the track at a given index in the selection.- Parameters:
index
- The index in the selection.- Returns:
- The index of the selected track.
-
indexOf
int indexOf(Format format)
Deprecated.Returns the index in the selection of the track with the specified format. The format is located by identity so, for example,selection.indexOf(selection.getFormat(index)) == index
even if multiple selected tracks have formats that contain the same values.- Parameters:
format
- The format.- Returns:
- The index in the selection, or
C.INDEX_UNSET
if the track with the specified format is not part of the selection.
-
indexOf
int indexOf(int indexInTrackGroup)
Deprecated.Returns the index in the selection of the track with the specified index in the track group.- Parameters:
indexInTrackGroup
- The index in the track group.- Returns:
- The index in the selection, or
C.INDEX_UNSET
if the track with the specified index is not part of the selection.
-
-


What our users are saying:
"EZID gives Open Context critical services that help make our data publications lasting contributions to the scholarly record. Because of EZID, we can explore innovative new approaches in publishing that can be used and cited in years to come."
"The partnership between EZID and Crossref presents an exciting opportunity for eScholarship and our journal partners. The inclusion of our Open Access publications in new discovery services via Crossref, particularly its metadata feed, will dramatically increase the exposure of the important scholarship published on our platform."


Invoices
New InvoiceMonthly Summary February 2017 (12 Days Remaining)
Invoiced
$2,190
Profit
$2,190
Expenses
$2,190
Percentual Profit Quarterly (3 Months)
Q2 - 17
Q2 - 17
Q2 - 17
Q2 - 17
Q2 - 17
Q2 - 17
| No. | Invoice Subject | Client | VAT No. | Created | Status | Price | Actions | Download |
|---|---|---|---|---|---|---|---|---|
| 00450 | Design Works | Carlson Limited | 87956621 | 15 Dec 2017 | Paid | $887 |
Manage
|
|
| 00450 | UX Wireframes | Adobe | 87956421 | 12 Apr 2017 | Pending | $1200 |
Manage
|
|
| 00452 | New Dashboard | Bluewolf | 87952621 | 23 Oct 2017 | Pending | $534 |
Manage
|
|
| 00450 | Landing Page | Salesforce | 87953421 | 2 Sep 2017 | Due in 2 Weeks | $1500 |
Manage
|
|
| 00450 | Marketing Templates | Printic | 87956621 | 29 Jan 2018 | Paid Today | $648 |
Manage
|
|
| 00450 | Sales Presentation | Tabdaq | 87956621 | 4 Feb 2018 | Due in 3 Weeks | $300 |
Manage
|
|
| 00450 | Logo & Print | Apple | 87956621 | 22 Mar 2018 | Paid Today | $2500 |
Manage
|
|
| 00450 | Icons | Tookapic | 87956621 | 13 May 2018 | Paid Today | $940 |
Manage
|


Mercenary Redfoot:
Shall we open the box? This lock should be no problem for me... There we go... That was too easy. Now, what do we have here?
Machine parts? This appears to be the mark of the Black Anvil Guild. I'm not sure, but I think these parts are used by Dwarves to repair golems. If you take them to a store you should be able to sell them for a good price.
Return


class InstitutionMedicalCenter
HealthCareAbroad\InstitutionBundle\Entity\InstitutionMedicalCenter
Methods
| __construct() | ||
| bigint |
getId()
Get id |
|
| InstitutionMedicalCenter |
setDescription(text $description)
Set description |
|
| text |
getDescription()
Get description |
|
| InstitutionMedicalCenter |
setDateModified(datetime $dateModified)
Set dateModified |
|
| datetime |
getDateModified()
Get dateModified |
|
| InstitutionMedicalCenter |
setDateCreated(datetime $dateCreated)
Set dateCreated |
|
| datetime |
getDateCreated()
Get dateCreated |
|
| InstitutionMedicalCenter |
setStatus(smallint $status)
Set status |
|
| smallint |
getStatus()
Get status |
|
| InstitutionMedicalCenter |
addInstitutionTreatment(InstitutionTreatment $institutionTreatments)
Add institutionTreatments |
|
|
removeInstitutionTreatment(InstitutionTreatment $institutionTreatments)
Remove institutionTreatments |
||
| Collection |
getInstitutionTreatments()
Get institutionTreatments |
|
| InstitutionMedicalCenter |
setMedicalCenter(MedicalCenter $medicalCenter = null)
Set medicalCenter |
|
| MedicalCenter |
getMedicalCenter()
Get medicalCenter |
|
| InstitutionMedicalCenter |
setInstitution(Institution $institution = null)
Set institution |
|
| Institution |
getInstitution()
Get institution |
|
| InstitutionMedicalCenter |
addMedia(Media $media)
Add media |
|
|
removeMedia(Media $media)
Remove media |
||
| Collection |
getMedia()
Get media |
|
| __toString() |
Details
at line 57
public
__construct()
at line 68
public bigint
getId()
Get id
at line 79
public InstitutionMedicalCenter
setDescription(text $description)
Set description
at line 90
public text
getDescription()
Get description
at line 101
public InstitutionMedicalCenter
setDateModified(datetime $dateModified)
Set dateModified
at line 112
public datetime
getDateModified()
Get dateModified
at line 123
public InstitutionMedicalCenter
setDateCreated(datetime $dateCreated)
Set dateCreated
at line 134
public datetime
getDateCreated()
Get dateCreated
at line 145
public InstitutionMedicalCenter
setStatus(smallint $status)
Set status
at line 156
public smallint
getStatus()
Get status
at line 167
public InstitutionMedicalCenter
addInstitutionTreatment(InstitutionTreatment $institutionTreatments)
Add institutionTreatments
at line 178
public
removeInstitutionTreatment(InstitutionTreatment $institutionTreatments)
Remove institutionTreatments
at line 188
public Collection
getInstitutionTreatments()
Get institutionTreatments
at line 199
public InstitutionMedicalCenter
setMedicalCenter(MedicalCenter $medicalCenter = null)
Set medicalCenter
at line 210
public MedicalCenter
getMedicalCenter()
Get medicalCenter
at line 221
public InstitutionMedicalCenter
setInstitution(Institution $institution = null)
Set institution
at line 232
public Institution
getInstitution()
Get institution
at line 243
public InstitutionMedicalCenter
addMedia(Media $media)
Add media
at line 254
public
removeMedia(Media $media)
Remove media
at line 264
public Collection
getMedia()
Get media


This is a fork of the Node-RED in Bluemix boilerplate that integrates the following :
This Boilerplate shows basics flows sample of the Watson nodes :
Usage : this Watson Node-RED Boilerplate can be used as a starting point for demo or hackathon, but it is not intended for a production usage
Watson nodes for Node-RED : these nodes are free of use, and are open-source under the Apache 2
Watson API / Bluemix services : those nodes needs to be linked with the appropriate Watson service in the Bluemix catalog, and support only one version of each the Watson API. The usage of those services are following a Cost Plan defined in the Bluemix catalog
More information about Node-RED, including documentation, can be found at nodered.org.
This template instance of Node-RED is enough to get you started creating flows.
You may want to customise it for your needs, for example replacing this introduction page with your own, adding http authentication to the flow editor or adding new nodes to the palette.
To start customising your instance of Node-RED, you can either download the application locally or use IBM DevOps Services to edit and deploy your changes directly.
By default, the editor is open for anyone to access and modify flows. To password-protect the editor:
NODE_RED_USERNAME
- the username to secure the editor withNODE_RED_PASSWORD
- the password to secure the editor withSave
.package.json
and add the required node package to the dependencies
section. The format is:
"node-red-node-package-name":"x.x.x"Where
x.x.x
is the desired version number.public
directory.bluemix-settings.js
, delete the httpStatic
and httpAdminRoot
entries.


|
|
|
|
|
|
|
|
|
|
|
|
|
|
| • |
Wireless Local Area Network standard
|
|
|
| • |
Standard finalised Jan 2001, products
|
|
|
available Early 2002
|
|
|
| • |
Operates at 5.2 GHz
|
|
|
| • |
Allows up to 54 Mbps in a 20 MHz channel
|
|
| • |
Uses 48 data carriers
|
|
|
| • |
Allows bit rate adaptation based of channel
|
|
|
conditions
|
|
|
|
– |
Uses BPSK, QPSK, 16 QAM and 64 QAM
|
|
|
|


Teach highschool students during summer session programming and game development for the MTA 98-361 and MTA 98-374 Microsoft Exams.
Technologies: C#, XNA Framework
| Language/Framework | Years Experience | Proficiency | |
|---|---|---|---|
| Python | 6 | ||
| Django | 5 | ||
| Flask | 3 | ||
| Javascript | 5 | ||
| AngularJS | 4 | ||
| BackboneJS | 3 | ||
| NodeJS | 2 | ||
| PhaserJS | 1 | ||
| Angular2/TypeScript | 1 | ||
| Ruby | 3 | ||
| Ruby on Rails | 3 | ||
| Elixir | 1 | ||
| Phoenix | 1 | ||
| DOM | 6 | ||
| HTML/HTML5 | 5 | ||
| CSS/CSS3 | 5 | ||
| SASS/LESS | 3 | ||
| Web Accessibility | 3 | ||
| Web Components/Polymer | 2 | ||
| Cross Browser | 3 | ||
| Responsive Web Design | 3 | ||
| Databases | 7 | ||
| MySQL | 7 | ||
| MSSQL | 3 | ||
| CouchDB | 2 | ||
| MongoDB | 1 | ||
| Miscellaneous Tech | 15 | ||
| Git | 6 | ||
| Advanced Excel/VBA | 10 | ||
| Tex/LaTex | 2 | ||
| ASP.Classic/VB | 1 | ||
| C# | 1 | ||
| PHP | 3 | ||
| Arduino | 3 | ||
| AWS | 2 | ||
| DevOps | 3 | ||
| Unix/Linx | 5 | ||
| RESTful API + HATEOAS | 2 |
Teach highschool students during summer session programming and game development for the MTA 98-361 and MTA 98-374 Microsoft Exams.
Technologies: C#, XNA Framework
Co-Founded a Software Consulting Company to help businesses convert their paper and excel driven business processes to enterprise level web applications.
Technologies: Django, Flask, AngularJS, MySQL, CouchDB
Leading MyAccount Re-Architecture team and OmniChannel project. Interview new team members, lead technical architechture meetings, groomed and managed backlog, and ensured product delivery meets both technical and user requirements.
Technologies: Ruby/Rails, AngularJS, SASS
Software Consultant working in Agile Environment writing frontend and middleware code for the XTV-Go Web, CloudTV, and Welcome Experience Initiatives.
Technologies: Ruby/Rails, Vanilla-javascript, BackboneJS, Polymer, SASS
Full Time employee (Contracted to Comcast) who in addition to working at Comcast, assists at other functions such as Girl Develop It (GDI), FOSSCON, and other Corporate Events
Technologies: Python, Ruby, Javascript
The "go-to" open source contractor for a primarily .NET development house. Helped their clients rework their open source code bases or build new projects using open source technologies
Technologies: PHP, Drupal, Wordpress, Python, AWS, Django, MySQL
Worked as a Front End UX Engineer designing and building a Web Based interface to Nuix's Powerful unformated data search engine
Technologies: Javascript, BackboneJS, MarionetteJS, HandlebarJS
Worked on team to upgrade legacy systems using new and web based technologies. Also built out new systems to meet client demand
Technologies: Python, ASPClassic, MSSQL
Built and led a department chartered to improve the companies internal and external offerings using new technologies. Expanded companies capabilities, streamlined business practices using web technologies, and setup new departments, standards, and procedures to give the company an edge in the market.
Technologies: PHP, Python, Django, MySQL, Arduino, 3D Printing, Industrial Imaging
Remotely Interned at a San Francisco Based Startup. Built Database backend, did large scale data processing and backend architechture.
Technologies: MSAccess, MySQL, Python, PHP
A consolidation of the different sales and upgrade channels in Xfinity. Led team in designing the APIs and architecting a solution that allows for flexibility and security in Comcast's sales process.
Technologies: Ruby, Rails, Javascript, AngularJS
Led the team building the new MyAccount app, porting from a C#.NET site to a Ruby Site / Angular Single Page Application for performance.
Technologies: Ruby, Rails, Javascript, AngularJS
Build the "new" online experience being prototyped by Comcast to welcome their new customers and give them a tour of the services and capabilities of their package.
Technologies: Ruby, Rails, BackboneJS, Polymer
Weekend project to extend the amount of data I could get from my Fitbit and Fitbit Aria Scale using Highcharts
Technologies: Flask, FitbitAPI, Highcharts, Javascript, AWS-Elastic Beanstalk
A Task, Project, Work, and Billing Management Site I built to keep track of what work needed to be done, how much time has been spent on each unit of work, and bill customers accordingly. Built to handle multiple customers, multiple projects, and multiple workers.
Technologies: Django, Angular, MySQL
A largescale health information tracking system that allows doctors to evaluate patients using their ipads or computers and run extensive and customized reports against the different treatment methods. A rebuilt of a previously insecure and unreliable PHP site.
Technologies: Django, Angular, Django Rest Framework, Angular Material Design
Built a responsive WebGL game using PhaserJS for a marketing campaign. Reports statics to a reporting engine written in Django deployed on S3 and Elastic Beanstalk. Used gulp to process compile a javascript codebase into a distributable package.
Technologies: PhaserJS, Django, Gulp, AWS S3, AWS ElasticBeanstalk, CORS
Rebuilt clients vanilla PHP site in Django and used SEO best practices to improve their web presence.
Technologies: Django, Twitter Bootstrap, Google Search Console, SEO
A predecessor to Helm.io, Task Burndown is a task management site that applies the Agile Methodology to non-develompent task management. Create a categorized backlog of all the things you need to do, Assign them points, and put them into sprints. As you check them off, see your progress on the burndown chart.
Technologies: Django, Angular, Django Rest Framework, Angular Material Design
A open source library I wrote to help scaffold out angular projects inside of django. Gives management commands to allow developers to quickly develop a highly structured angular app inside of their Django Application.
Technologies: Python, Pip, Django Angular
A open source library I wrote to wrap the mailinator.com API. Helps in QA and testing of applications that require email registration or email interaction.
Technologies: Python, Pip
A experiment using Polymer. Implements Polymer on top of Django to create a simple productivity tool.
Technologies: Django, Polymer
Replaced the paper and excel driven business processes by building a web application that handled, Quality, Ordering, Shipping, Maintenance, Estimating, and Development. Vastly improved internal communication and allowed analysis of the processes themselves in real time to see what areas needed improvement.
Technologies: PHP, Django, MySQL
A clone of gitignore.io for mercurial version control system.
Technologies: Flask
Rewrite the clients website from PHP to Django. Implemented SEO best practices, added fault tolerance, and gave them social integrations. Now they can post pictures to their own site and have it propagate to Facebook, Twitter, Instagram and Pinterest.
Technologies: Django, SASS
A recipe site that allowed users to schedule meals ahead of time, build shopping lists, track a pantry, and gather nutritional statistics based on recipes. Suggested ingredients to improve pantry variety, meals to improve nutritional balance, and resources to get locally sourced foods.
Technologies: PHP, MySQL, Python
Built a marketing website for client, replacing their wordpress site which was failing under load. Replaced with a statically served Angular site with a Django RESTful backend that loaded in 1/100th of the time and used less resources.
Technologies: Angular, Django
Building a Multiplayer Starship video game in Javascript using PhaserJS and Websockets. Mulitple players control different systems on a spaceship to pilot, fight, defend, and complete missions.
Technologies: Django, PhaserJS, Websockets
The highest rank in the Boy Scouts of America, awarded only those who embody the aspects of the Scout Law: Trustworthy, Loyal, Helpful, Friendly, Curtious , Kind, Obedient, Cheerful, Thrifty, Brave, Clean, and Reverant
A non-profit 501c3 organization that helps organize events for other nonprofits to raise money for a variety of causes.
The Christopher Columbus Awards is a national science competition that challenges middleschool students to use the scientific method to solve problems in their communities. Lead a team in the development of the Allergen Scanner, a handheld device that scanned packaged foods for common allergies. Used the Grant Funds to presetnt to Congress, the FDA, and have a mobile PDA application developed.
Social and Links


PayPal pauses payouts to PornHub porn models
by Xeni JardinPayPal on Thursday says it has halted payment support for models with PornHub, the online adult site, after Paypal says it found that Pornhub made certain payments without PayPal's permission.
“Following a review, we have discovered that PornHub has made certain business payments through PayPal without seeking our permission. We have taken action to stop these transactions from occurring,” PayPal said in an email statement.
PayPal hasn't explained why, beyond that.
From Reuters:
PornHub, owned by Luxembourg-headquartered company MindGeek, said it was “devastated by PayPal’s decision to stop payouts to over a hundred thousand performers who rely on them for their livelihoods”. MindGeek did not respond to a Reuters request for comment.
RELATED READING on our blog:
Banned from Youtube, Chinese propagandists are using Pornhub to publish anti-Hong Kong videos [Cory Doctorow, Thu Nov 14, 2019]