|
Java™ Platform Standard Ed. 6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.String
public final class String
The String
class represents character strings. All
string literals in Java programs, such as "abc"
, are
implemented as instances of this class.
Strings are constant; their values cannot be changed after they are created. String buffers support mutable strings. Because String objects are immutable they can be shared. For example:
String str = "abc";
is equivalent to:
char data[] = {'a', 'b', 'c'}; String str = new String(data);
Here are some more examples of how strings can be used:
System.out.println("abc"); String cde = "cde"; System.out.println("abc" + cde); String c = "abc".substring(2,3); String d = cde.substring(1, 2);
The class String
includes methods for examining
individual characters of the sequence, for comparing strings, for
searching strings, for extracting substrings, and for creating a
copy of a string with all characters translated to uppercase or to
lowercase. Case mapping is based on the Unicode Standard version
specified by the Character
class.
The Java language provides special support for the string
concatenation operator ( + ), and for conversion of
other objects to strings. String concatenation is implemented
through the StringBuilder
(or StringBuffer
)
class and its append
method.
String conversions are implemented through the method
toString
, defined by Object
and
inherited by all classes in Java. For additional information on
string concatenation and conversion, see Gosling, Joy, and Steele,
The Java Language Specification.
Unless otherwise noted, passing a null argument to a constructor
or method in this class will cause a NullPointerException
to be
thrown.
A String
represents a string in the UTF-16 format
in which supplementary characters are represented by surrogate
pairs (see the section Unicode
Character Representations in the Character
class for
more information).
Index values refer to char
code units, so a supplementary
character uses two positions in a String
.
The String
class provides methods for dealing with
Unicode code points (i.e., characters), in addition to those for
dealing with Unicode code units (i.e., char
values).
Object.toString()
,
StringBuffer
,
StringBuilder
,
Charset
,
Serialized Form| Field Summary | |
|---|---|
static Comparator<String> |
CASE_INSENSITIVE_ORDER
A Comparator that orders String objects as by
compareToIgnoreCase . |
| Constructor Summary | |
|---|---|
String()
Initializes a newly created String object so that it represents
an empty character sequence. |
|
String(byte[] bytes)
Constructs a new String by decoding the specified array of bytes
using the platform's default charset. |
|
String(byte[] bytes,
Charset charset)
Constructs a new String by decoding the specified array of
bytes using the specified charset. |
|
String(byte[] ascii,
int hibyte)
Deprecated. This method does not properly convert bytes into characters. As of JDK 1.1, the preferred way to do this is via the String constructors that take a Charset , charset name, or that use the platform's
default charset. |
|
String(byte[] bytes,
int offset,
int length)
Constructs a new String by decoding the specified subarray of
bytes using the platform's default charset. |
|
String(byte[] bytes,
int offset,
int length,
Charset charset)
Constructs a new String by decoding the specified subarray of
bytes using the specified charset. |
|
String(byte[] ascii,
int hibyte,
int offset,
int count)
Deprecated. This method does not properly convert bytes into characters. As of JDK 1.1, the preferred way to do this is via the String constructors that take a Charset , charset name, or that use the platform's
default charset. |
|
String(byte[] bytes,
int offset,
int length,
String charsetName)
Constructs a new String by decoding the specified subarray of
bytes using the specified charset. |
|
String(byte[] bytes,
String charsetName)
Constructs a new String by decoding the specified array of bytes
using the specified charset. |
|
String(char[] value)
Allocates a new String so that it represents the sequence of
characters currently contained in the character array argument. |
|
String(char[] value,
int offset,
int count)
Allocates a new String that contains characters from a subarray
of the character array argument. |
|
String(int[] codePoints,
int offset,
int count)
Allocates a new String that contains characters from a subarray
of the Unicode code point array argument. |
|
String(String original)
Initializes a newly created String object so that it represents
the same sequence of characters as the argument; in other words, the
newly created string is a copy of the argument string. |
|
String(StringBuffer buffer)
Allocates a new string that contains the sequence of characters currently contained in the string buffer argument. |
|
String(StringBuilder builder)
Allocates a new string that contains the sequence of characters currently contained in the string builder argument. |
| Method Summary | |
|---|---|
char |
charAt(int index)
Returns the char value at the
specified index. |
int |
codePointAt(int index)
Returns the character (Unicode code point) at the specified index. |
int |
codePointBefore(int index)
Returns the character (Unicode code point) before the specified index. |
int |
codePointCount(int beginIndex,
int endIndex)
Returns the number of Unicode code points in the specified text range of this String . |
int |
compareTo(String anotherString)
Compares two strings lexicographically. |
int |
compareToIgnoreCase(String str)
Compares two strings lexicographically, ignoring case differences. |
String |
concat(String str)
Concatenates the specified string to the end of this string. |
boolean |
contains(CharSequence s)
Returns true if and only if this string contains the specified sequence of char values. |
boolean |
contentEquals(CharSequence cs)
Compares this string to the specified CharSequence . |
boolean |
contentEquals(StringBuffer sb)
Compares this string to the specified StringBuffer . |
static String |
copyValueOf(char[] data)
Returns a String that represents the character sequence in the array specified. |
static String |
copyValueOf(char[] data,
int offset,
int count)
Returns a String that represents the character sequence in the array specified. |
boolean |
endsWith(String suffix)
Tests if this string ends with the specified suffix. |
boolean |
equals(Object anObject)
Compares this string to the specified object. |
boolean |
equalsIgnoreCase(String anotherString)
Compares this String to another String , ignoring case
considerations. |
static String |
format(Locale l,
String format,
Object... args)
Returns a formatted string using the specified locale, format string, and arguments. |
static String |
format(String format,
Object... args)
Returns a formatted string using the specified format string and arguments. |
byte[] |
getBytes()
Encodes this String into a sequence of bytes using the
platform's default charset, storing the result into a new byte array. |
byte[] |
getBytes(Charset charset)
Encodes this String into a sequence of bytes using the given
charset, storing the result into a
new byte array. |
void |
getBytes(int srcBegin,
int srcEnd,
byte[] dst,
int dstBegin)
Deprecated. This method does not properly convert characters into bytes. As of JDK 1.1, the preferred way to do this is via the getBytes() method, which uses the platform's default charset. |
byte[] |
getBytes(String charsetName)
Encodes this String into a sequence of bytes using the named
charset, storing the result into a new byte array. |
void |
getChars(int srcBegin,
int srcEnd,
char[] dst,
int dstBegin)
Copies characters from this string into the destination character array. |
int |
hashCode()
Returns a hash code for this string. |
int |
indexOf(int ch)
Returns the index within this string of the first occurrence of the specified character. |
int |
indexOf(int ch,
int fromIndex)
Returns the index within this string of the first occurrence of the specified character, starting the search at the specified index. |
int |
indexOf(String str)
Returns the index within this string of the first occurrence of the specified substring. |
int |
indexOf(String str,
int fromIndex)
Returns the index within this string of the first occurrence of the specified substring, starting at the specified index. |
String |
intern()
Returns a canonical representation for the string object. |
boolean |
isEmpty()
Returns true if, and only if, length() is 0. |
int |
lastIndexOf(int ch)
Returns the index within this string of the last occurrence of the specified character. |
int |
lastIndexOf(int ch,
int fromIndex)
Returns the index within this string of the last occurrence of the specified character, searching backward starting at the specified index. |
int |
lastIndexOf(String str)
Returns the index within this string of the rightmost occurrence of the specified substring. |
int |
lastIndexOf(String str,
int fromIndex)
Returns the index within this string of the last occurrence of the specified substring, searching backward starting at the specified index. |
int |
length()
Returns the length of this string. |
boolean |
matches(String regex)
Tells whether or not this string matches the given regular expression. |
int |
offsetByCodePoints(int index,
int codePointOffset)
Returns the index within this String that is
offset from the given index by
codePointOffset code points. |
boolean |
regionMatches(boolean ignoreCase,
int toffset,
String other,
int ooffset,
int len)
Tests if two string regions are equal. |
boolean |
regionMatches(int toffset,
String other,
int ooffset,
int len)
Tests if two string regions are equal. |
String |
replace(char oldChar,
char newChar)
Returns a new string resulting from replacing all occurrences of oldChar in this string with newChar . |
String |
replace(CharSequence target,
CharSequence replacement)
Replaces each substring of this string that matches the literal target sequence with the specified literal replacement sequence. |
String |
replaceAll(String regex,
String replacement)
Replaces each substring of this string that matches the given regular expression with the given replacement. |
String |
replaceFirst(String regex,
String replacement)
Replaces the first substring of this string that matches the given regular expression with the given replacement. |
String[] |
split(String regex)
Splits this string around matches of the given regular expression. |
String[] |
split(String regex,
int limit)
Splits this string around matches of the given regular expression. |
boolean |
startsWith(String prefix)
Tests if this string starts with the specified prefix. |
boolean |
startsWith(String prefix,
int toffset)
Tests if the substring of this string beginning at the specified index starts with the specified prefix. |
CharSequence |
subSequence(int beginIndex,
int endIndex)
Returns a new character sequence that is a subsequence of this sequence. |
String |
substring(int beginIndex)
Returns a new string that is a substring of this string. |
String |
substring(int beginIndex,
int endIndex)
Returns a new string that is a substring of this string. |
char[] |
toCharArray()
Converts this string to a new character array. |
String |
toLowerCase()
Converts all of the characters in this String to lower
case using the rules of the default locale. |
String |
toLowerCase(Locale locale)
Converts all of the characters in this String to lower
case using the rules of the given Locale . |
String |
toString()
This object (which is already a string!) is itself returned. |
String |
toUpperCase()
Converts all of the characters in this String to upper
case using the rules of the default locale. |
String |
toUpperCase(Locale locale)
Converts all of the characters in this String to upper
case using the rules of the given Locale . |
String |
trim()
Returns a copy of the string, with leading and trailing whitespace omitted. |
static String |
valueOf(boolean b)
Returns the string representation of the boolean argument. |
static String |
valueOf(char c)
Returns the string representation of the char
argument. |
static String |
valueOf(char[] data)
Returns the string representation of the char array
argument. |
static String |
valueOf(char[] data,
int offset,
int count)
Returns the string representation of a specific subarray of the char array argument. |
static String |
valueOf(double d)
Returns the string representation of the double argument. |
static String |
valueOf(float f)
Returns the string representation of the float argument. |
static String |
valueOf(int i)
Returns the string representation of the int argument. |
static String |
valueOf(long l)
Returns the string representation of the long argument. |
static String |
valueOf(Object obj)
Returns the string representation of the Object argument. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Comparator<String> CASE_INSENSITIVE_ORDER
String
objects as by
compareToIgnoreCase
. This comparator is serializable.
Note that this Comparator does not take locale into account, and will result in an unsatisfactory ordering for certain locales. The java.text package provides Collators to allow locale-sensitive ordering.
Collator.compare(String, String)
| Constructor Detail |
|---|
public String()
String
object so that it represents
an empty character sequence. Note that use of this constructor is
unnecessary since Strings are immutable.
public String(String original)
String
object so that it represents
the same sequence of characters as the argument; in other words, the
newly created string is a copy of the argument string. Unless an
explicit copy of original
is needed, use of this constructor is
unnecessary since Strings are immutable.
original
- A String
public String(char[] value)
String
so that it represents the sequence of
characters currently contained in the character array argument. The
contents of the character array are copied; subsequent modification of
the character array does not affect the newly created string.
value
- The initial value of the stringpublic String(char[] value, int offset, int count)
String
that contains characters from a subarray
of the character array argument. The offset
argument is the
index of the first character of the subarray and the count
argument specifies the length of the subarray. The contents of the
subarray are copied; subsequent modification of the character array does
not affect the newly created string.
value
- Array that is the source of charactersoffset
- The initial offsetcount
- The length
IndexOutOfBoundsException
- If the offset
and count
arguments index
characters outside the bounds of the value
arraypublic String(int[] codePoints, int offset, int count)
String
that contains characters from a subarray
of the Unicode code point array argument. The offset
argument
is the index of the first code point of the subarray and the
count
argument specifies the length of the subarray. The
contents of the subarray are converted to char
s; subsequent
modification of the int
array does not affect the newly created
string.
codePoints
- Array that is the source of Unicode code pointsoffset
- The initial offsetcount
- The length
IllegalArgumentException
- If any invalid Unicode code point is found in codePoints
IndexOutOfBoundsException
- If the offset
and count
arguments index
characters outside the bounds of the codePoints
array@Deprecated public String(byte[] ascii, int hibyte, int offset, int count)
String
constructors that take a Charset
, charset name, or that use the platform's
default charset.
String
constructed from a subarray of an array
of 8-bit integer values.
The offset
argument is the index of the first byte of the
subarray, and the count
argument specifies the length of the
subarray.
Each byte
in the subarray is converted to a char
as
specified in the method above.
ascii
- The bytes to be converted to charactershibyte
- The top 8 bits of each 16-bit Unicode code unitoffset
- The initial offsetcount
- The length
IndexOutOfBoundsException
- If the offset
or count
argument is invalidString(byte[], int)
,
String(byte[], int, int, java.lang.String)
,
String(byte[], int, int, java.nio.charset.Charset)
,
String(byte[], int, int)
,
String(byte[], java.lang.String)
,
String(byte[], java.nio.charset.Charset)
,
String(byte[])
@Deprecated public String(byte[] ascii, int hibyte)
String
constructors that take a Charset
, charset name, or that use the platform's
default charset.
String
containing characters constructed from
an array of 8-bit integer values. Each character cin the
resulting string is constructed from the corresponding component
b in the byte array such that:
c == (char)(((hibyte & 0xff) << 8) | (b & 0xff))
ascii
- The bytes to be converted to charactershibyte
- The top 8 bits of each 16-bit Unicode code unitString(byte[], int, int, java.lang.String)
,
String(byte[], int, int, java.nio.charset.Charset)
,
String(byte[], int, int)
,
String(byte[], java.lang.String)
,
String(byte[], java.nio.charset.Charset)
,
String(byte[])
public String(byte[] bytes, int offset, int length, String charsetName) throws UnsupportedEncodingException
String
by decoding the specified subarray of
bytes using the specified charset. The length of the new String
is a function of the charset, and hence may not be equal to the length
of the subarray.
The behavior of this constructor when the given bytes are not valid
in the given charset is unspecified. The CharsetDecoder
class should be used when more control
over the decoding process is required.
bytes
- The bytes to be decoded into charactersoffset
- The index of the first byte to decodelength
- The number of bytes to decodecharsetName
- The name of a supported charset
UnsupportedEncodingException
- If the named charset is not supported
IndexOutOfBoundsException
- If the offset
and length
arguments index
characters outside the bounds of the bytes
arraypublic String(byte[] bytes, int offset, int length, Charset charset)
String
by decoding the specified subarray of
bytes using the specified charset.
The length of the new String
is a function of the charset, and
hence may not be equal to the length of the subarray.
This method always replaces malformed-input and unmappable-character
sequences with this charset's default replacement string. The CharsetDecoder
class should be used when more control
over the decoding process is required.
bytes
- The bytes to be decoded into charactersoffset
- The index of the first byte to decodelength
- The number of bytes to decodecharset
- The charset to be used to
decode the bytes
IndexOutOfBoundsException
- If the offset
and length
arguments index
characters outside the bounds of the bytes
arraypublic String(byte[] bytes, String charsetName) throws UnsupportedEncodingException
String
by decoding the specified array of bytes
using the specified charset. The
length of the new String
is a function of the charset, and hence
may not be equal to the length of the byte array.
The behavior of this constructor when the given bytes are not valid
in the given charset is unspecified. The CharsetDecoder
class should be used when more control
over the decoding process is required.
bytes
- The bytes to be decoded into characterscharsetName
- The name of a supported charset
UnsupportedEncodingException
- If the named charset is not supportedpublic String(byte[] bytes, Charset charset)
String
by decoding the specified array of
bytes using the specified charset.
The length of the new String
is a function of the charset, and
hence may not be equal to the length of the byte array.
This method always replaces malformed-input and unmappable-character
sequences with this charset's default replacement string. The CharsetDecoder
class should be used when more control
over the decoding process is required.
bytes
- The bytes to be decoded into characterscharset
- The charset to be used to
decode the bytes
public String(byte[] bytes, int offset, int length)
String
by decoding the specified subarray of
bytes using the platform's default charset. The length of the new
String
is a function of the charset, and hence may not be equal
to the length of the subarray.
The behavior of this constructor when the given bytes are not valid
in the default charset is unspecified. The CharsetDecoder
class should be used when more control
over the decoding process is required.
bytes
- The bytes to be decoded into charactersoffset
- The index of the first byte to decodelength
- The number of bytes to decode
IndexOutOfBoundsException
- If the offset
and the length
arguments index
characters outside the bounds of the bytes
arraypublic String(byte[] bytes)
String
by decoding the specified array of bytes
using the platform's default charset. The length of the new String
is a function of the charset, and hence may not be equal to the
length of the byte array.
The behavior of this constructor when the given bytes are not valid
in the default charset is unspecified. The CharsetDecoder
class should be used when more control
over the decoding process is required.
bytes
- The bytes to be decoded into characterspublic String(StringBuffer buffer)
buffer
- A StringBuffer
public String(StringBuilder builder)
This constructor is provided to ease migration to StringBuilder
. Obtaining a string from a string builder via the toString
method is likely to run faster and is generally preferred.
builder
- A StringBuilder
| Method Detail |
|---|
public int length()
length
in interface CharSequence
public boolean isEmpty()
length()
is 0.
length()
is 0, otherwise
falsepublic char charAt(int index)
char
value at the
specified index. An index ranges from 0
to
length() - 1
. The first char
value of the sequence
is at index 0
, the next at index 1
,
and so on, as for array indexing.
If the char
value specified by the index is a
surrogate, the surrogate
value is returned.
charAt
in interface CharSequence
index
- the index of the char
value.
char
value at the specified index of this string.
The first char
value is at index 0
.
IndexOutOfBoundsException
- if the index
argument is negative or not less than the length of this
string.public int codePointAt(int index)
char
values
(Unicode code units) and ranges from 0
to
length()
- 1
.
If the char
value specified at the given index
is in the high-surrogate range, the following index is less
than the length of this String
, and the
char
value at the following index is in the
low-surrogate range, then the supplementary code point
corresponding to this surrogate pair is returned. Otherwise,
the char
value at the given index is returned.
index
- the index to the char
values
index
IndexOutOfBoundsException
- if the index
argument is negative or not less than the length of this
string.public int codePointBefore(int index)
char
values
(Unicode code units) and ranges from 1
to length
.
If the char
value at (index - 1)
is in the low-surrogate range, (index - 2)
is not
negative, and the char
value at (index -
2)
is in the high-surrogate range, then the
supplementary code point value of the surrogate pair is
returned. If the char
value at index -
1
is an unpaired low-surrogate or a high-surrogate, the
surrogate value is returned.
index
- the index following the code point that should be returned
IndexOutOfBoundsException
- if the index
argument is less than 1 or greater than the length
of this string.public int codePointCount(int beginIndex, int endIndex)
String
. The text range begins at the
specified beginIndex
and extends to the
char
at index endIndex - 1
. Thus the
length (in char
s) of the text range is
endIndex-beginIndex
. Unpaired surrogates within
the text range count as one code point each.
beginIndex
- the index to the first char
of
the text range.endIndex
- the index after the last char
of
the text range.
IndexOutOfBoundsException
- if the
beginIndex
is negative, or endIndex
is larger than the length of this String
, or
beginIndex
is larger than endIndex
.public int offsetByCodePoints(int index, int codePointOffset)
String
that is
offset from the given index
by
codePointOffset
code points. Unpaired surrogates
within the text range given by index
and
codePointOffset
count as one code point each.
index
- the index to be offsetcodePointOffset
- the offset in code points
String
IndexOutOfBoundsException
- if index
is negative or larger then the length of this
String
, or if codePointOffset
is positive
and the substring starting with index
has fewer
than codePointOffset
code points,
or if codePointOffset
is negative and the substring
before index
has fewer than the absolute value
of codePointOffset
code points.public void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin)
The first character to be copied is at index srcBegin
;
the last character to be copied is at index srcEnd-1
(thus the total number of characters to be copied is
srcEnd-srcBegin
). The characters are copied into the
subarray of dst
starting at index dstBegin
and ending at index:
dstbegin + (srcEnd-srcBegin) - 1
srcBegin
- index of the first character in the string
to copy.srcEnd
- index after the last character in the string
to copy.dst
- the destination array.dstBegin
- the start offset in the destination array.
IndexOutOfBoundsException
- If any of the following
is true:
srcBegin
is negative.
srcBegin
is greater than srcEnd
srcEnd
is greater than the length of this
string
dstBegin
is negative
dstBegin+(srcEnd-srcBegin)
is larger than
dst.length
@Deprecated public void getBytes(int srcBegin, int srcEnd, byte[] dst, int dstBegin)
getBytes()
method, which uses the platform's default charset.
The first character to be copied is at index srcBegin
; the
last character to be copied is at index srcEnd-1
. The total
number of characters to be copied is srcEnd-srcBegin
. The
characters, converted to bytes, are copied into the subarray of dst
starting at index dstBegin
and ending at index:
dstbegin + (srcEnd-srcBegin) - 1
srcBegin
- Index of the first character in the string to copysrcEnd
- Index after the last character in the string to copydst
- The destination arraydstBegin
- The start offset in the destination array
IndexOutOfBoundsException
- If any of the following is true:
srcBegin
is negative
srcBegin
is greater than srcEnd
srcEnd
is greater than the length of this String
dstBegin
is negative
dstBegin+(srcEnd-srcBegin)
is larger than dst.length
public byte[] getBytes(String charsetName) throws UnsupportedEncodingException
String
into a sequence of bytes using the named
charset, storing the result into a new byte array.
The behavior of this method when this string cannot be encoded in
the given charset is unspecified. The CharsetEncoder
class should be used when more control
over the encoding process is required.
charsetName
- The name of a supported charset
UnsupportedEncodingException
- If the named charset is not supportedpublic byte[] getBytes(Charset charset)
String
into a sequence of bytes using the given
charset, storing the result into a
new byte array.
This method always replaces malformed-input and unmappable-character
sequences with this charset's default replacement byte array. The
CharsetEncoder
class should be used when more
control over the encoding process is required.
charset
- The Charset to be used to encode
the String
public byte[] getBytes()
String
into a sequence of bytes using the
platform's default charset, storing the result into a new byte array.
The behavior of this method when this string cannot be encoded in
the default charset is unspecified. The CharsetEncoder
class should be used when more control
over the encoding process is required.
public boolean equals(Object anObject)
true
if and only if the argument is not null
and is a String
object that represents the same sequence of characters as this
object.
equals
in class Object
anObject
- The object to compare this String
against
true
if the given object represents a String
equivalent to this string, false
otherwisecompareTo(String)
,
equalsIgnoreCase(String)
public boolean contentEquals(StringBuffer sb)
StringBuffer
. The result
is true
if and only if this String
represents the same
sequence of characters as the specified StringBuffer
.
sb
- The StringBuffer
to compare this String
against
true
if this String
represents the same
sequence of characters as the specified StringBuffer
,
false
otherwisepublic boolean contentEquals(CharSequence cs)
CharSequence
. The result
is true
if and only if this String
represents the same
sequence of char values as the specified sequence.
cs
- The sequence to compare this String
against
true
if this String
represents the same
sequence of char values as the specified sequence, false
otherwisepublic boolean equalsIgnoreCase(String anotherString)
String
to another String
, ignoring case
considerations. Two strings are considered equal ignoring case if they
are of the same length and corresponding characters in the two strings
are equal ignoring case.
Two characters c1
and c2
are considered the same
ignoring case if at least one of the following is true:
==
operator)
Character.toUpperCase(char)
to each character
produces the same result
Character.toLowerCase(char)
to each character
produces the same result
anotherString
- The String
to compare this String
against
true
if the argument is not null
and it
represents an equivalent String
ignoring case; false
otherwiseequals(Object)
public int compareTo(String anotherString)
String
object is compared lexicographically to the
character sequence represented by the argument string. The result is
a negative integer if this String
object
lexicographically precedes the argument string. The result is a
positive integer if this String
object lexicographically
follows the argument string. The result is zero if the strings
are equal; compareTo
returns 0
exactly when
the equals(Object)
method would return true
.
This is the definition of lexicographic ordering. If two strings are
different, then either they have different characters at some index
that is a valid index for both strings, or their lengths are different,
or both. If they have different characters at one or more index
positions, let k be the smallest such index; then the string
whose character at position k has the smaller value, as
determined by using the < operator, lexicographically precedes the
other string. In this case, compareTo
returns the
difference of the two character values at position k
in
the two string -- that is, the value:
If there is no index position at which they differ, then the shorter string lexicographically precedes the longer string. In this case,this.charAt(k)-anotherString.charAt(k)
compareTo
returns the difference of the lengths of the
strings -- that is, the value:
this.length()-anotherString.length()
compareTo
in interface Comparable<String>
anotherString
- the String
to be compared.
0
if the argument string is equal to
this string; a value less than 0
if this string
is lexicographically less than the string argument; and a
value greater than 0
if this string is
lexicographically greater than the string argument.public int compareToIgnoreCase(String str)
compareTo
with normalized versions of the strings
where case differences have been eliminated by calling
Character.toLowerCase(Character.toUpperCase(character))
on
each character.
Note that this method does not take locale into account, and will result in an unsatisfactory ordering for certain locales. The java.text package provides collators to allow locale-sensitive ordering.
str
- the String
to be compared.
Collator.compare(String, String)
public boolean regionMatches(int toffset, String other, int ooffset, int len)
A substring of this String object is compared to a substring of the argument other. The result is true if these substrings represent identical character sequences. The substring of this String object to be compared begins at index toffset and has length len. The substring of other to be compared begins at index ooffset and has length len. The result is false if and only if at least one of the following is true:
toffset
- the starting offset of the subregion in this string.other
- the string argument.ooffset
- the starting offset of the subregion in the string
argument.len
- the number of characters to compare.
true
if the specified subregion of this string
exactly matches the specified subregion of the string argument;
false
otherwise.public boolean regionMatches(boolean ignoreCase, int toffset, String other, int ooffset, int len)
A substring of this String object is compared to a substring of the argument other. The result is true if these substrings represent character sequences that are the same, ignoring case if and only if ignoreCase is true. The substring of this String object to be compared begins at index toffset and has length len. The substring of other to be compared begins at index ooffset and has length len. The result is false if and only if at least one of the following is true:
this.charAt(toffset+k) != other.charAt(ooffset+k)
and:Character.toLowerCase(this.charAt(toffset+k)) != Character.toLowerCase(other.charAt(ooffset+k))
Character.toUpperCase(this.charAt(toffset+k)) != Character.toUpperCase(other.charAt(ooffset+k))
ignoreCase
- if true
, ignore case when comparing
characters.toffset
- the starting offset of the subregion in this
string.other
- the string argument.ooffset
- the starting offset of the subregion in the string
argument.len
- the number of characters to compare.
true
if the specified subregion of this string
matches the specified subregion of the string argument;
false
otherwise. Whether the matching is exact
or case insensitive depends on the ignoreCase
argument.public boolean startsWith(String prefix, int toffset)
prefix
- the prefix.toffset
- where to begin looking in this string.
true
if the character sequence represented by the
argument is a prefix of the substring of this object starting
at index toffset
; false
otherwise.
The result is false
if toffset
is
negative or greater than the length of this
String
object; otherwise the result is the same
as the result of the expression
this.substring(toffset).startsWith(prefix)
public boolean startsWith(String prefix)
prefix
- the prefix.
true
if the character sequence represented by the
argument is a prefix of the character sequence represented by
this string; false
otherwise.
Note also that true
will be returned if the
argument is an empty string or is equal to this
String
object as determined by the
equals(Object)
method.public boolean endsWith(String suffix)
suffix
- the suffix.
true
if the character sequence represented by the
argument is a suffix of the character sequence represented by
this object; false
otherwise. Note that the
result will be true
if the argument is the
empty string or is equal to this String
object
as determined by the equals(Object)
method.public int hashCode()
String
object is computed as
usings[0]*31^(n-1) + s[1]*31^(n-2) + ... + s[n-1]
int
arithmetic, where s[i]
is the
ith character of the string, n
is the length of
the string, and ^
indicates exponentiation.
(The hash value of the empty string is zero.)
hashCode
in class Object
Object.equals(java.lang.Object)
,
Hashtable
public int indexOf(int ch)
ch
occurs in the character sequence represented by
this String
object, then the index (in Unicode
code units) of the first such occurrence is returned. For
values of ch
in the range from 0 to 0xFFFF
(inclusive), this is the smallest value k such that:
is true. For other values ofthis.charAt(k) == ch
ch
, it is the
smallest value k such that:
is true. In either case, if no such character occurs in this string, thenthis.codePointAt(k) == ch
-1
is returned.
ch
- a character (Unicode code point).
-1
if the character does not occur.public int indexOf(int ch, int fromIndex)
If a character with value ch
occurs in the
character sequence represented by this String
object at an index no smaller than fromIndex
, then
the index of the first such occurrence is returned. For values
of ch
in the range from 0 to 0xFFFF (inclusive),
this is the smallest value k such that:
is true. For other values of(this.charAt(k) == ch) && (k >= fromIndex)
ch
, it is the
smallest value k such that:
is true. In either case, if no such character occurs in this string at or after position(this.codePointAt(k) == ch) && (k >= fromIndex)
fromIndex
, then
-1
is returned.
There is no restriction on the value of fromIndex
. If it
is negative, it has the same effect as if it were zero: this entire
string may be searched. If it is greater than the length of this
string, it has the same effect as if it were equal to the length of
this string: -1
is returned.
All indices are specified in char
values
(Unicode code units).
ch
- a character (Unicode code point).fromIndex
- the index to start the search from.
fromIndex
, or -1
if the character does not occur.public int lastIndexOf(int ch)
ch
in the
range from 0 to 0xFFFF (inclusive), the index (in Unicode code
units) returned is the largest value k such that:
is true. For other values ofthis.charAt(k) == ch
ch
, it is the
largest value k such that:
is true. In either case, if no such character occurs in this string, thenthis.codePointAt(k) == ch
-1
is returned. The
String
is searched backwards starting at the last
character.
ch
- a character (Unicode code point).
-1
if the character does not occur.public int lastIndexOf(int ch, int fromIndex)
ch
in the range
from 0 to 0xFFFF (inclusive), the index returned is the largest
value k such that:
is true. For other values of(this.charAt(k) == ch) && (k <= fromIndex)
ch
, it is the
largest value k such that:
is true. In either case, if no such character occurs in this string at or before position(this.codePointAt(k) == ch) && (k <= fromIndex)
fromIndex
, then
-1
is returned.
All indices are specified in char
values
(Unicode code units).
ch
- a character (Unicode code point).fromIndex
- the index to start the search from. There is no
restriction on the value of fromIndex
. If it is
greater than or equal to the length of this string, it has
the same effect as if it were equal to one less than the
length of this string: this entire string may be searched.
If it is negative, it has the same effect as if it were -1:
-1 is returned.
fromIndex
, or -1
if the character does not occur before that point.public int indexOf(String str)
isthis.startsWith(str, k)
true
.
str
- any string.
-1
is returned.public int indexOf(String str, int fromIndex)
If no such value of k exists, then -1 is returned.k >= Math.min(fromIndex, this.length()) && this.startsWith(str, k)
str
- the substring for which to search.fromIndex
- the index from which to start the search.
public int lastIndexOf(String str)
this.length()
.
The returned index is the largest value k such that
is true.this.startsWith(str, k)
str
- the substring to search for.
-1
is returned.public int lastIndexOf(String str, int fromIndex)
If no such value of k exists, then -1 is returned.k <= Math.min(fromIndex, this.length()) && this.startsWith(str, k)
str
- the substring to search for.fromIndex
- the index to start the search from.
public String substring(int beginIndex)
Examples:
"unhappy".substring(2) returns "happy" "Harbison".substring(3) returns "bison" "emptiness".substring(9) returns "" (an empty string)
beginIndex
- the beginning index, inclusive.
IndexOutOfBoundsException
- if
beginIndex
is negative or larger than the
length of this String
object.public String substring(int beginIndex, int endIndex)
beginIndex
and
extends to the character at index endIndex - 1
.
Thus the length of the substring is endIndex-beginIndex
.
Examples:
"hamburger".substring(4, 8) returns "urge" "smiles".substring(1, 5) returns "mile"
beginIndex
- the beginning index, inclusive.endIndex
- the ending index, exclusive.
IndexOutOfBoundsException
- if the
beginIndex
is negative, or
endIndex
is larger than the length of
this String
object, or
beginIndex
is larger than
endIndex
.public CharSequence subSequence(int beginIndex, int endIndex)
An invocation of this method of the form
behaves in exactly the same way as the invocationstr.subSequence(begin, end)
This method is defined so that the String class can implement thestr.substring(begin, end)
CharSequence
interface.
subSequence
in interface CharSequence
beginIndex
- the begin index, inclusive.endIndex
- the end index, exclusive.
IndexOutOfBoundsException
- if beginIndex or endIndex are negative,
if endIndex is greater than length(),
or if beginIndex is greater than startIndexpublic String concat(String str)
If the length of the argument string is 0
, then this
String
object is returned. Otherwise, a new
String
object is created, representing a character
sequence that is the concatenation of the character sequence
represented by this String
object and the character
sequence represented by the argument string.
Examples:
"cares".concat("s") returns "caress" "to".concat("get").concat("her") returns "together"
str
- the String
that is concatenated to the end
of this String
.
public String replace(char oldChar, char newChar)
oldChar
in this string with newChar
.
If the character oldChar
does not occur in the
character sequence represented by this String
object,
then a reference to this String
object is returned.
Otherwise, a new String
object is created that
represents a character sequence identical to the character sequence
represented by this String
object, except that every
occurrence of oldChar
is replaced by an occurrence
of newChar
.
Examples:
"mesquite in your cellar".replace('e', 'o') returns "mosquito in your collar" "the war of baronets".replace('r', 'y') returns "the way of bayonets" "sparring with a purple porpoise".replace('p', 't') returns "starring with a turtle tortoise" "JonL".replace('q', 'x') returns "JonL" (no change)
oldChar
- the old character.newChar
- the new character.
oldChar
with newChar
.public boolean matches(String regex)
An invocation of this method of the form str.matches(regex) yields exactly the same result as the expression
Pattern
.matches
(regex, str)
regex
- the regular expression to which this string is to be matched
PatternSyntaxException
- if the regular expression's syntax is invalidPattern
public boolean contains(CharSequence s)
s
- the sequence to search for
s
, false otherwise
NullPointerException
- if s
is null
public String replaceFirst(String regex, String replacement)
An invocation of this method of the form str.replaceFirst(regex, repl) yields exactly the same result as the expression
Pattern
.compile
(regex).matcher
(str).replaceFirst
(repl)
Note that backslashes (\) and dollar signs ($) in the
replacement string may cause the results to be different than if it were
being treated as a literal replacement string; see
Matcher.replaceFirst(java.lang.String)
.
Use Matcher.quoteReplacement(java.lang.String)
to suppress the special
meaning of these characters, if desired.
regex
- the regular expression to which this string is to be matchedreplacement
- the string to be substituted for the first match
PatternSyntaxException
- if the regular expression's syntax is invalidPattern
public String replaceAll(String regex, String replacement)
An invocation of this method of the form str.replaceAll(regex, repl) yields exactly the same result as the expression
Pattern
.compile
(regex).matcher
(str).replaceAll
(repl)
Note that backslashes (\) and dollar signs ($) in the
replacement string may cause the results to be different than if it were
being treated as a literal replacement string; see
Matcher.replaceAll
.
Use Matcher.quoteReplacement(java.lang.String)
to suppress the special
meaning of these characters, if desired.
regex
- the regular expression to which this string is to be matchedreplacement
- the string to be substituted for each match
PatternSyntaxException
- if the regular expression's syntax is invalidPattern
public String replace(CharSequence target, CharSequence replacement)
target
- The sequence of char values to be replacedreplacement
- The replacement sequence of char values
NullPointerException
- if target
or
replacement
is null
.public String[] split(String regex, int limit)
The array returned by this method contains each substring of this string that is terminated by another substring that matches the given expression or is terminated by the end of the string. The substrings in the array are in the order in which they occur in this string. If the expression does not match any part of the input then the resulting array has just one element, namely this string.
The limit parameter controls the number of times the pattern is applied and therefore affects the length of the resulting array. If the limit n is greater than zero then the pattern will be applied at most n - 1 times, the array's length will be no greater than n, and the array's last entry will contain all input beyond the last matched delimiter. If n is non-positive then the pattern will be applied as many times as possible and the array can have any length. If n is zero then the pattern will be applied as many times as possible, the array can have any length, and trailing empty strings will be discarded.
The string "boo:and:foo", for example, yields the following results with these parameters:
Regex Limit Result : 2 { "boo", "and:foo" } : 5 { "boo", "and", "foo" } : -2 { "boo", "and", "foo" } o 5 { "b", "", ":and:f", "", "" } o -2 { "b", "", ":and:f", "", "" } o 0 { "b", "", ":and:f" }
An invocation of this method of the form str.split(regex, n) yields the same result as the expression
Pattern
.compile
(regex).split
(str, n)
regex
- the delimiting regular expressionlimit
- the result threshold, as described above
PatternSyntaxException
- if the regular expression's syntax is invalidPattern
public String[] split(String regex)
This method works as if by invoking the two-argument split
method with the given expression and a limit
argument of zero. Trailing empty strings are therefore not included in
the resulting array.
The string "boo:and:foo", for example, yields the following results with these expressions:
Regex Result : { "boo", "and", "foo" } o { "b", "", ":and:f" }
regex
- the delimiting regular expression
PatternSyntaxException
- if the regular expression's syntax is invalidPattern
public String toLowerCase(Locale locale)
String
to lower
case using the rules of the given Locale
. Case mapping is based
on the Unicode Standard version specified by the Character
class. Since case mappings are not always 1:1 char mappings, the resulting
String
may be a different length than the original String
.
Examples of lowercase mappings are in the following table:
| Language Code of Locale | Upper Case | Lower Case | Description |
|---|---|---|---|
| tr (Turkish) | \u0130 | \u0069 | capital letter I with dot above -> small letter i |
| tr (Turkish) | \u0049 | \u0131 | capital letter I -> small letter dotless i |
| (all) | French Fries | french fries | lowercased all chars in String |
| (all) | lowercased all chars in String |
locale
- use the case transformation rules for this locale
String
, converted to lowercase.toLowerCase()
,
toUpperCase()
,
toUpperCase(Locale)
public String toLowerCase()
String
to lower
case using the rules of the default locale. This is equivalent to calling
toLowerCase(Locale.getDefault())
.
Note: This method is locale sensitive, and may produce unexpected
results if used for strings that are intended to be interpreted locale
independently.
Examples are programming language identifiers, protocol keys, and HTML
tags.
For instance, "TITLE".toLowerCase()
in a Turkish locale
returns "t?tle"
, where '?' is the LATIN SMALL
LETTER DOTLESS I character.
To obtain correct results for locale insensitive strings, use
toLowerCase(Locale.ENGLISH)
.
String
, converted to lowercase.toLowerCase(Locale)
public String toUpperCase(Locale locale)
String
to upper
case using the rules of the given Locale
. Case mapping is based
on the Unicode Standard version specified by the Character
class. Since case mappings are not always 1:1 char mappings, the resulting
String
may be a different length than the original String
.
Examples of locale-sensitive and 1:M case mappings are in the following table.
| Language Code of Locale | Lower Case | Upper Case | Description |
|---|---|---|---|
| tr (Turkish) | \u0069 | \u0130 | small letter i -> capital letter I with dot above |
| tr (Turkish) | \u0131 | \u0049 | small letter dotless i -> capital letter I |
| (all) | \u00df | \u0053 \u0053 | small letter sharp s -> two letters: SS |
| (all) | Fahrvergnügen | FAHRVERGNÜGEN |
locale
- use the case transformation rules for this locale
String
, converted to uppercase.toUpperCase()
,
toLowerCase()
,
toLowerCase(Locale)
public String toUpperCase()
String
to upper
case using the rules of the default locale. This method is equivalent to
toUpperCase(Locale.getDefault())
.
Note: This method is locale sensitive, and may produce unexpected
results if used for strings that are intended to be interpreted locale
independently.
Examples are programming language identifiers, protocol keys, and HTML
tags.
For instance, "title".toUpperCase()
in a Turkish locale
returns "T?TLE"
, where '?' is the LATIN CAPITAL
LETTER I WITH DOT ABOVE character.
To obtain correct results for locale insensitive strings, use
toUpperCase(Locale.ENGLISH)
.
String
, converted to uppercase.toUpperCase(Locale)
public String trim()
If this String
object represents an empty character
sequence, or the first and last characters of character sequence
represented by this String
object both have codes
greater than '\u0020'
(the space character), then a
reference to this String
object is returned.
Otherwise, if there is no character with a code greater than
'\u0020'
in the string, then a new
String
object representing an empty string is created
and returned.
Otherwise, let k be the index of the first character in the
string whose code is greater than '\u0020'
, and let
m be the index of the last character in the string whose code
is greater than '\u0020'
. A new String
object is created, representing the substring of this string that
begins with the character at index k and ends with the
character at index m-that is, the result of
this.substring(k, m+1)
.
This method may be used to trim whitespace (as defined above) from the beginning and end of a string.
public String toString()
toString
in interface CharSequence
toString
in class Object
public char[] toCharArray()
public static String format(String format, Object... args)
The locale always used is the one returned by Locale.getDefault()
.
format
- A format stringargs
- Arguments referenced by the format specifiers in the format
string. If there are more arguments than format specifiers, the
extra arguments are ignored. The number of arguments is
variable and may be zero. The maximum number of arguments is
limited by the maximum dimension of a Java array as defined by
the Java
Virtual Machine Specification. The behaviour on a
null argument depends on the conversion.
IllegalFormatException
- If a format string contains an illegal syntax, a format
specifier that is incompatible with the given arguments,
insufficient arguments given the format string, or other
illegal conditions. For specification of all possible
formatting errors, see the Details section of the
formatter class specification.
NullPointerException
- If the format is nullFormatter
public static String format(Locale l, String format, Object... args)
l
- The locale to apply during
formatting. If l is null then no localization
is applied.format
- A format stringargs
- Arguments referenced by the format specifiers in the format
string. If there are more arguments than format specifiers, the
extra arguments are ignored. The number of arguments is
variable and may be zero. The maximum number of arguments is
limited by the maximum dimension of a Java array as defined by
the Java
Virtual Machine Specification. The behaviour on a
null argument depends on the conversion.
IllegalFormatException
- If a format string contains an illegal syntax, a format
specifier that is incompatible with the given arguments,
insufficient arguments given the format string, or other
illegal conditions. For specification of all possible
formatting errors, see the Details section of the
formatter class specification
NullPointerException
- If the format is nullFormatter
public static String valueOf(Object obj)
Object
argument.
obj
- an Object
.
null
, then a string equal to
"null"
; otherwise, the value of
obj.toString()
is returned.Object.toString()
public static String valueOf(char[] data)
char
array
argument. The contents of the character array are copied; subsequent
modification of the character array does not affect the newly
created string.
data
- a char
array.
public static String valueOf(char[] data, int offset, int count)
char
array argument.
The offset
argument is the index of the first
character of the subarray. The count
argument
specifies the length of the subarray. The contents of the subarray
are copied; subsequent modification of the character array does not
affect the newly created string.
data
- the character array.offset
- the initial offset into the value of the
String
.count
- the length of the value of the String
.
IndexOutOfBoundsException
- if offset
is
negative, or count
is negative, or
offset+count
is larger than
data.length
.public static String copyValueOf(char[] data, int offset, int count)
data
- the character array.offset
- initial offset of the subarray.count
- length of the subarray.
String
that contains the characters of the
specified subarray of the character array.public static String copyValueOf(char[] data)
data
- the character array.
String
that contains the characters of the
character array.public static String valueOf(boolean b)
boolean
argument.
b
- a boolean
.
true
, a string equal to
"true"
is returned; otherwise, a string equal to
"false"
is returned.public static String valueOf(char c)
char
argument.
c
- a char
.
1
containing
as its single character the argument c
.public static String valueOf(int i)
int
argument.
The representation is exactly the one returned by the
Integer.toString
method of one argument.
i
- an int
.
int
argument.Integer.toString(int, int)
public static String valueOf(long l)
long
argument.
The representation is exactly the one returned by the
Long.toString
method of one argument.
l
- a long
.
long
argument.Long.toString(long)
public static String valueOf(float f)
float
argument.
The representation is exactly the one returned by the
Float.toString
method of one argument.
f
- a float
.
float
argument.Float.toString(float)
public static String valueOf(double d)
double
argument.
The representation is exactly the one returned by the
Double.toString
method of one argument.
d
- a double
.
double
argument.Double.toString(double)
public String intern()
A pool of strings, initially empty, is maintained privately by the
class String
.
When the intern method is invoked, if the pool already contains a
string equal to this String
object as determined by
the equals(Object)
method, then the string from the pool is
returned. Otherwise, this String
object is added to the
pool and a reference to this String
object is returned.
It follows that for any two strings s
and t
,
s.intern() == t.intern()
is true
if and only if s.equals(t)
is true
.
All literal strings and string-valued constant expressions are interned. String literals are defined in §3.10.5 of the Java Language Specification
|
Java™ Platform Standard Ed. 6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.


Please note this website is just for demo purposes. The tool is meant be used as a CLI tool. Hence this website being a bit of a "hack". The code isn't particularly clean however it should still work.
Installation
pip install composerisation
Usage
{{ usage }}
Demo
{{ yaml }}
{{ bash }}
Copied to clipboard


Hi there! Welcome to the WI+RE sandbox! This is WI+RE’s place to play around and experiment with web publishing. We can explore all kinds of things here - protoypes, playlists, coding, editing, html, css, web animations - you name it!
When everyone in the classroom, teacher and students recognizes that they are responsible for creating a learning community together, learning is at its most meaningful and useful.
- bell hooks, Teaching Critical Thinking: Practical Wisdom
Dream a little before you think.
Toni Morrison
Every child is an artist. The problem is how to remain an artist once he grows up.
Pablo Picasso
Whoever you are, no matter how lonely,
the world offers itself to your imagination,
calls to you like the wild geese, harsh and exciting –
over and over announcing your place
in the family of things.Mary Oliver, “Wild Geese”
Creativity is just connecting things. When you ask creative people how they did something, they feel a little guilty because they didn’t really do it, they just saw something. It seemed obvious to them after a while. That’s because they were able to connect experiences they’ve had and synthesize new things. And the reason they were able to do that was that they’ve had more experiences or they have thought more about their experiences than other people.
Steve Jobs
The worst enemy to creativity is self-doubt.
Sylvia Plath
You’ve got to jump off cliffs all the time and build your wings on the way down.
Annie Dillard
We live in a bewildering world.
Stephen Hawking
Too busy watering my own grass to notice if yours is greener.
Russ
We may also use this space to do more process oriented posts and share some of our prototypes - we’ll see!
For now, let’s use this as an opportunity to talk about how posts work.
You’ll find the code for this post in the _posts
directory. Take a look at the code repository at https://github.com/UCLALibrary/wire-sandbox and see if you can find the code for this post.
The code for this post is written in something called markdown, which is kind of like a simplified version of html. We use both markdown and html (and some ruby) in our posts.
Here’s a quick markdown cheatsheet to get you started.
_posts
directory2018-04-08-welcome-to-the-wire-sandbox.md
https://yourgithubusername.github.io/wire-sandbox/
- did it work? If not, find someone to help troubleshoot!


{% extends 'home.html' %} {% load static %} {% block content %}
Your support helps me fulfill our dream of helping needy around the world


This Template is responsible for creating a table of domain objects.
If you modify this template, do not forget to change the overwrite settings
in /Configuration/ExtensionBuilder/settings.yaml:
Resources:
Private:
Templates:
List.html: keep
Otherwise your changes will be overwritten the next time you save the extension in the extension builder
Listing for Hint
New Hint


FeaturesAndBenefits_Card
- ContactlessIndicator : Boolean
Indicates if the card can be used for contactless payments or not.
- MaxDailyCardWithdrawalLimit : String
Maximum daily cash withdrawallimit on the card.
- Notes : List
Optional additional notes to supplement the Card details
- OtherScheme : List
Operator of a card scheme which is not available in the standard scheme code list
- Scheme : List
Operator of Card Scheme e.g. Visa
- Enum:
- Type : String
Card Type available e.g. Debit
- Enum:
- BusinessQuickLodgeCard
- CashCard
- DebitCard
- DepositCard
- Other


null
Status
Name
Class
Version
Installed
null
null
null
Supported metrics
Id
Name
Type
Description
This plug-in does not support metrics.
Configuration properties
Name
Type
Value
This plug-in has no configuration properties.


{% load i18n %}
{% csrf_token %}
{% for error in form.non_field_errors %}
{{ error }}
{% endfor %}
{% include "gui/form_field.html" with field=form.node %}
{% include "gui/form_field.html" with field=form.zpool %}
{% include "gui/form_field.html" with field=form.alias %}
{% include "gui/form_field.html" with field=form.type %}
{% include "gui/form_field.html" with field=form.owner %}
{% include "gui/form_field.html" with field=form.access %}
{% include "gui/form_field.html" with field=form.desc %}
{% include "gui/form_field.html" with field=form.size_coef %}


Interface: UartByte
interface UartByte
- Author:
-
Jonathan Hui<EMAIL_ADDRESS>- Version:
-
$Revision: 1.5 $ $Date: 2008-06-04 03:00:35 $
Commands
command error_t receive(uint8_t *byte, uint8_t timeout)
command error_t send(uint8_t byte)
Commands - Details
receive
command error_t receive(uint8_t *byte, uint8_t timeout)
- Parameters:
-
'uint8_t* ONE byte' Where to place received byte.
-
timeout
- How long in byte times to wait.
- Returns:
-
SUCCESS if a byte was received, FAIL if timed out.
send
command error_t send(uint8_t byte)
- Parameters:
-
byte
- The byte to send.
- Returns:
-
SUCCESS if byte was sent, FAIL otherwise.


Newspaper Broke Taboos,Defying Threats and Violence
Charlie Hebdo editors defied the government’s advice and published crude caricatures of the French authorities shut down embassies,“Is it really sensible or intelligent to pour oil on the fire?” asked Laurent Fabius, the foreign minister at the time. But Charlie Hebdo’s editor, Stéphane Charbonnier, who died in the attack on the paper’s offices Wednesday, was not deterred.Week after week, the small, struggling paper amused and horrified, taking pride in offending one and all and carrying on a venerable European tradition dating to the days of the French Revolution, when satire was used to pillory Marie Antoinette, and later to challenge politicians, the police, bankers and religions of all kinds.


terms
,
rare
words
We may define
discoursal point of view
as
the relationship, expressed through discourse structure, between the implied author or some other addresser, and the fiction
.
We may define
refulgence
as
a radiant or resplendent quality or state.
But I'm not sure how
quincunx
can be defined.


12/12/19: Thus far Robert and Jake have managed to create a weather station with the ability to get the temperature, pressure, and humidity of the enviroment. We have used a raspberry Pi 3 and a adafruit BME280 temperature, pressure, and humidity chip. We had trouble connecting the BME280 to the right port because we were confusing 0x77 and 0x76. We firgured it out.
2/21/19: We have setup the raspbery pi with the proper software, attached and configued the pressure, temperature and humidity sensor, and printed all the parts for the anemometer.


Tragedies:
"Shakespeare: the nearest thing in incarnation to the eye of God"
- Laurence Olivier
"An insignificant, inartistic writer"
- Leo Tolstoy
Comedies:
"To be able to devote one's life to art without forgetting that art
is frivolous is a tremendous achievment of personal character.
Shakespeare never takes himself too seriously"
- W.H. Auden
"There is no eminent writer, not even Sir Walter Scott, whom I
despise so entirely as I despise Shakespear when I measure my
mind against his"
- G.B. Shaw
Histories:
"He breathed upon dead bodies and brought them into life"
- R.W. Emerson
"Disliked him cordially"
- J.R.R. Tolkien
Romances:
"He was the man who of all modern, and perhaps ancient poets, had the
largest and most comprehensive soul"
- John Dryden
"He was a savage… with some imagination. France has no insults,
fool’s-caps, and pillories enough for such a scoundrel"
- Voltaire


The tokens component displays a series of objects for users to interact with. Users can navigate through the list and remove tokens from it, and a message stream can place focus on tokens and remove them.
Specifies an array of tokens to include in the list.
Indicates whether to disable the tokens list to prevent users from selecting tokens, dismissing tokens, or navigating through the list with the arrow keys. When the tokens list is disabled, users can still place focus on items in the list using the Tab key.
Indicates whether users can remove tokens from the list by selecting their close buttons or pressing the Backspace key.
Specifies the token property to display for each item in the tokens list.
Indicates whether users can focus on items in the list using the Tab key. This does not affect the ability of users to select tokens, dismiss tokens, or navigate through the list with the arrow keys.
Specifies an observable of SkyTokensMessageType that can place focus on a particular token or remove the active token from the list.
Fires when users navigate through the tokens list with the Tab key and attempt to move past the final token in the list.
Fires when usersnavigate through the tokens list with the Tab key and attempt to move before the first token in the list.
Fires when the tokens in the list change. This event emits an array of the tokens in the updated list.
Fires when users select a token in the list. This event emits the selected token.
Places focus on the token that is currently selected.
Places focus on the last token in the list.
Places focus on the token after the currently selected token.
Places focus on the token before the currently selected token.
Removes the token that is currently selected from the list of tokens.
Indicates whether to disable the token to prevent users from selecting it, dismissing it, or navigating to it with the arrow keys. When the token is disabled, users can still place focus on it using the Tab key.
Sets the aria-label and title attributes for the token's close button to support accessibility.
Indicates whether users can remove the token from the list by selecting the close button or pressing the Backspace key.
Indicates whether users can press the Tab key to place focus on the token. This does not affect the ability to select the token, dismiss it, or navigate to it with the arrow keys.
Fires when users click the close button or press the Backspace key to dismiss the token.
Fires when users place focus on the token by navigating to it with the Tab key.


A data visualization on Kirtland's Warbler conservation efforts and citizen science, created with Tableau.
...


Flood alert remains in place for Shropshire
by Deborah HardimanA flood alert remains in place for parts of Shropshire following recent heavy rainfall.
Motorists and pedestrians are being urged to heed warnings and to avoid low lying roads and footpaths near watercourses and rivers between Wolverley near Shrewsbury and Newport.
The government's flood Information Service stated: "River levels are high but steady at the Tern-Walcot river gauge as a result of recent rainfall in an already saturated catchment. Consequently, flooding of roads and farmland continues.
"Flooding may affect low lying land and roads adjacent to the river from Wolverley to Newport. Other locations that may be affected include Market Drayton, Wem and Rodington.
"Further light rainfall is forecast over the next 24 hours. We expect river levels to remain high over the next few days. We are closely monitoring the situation. Please avoid using low lying footpaths near local watercourses and plan driving routes to avoid low lying roads near rivers, which may be flooded."


Timeline
The Timeline object:
Those TimelineObjects can control one or many TrackObjects from one or many Tracks of the Timeline.
The goal of the Timeline is to offer an API suited for fast UI coding. The UI can then decide whether to listen to events/modifications taking place on the overall Timeline, or on the individual Tracks.
This allows both creating simple and complex UI while offering the same interfaces
All of the following editing actions must be done on the Timeline
,
TimelineObject
(s) or TimelineSelection
s and not on the Track
(s)
or TrackObject(s)
:
- Adding objects to the Timeline
- Removing objects from the Timeline
- Linking and Unlinking objects
- Grouping and Ungrouping objects
- Moving objects
- Changing objects priority
- Trimming, Sliding, Rolling, and all other actions modifying any of
start duration in-point out-point priority
.
Contents
- One or many Tracks corresponding to the Project Settings. There is one Track per output Streams (Most projects will therefore have 2 Tracks, one for the Audio stream and one for the Video stream).
- An ordered collection of TimelineObjects. Those objects can be Sources (producing content) or Operations (modifying content).
- A list of Selections, grouping several existing TimelineObject.
- This is a convenience for modifying several distinct TimelineObjects at the same time.
- A TimelineObject can belong to several TimelineSelection
- A TimelineSelection can control one or many properties to keep the modifications of those properties in sync (start-position, priority, in-point, out-point, ...)
- The TimelineFactory, used in the Pipelines (for viewing, rendering, ...).
Timeline properties
tracks
: Ordered list of Tracks
controlled by the Timeline
selections
: List of TimelineSelection
in use.
objects
: Ordered list of TimelineObject
controlled by the Timeline
. First ordered by start
property, and then by priority
.
factory
: The TimelineFactory
to use in Pipeline
s.
Track properties
objects
: Ordered list of TrackObject
s controlled by the Track.
stream
: The Stream
of the Track.
TimelineObject properties
factory
: The ObjectFactory this TimelineObject corresponds to.
: None is an accepted value
start
: The position of the TimelineObject.
duration
: The duration of the TimelineObject.
in-point
: The in-point of the contents of the TimelineObject.
out-point
: The out-point of the contents of the TimelineObject.
priority
: The priority of the TimelineObject.
min-start
: The earliest time to which we can set the start property of the TimelineObject with the trimStart method
max-duration
: The maximum value we can set the duration property of the TimelienObject to
; track-objects
:: The TrackObject(s) it the TimelineObject controls.
; track
: the track to which the object belongs
; object
: The actual TrackObject
; time-offset
: The offset between the TimelineObject start
position and the TrackObject start
position. ALWAYS POSITIVE.
; priority-offset
: The offset between the TimelineObject priority
and the TrackObject priority
. ALWAYS POSITIVE.
TimelineSelection properties
objects
: The list of TimelineObject controlled by the TimelineSelection
TrackObject properties
parent
: The TimelineObject
controlling this TrackObject
. All the properties below MUST NOT BE MODIFIED DIRECTLY but through the parent
TimelineObject.
start
: The position of the TrackObject.
duration
: The duration of the TrackObject.
in-point
: The in-point of the contents of the TrackObject.
out-point
: The out-point of the contents of the TrackObject.
priority
: The priority of the TrackObject.
Relationships
Between Timeline and Track(s)
The diagram below shows the relationship between Timeline, Tracks, TimelineObject and TrackObjects.
Each TimelineObject controls at least one TrackObject in any of the Timeline's Tracks.
We can see here that the two first TimelineObject control one TrackObject per Track. But the last TimelineObject only controls a TrackObject in the first Track.
Each TrackObject of a given TimelineObject can have a relative offset
This can be seen with the 2nd TimelineObject where the TrackObject it controls in the second track doesn't start at the same position.
Between containers, TimelineObject and ObjectFactory
The following diagram shows the relationship between:
- Containers
- Timeline
- Track
- Objects
- At the Timeline level : TimelineObject
- At the Track level : TrackObject
- ObjectFactory
- At the Timeline level : ObjectFactory
- At the Track level : Streams(s) of an ObjectFactory
With the diagram above, the use-case of adding a source file to a Timeline becomes trivial:
- Pick the ObjectFactory corresponding to your source file
- Add it to the Timeline
-
The Timeline creates a TimelineObject compatible with the given ObjectFactory type
Timelines can therefore reject incompatible ObjectFactory like Live devices
-
The timeline looks for what Streams the ObjectFactory can consume/provide
-
For each of the Streams that the ObjectFactory handles:
-
Find a Track with a compatible Stream
The user can of course choose his own Stream<=>Track mapping
-
Create a TrackObject for that ObjectFactory Stream
-
Add the TrackObject to the Track
-
Link the TrackObject to the newly created TimelineObject
-
-
Between TrackObject and GStreamer
The following diagram shows:
- On the left, the class hierarchy for TrackObject
- On the right, the class hierarchy for the various GNonLin GStreamer elements.
The links between TrackObject(s) and GnlObject(s) show their relationship.
Use cases
Unlinking two TrackObjects
We have a TimelineObject 'X' controlling two TrackObject 'A' and 'B' coming from a common ObjectFactory 'O'. This is the most common case when adding a Audio+Video File to the Timeline.
We want to handle the TrackObject(s) separately. Maybe to offset them, maybe to remove one of the TrackObject, ...
- We ask to unlink a certain TrackObject (B) from its controlling TimelineObject (X).
- The TimelineObject (X) looks for the ObjectFactory (O) from which the TrackObject (B) was created. In this case there's only one ObjectFactory, but there could be several in the case of LinkedSources.
- It creates a new empty TimelineObject (Y) for the selected ObjectFactory (O). That new TimelineObject is a complete clone of (X) except for the list of TrackObject(s) it controls.
- It removes the TrackObject (B) from the list of objects it's
tracking. This means that:
- (B) temporarily has no controlling TimelineObject.
- The TrackObject (B) has NOT been removed from the Track to which it belonged.
- It adds the TrackObject (B) to the list of objects controlled by the new TimelineObject (Y).
Linking Two TrackObjects
That come from the same ObjectFactory
This is the case when we had two TrackObjects originally belonging to the same TimelineObject, but which we unlinked.
- We ask to link a TrackObject (B) to a TimelineObject (X).
- The TimelineObject (X) compares the originating ObjectFactory of the TrackObject (B) and sees they are the same.
- The TimelineObject (X) unsets the TrackObject (B) from its current
parent TimelineObject (Y)
- If (Y) is no longer controlling any TrackObjects, we remove it from the Timeline.
- The TimelineObject (X) adds the TrackObject (B) to its list of controlled TrackObject.
That come from different ObjectFactory
This is for the more generic case of linking two TrackObjects. A common example is when we recorded Audio and Video on separate devices/files.
- We ask to link TrackkObject (B) to TrackObject (A)
- We see they belong to originated from completely different ObjectFactory, requiring a new TimelineObject to control the two.
- Since we don't want to lose the original relationships between
TrackObject and ObjectFactory, we create a LinkedtimelineObject
(XY), wrapping the two previously existing TimelineObject (X and Y).
-
Possibility : Since all TimelineObject have a counterpart
ObjectFactory, we could automatically create a
LinkedObjectFactory for the LinkedTimelineObject (XY) we just
created
- This allows infinite reuse of objects created in the Timeline.
-
Possibility : Since all TimelineObject have a counterpart
ObjectFactory, we could automatically create a
LinkedObjectFactory for the LinkedTimelineObject (XY) we just
created
Remaining issues
- Does core need to provide some help for the UI's marker/keyframe handling ?
- How do we 'properly' handle the different kinds of linkage in
LinkedTimelineObject
- Some people might just want to have synchronized 'start' positions, but independent priorities for the TrackObjects.
- Some people might want to have the priorities synchronized, but freely move the positions of the TrackObjects.
The results of the search are


{% extends 'base.html' %} {% block content %}
Projects
Create a project to store your surveys, messages, and contacts.


Ever played a memory card game?
Understand basic basketball terminology?
You're ready to play!
Not so sure?  The goal of the game is to flip over cards that match. So keep flipping until you figure out where the pairs are. If you see cards and you aren't clicking, you're doing something wrong.


Change Font Sizes with CSS
This is normal text, so you have something to compare the styled text to.
Item one
Item two
Item three
This is three times the normal size
This is three times the normal size
This is three times the normal size


HomeTown Players Pro Basketball Team
| Player Name |
Shots |
Points |
Free Throws |
Rebounds |
Steals |
Assists |
| Jason Bourne |
32 |
18 |
7/10 |
6 |
2 |
4 |
| Tony Stark |
24 |
17 |
6/12 |
5 |
8 |
13 |
| David Banner |
32 |
18 |
7/10 |
6 |
2 |
4 |
| Peter Parker |
24 |
17 |
6/12 |
5 |
8 |
13 |
| Barry Allen |
32 |
18 |
7/10 |
6 |
2 |
4 |
| Bruce Wayne |
24 |
17 |
6/12 |
5 |
8 |
13 |
| Shots |
Points |
Free Throws |
Rebounds |
Steals |
Assists |
| 1250 |
750 |
194/227 |
551 |
256 |
754 |


This feature is only available when the agent is running and connected
This feature is only supported by Glowroot agent 0.9.2 and later
(currently reporting agent version is {{agentUnsupportedOperation}})
This feature is only available when the agent is running in a JDK (currently running in a JRE).
This feature is not available when the agent is running in IBM J9 VM / Eclipse OpenJ9 VM.


Next: get-internal-run-time, Previous: internal-time-units-per-second, Up: Environment Dictionary
get-internal-real-time
<no arguments> ⇒ internal-time
internal-time—a non-negative integer.
get-internal-real-time returns as an integer the current time in internal time units, relative to an arbitrary time base. The difference between the values of two calls to this function is the amount of elapsed real time (i.e., clock time) between the two calls.
Time of day (i.e., the passage of time). The time base affects the result magnitude.


If you click 'Cooperate' you will pay {0} points for each player you are connected with and we will give {1} points to each player you are connected with.
If you click 'Defect' you will pay 0 points and give 0 points to each player you are connected with.


My Name is Marco. I'm 29 years old and I'm a web Designer
I enjoy writing front-end code with these technologies
You can contact me at my Facebook contact


RTL TEST
Testing our application with Rtl (enable)
After changing rtl, please restart app.
Blue
Trust, Dependable Strenght
Blue gradient 1
Trust gradient 1, Dependable Strenght
Blue gradient 2
Trust gradient 2, Dependable Strenght
Blue gradient 3
Trust gradient 3, Dependable Strenght
DARK GRAY
Balance, Calm
GREEN
Peaceful, Growth Health
PURPLE
Creative, Imaginitive Wise
RED
Ecxitement, Youtfull Bold
ORANGE
Frendly, Cheerfull confidence
YELLOW
Optimism, Clarity Warmth


Factsheet
Developer:
Mad Capacity & LREVG
Based in Calgary & Vancouver, Canada
Founding date:
December 8th, 2014
Website:
madcapacity.com
Press / Business Contact:
<EMAIL_ADDRESS>Social:
Twitter @madcapacity
Twitter @chuckbergeron
Releases:
Astervoid2000
Address:
Chuck Bergeron
280 Nelson St -- Suite #523
Vancouver, BC. V6B 2E2
Phone:
+1<PHONE_NUMBER>
Description
Mad Capacity is Justin Luk. LREVG is Chuck Bergeron. Together they've teamed up to bring quality 2D games to life.
History
Early HistoryJustin Luk & Chuck Bergeron met in Junior High school, over 20 years ago. In their youth, they loved getting together for gaming and couldn't put down the Atari, then NES, then SNES, then PlayStation, well, you get the idea.
Recent HistoryWe have a confession to make. We watched Indie Game: The Movie and were inspired to start making games. Yes. We're those guys. Thankfully, we've been programming and designing various software creations for over 25 combined years, so we know how to create beautiful & memorable digital experiences.
Projects
Videos
Astervoid 2000 Gameplay Teaser Trailer YouTube
Awards & Recognition
- "GDX Team Choice Award" - Edmonton, Canada. May 2016
- "GDX People's Choice Award" - Edmonton, Canada. May 2016
- "Extra Life GDX Tournament Official Selection" - Edmonton, Canada. May 2016
- "CUFFCade 2016 Calgary Arcade Official Selection" - Calgary, Canada. April 2016
- "Seattle Indies Expo Official Selection" - Seattle, WA. August 2015
- "BitBazaar 2015 Toronto Official Selection" - Calgary, Canada. May 2015
Team & Repeating Collaborators
Justin Luk
Business Development, Game Design, Mad Capacity
Chuck Bergeron
Business Development, Programming, LREVG
Contact
Inquiries
<EMAIL_ADDRESS>Twitter -- Justin Luk
twitter.com/madcapacity
Twitter -- Chuck Bergeron
twitter.com/chuckbergeron
Mad Capacity Site
madcapacity.com
LREVG Site
soundcloud.com/lrevg
presskit() by Rami Ismail (Vlambeer) - also thanks to these fine folks


Police trap 800 students inside Hong Kong university and threaten to shoot over unrest
Students remain trapped in Polytechnic University in Hong Kong and police have warned they'll use live ammunition if anyone continues to protest in a tense showdown
by Bradley Jolly, https://www.mirror.co.uk/authors/bradley-jolly/Police have trapped around 800 students inside a Hong Kong university and have threatened to use live bullets on those who fail to surrender.
The anti-government protesters at the sprawling Polytechnic University remain holed up, fearful of police with water cannons, ammunition and armoured vehicles.
Officers used teargas last night in what has become one of the most prolonged and tense confrontations between police and demonstrators in more than five months of political unrest.
And police threatened to fire "rioters" with live bullets today.
The terrified students countered the volleys of teargas and rubber bullets with gasoline bombs, slingshots and bows and arrows.
Several of the demonstrators have been arrested.
But others have managed to hide under umbrellas and shields made out of debris.
Democratic lawmaker Hui Chi-fung said: "The police might not storm the campus but it seems like they are trying to catch people as they attempt to run.
"It’s not optimistic now. They might all be arrested on campus. Lawmakers and school management are trying to liaise with the police but failed."
Witnesses said students are determined not to surrender.
"Officially, they are saying people have to leave now, and even pointing out some ways to let you out. But when people try to leave that way, they contain them. It’s a set-up," Tang Siu Wa, a volunteer with the Protect the Children group, told The Guardian .
The 41-year-old added: "People getting tired but they don’t want to surrender."
A spokesman for the university's Student Union said: "Because most of the emergency relief team and first-aiders have been arrested and taken away, there are insufficient resources and personnel within campus to treat the injured.
He called the situation "a severe humanitarian crisis".
Protesters have blocked one of the city's major arteries, the Cross-Harbour Tunnel linking Hong Kong island to the Kowloon peninsula, for much of the past week.


The Microsoft® HTML Help Workshop consists of an online Help Viewer, related help components, and help authoring tools from Microsoft Corporation. The Help Viewer uses the underlying components of Microsoft Internet Explorer to display help content. It supports HTML, ActiveX®, Java™, scripting languages (JScript®, and Microsoft Visual Basic® Scripting Edition), and HTML image formats (.jpeg, .gif, and .png files). The help authoring tool, HTML Help Workshop, provides an easy-to-use system for creating and managing help projects and their related files.
The Workshop contains an ActiveX control or Java Applet to insert into HTML files, a help authoring tool, an online image editing tool, and an executable program that displays a user's help files. It also has an authoring guide with sections on how to design a help system and how to use HTML Help Workshop. It has references to information about the HTML Help ActiveX control, an HTML Help API reference for developers, a complete HTML tag reference, and reusable help topics that explain how to use the Help Viewer.
A wealth of guidance on the production of help topics is available via internet search.


Agile Software engineering
Java, Scala
SQL, HQL & CQL
HTML/CSS3, Javascript & JQuery
Java, Scala
SQL, HQL & CQL
HTML/CSS3, Javascript & JQuery
JDK8
Maven 3
Git
MongoDB, Cassandra & MySQL
Spring Boot & Spring MVC
Spark
JUnit, Mockito/AssertJ & Jasmine
Tomcat & Jetty
Jira/Crucible/Stash, Jenkins & Sonar
valtech is a new breed of digital agency uniquely designed to help business leaders succeed in a new digital economy. I do consultancy work for different client, helping them developing their software solution. I am also a trainer at Valtech Training.
Implementation of different REST services that are consumed by mobile application and also the legacy website to succeed a progressive migration. Performance analysis of the different services and continuous optimization of the technical stack. Participation to the realisation of continuous deployment and coding best practices. Animation of coding workshop and helping to create coding convention. Optimization of MongoDB queries and adding Jasmine tests. Maintenance of legacy code. Software factory: maven, perforce, git, jenkins, sonar. Technologies: Java, Spring, Apache Camel, MongoDB, Tomcat7, REST, Soap, JUnit, AssertJ, Mockito, Jasmine, Cucumber, JMeter, Splunk, Guvnor.
Participation to the establishment of agile practices in the team. Implementation of different functions in java for the backend and jquery for the front side. Realisation of auto generation of documents in CSV, Excel or PDF. Graphical overview for some modules. Software factory: maven, git, jenckins et sonar. Technologies:Java, Spring, Hibernate, MySQL, Jquery, Tomcat7, JfreeChart, OpenCsv, Mockito, FestAssert.
Creation of a community web plateform Establishment of agile practice in the team. Upgrading different services in Java with new methods to collect community data and exposed in REST. Implementation of community module interface with AngularJs and Twitter Bootstrap. Technologies:Java, AngularJs, Git ( Bitbucket), Twitter Bootstarp, Mockito, FestAssert.
Realisation of a new web platform for creation, update and tracking of active bank accounts of the company, Implementation of differents database script, model, services, controllers and views, Realisation of the technical documentation, Establishment of agile practice. Technologies: Java, Hibernate, MySql, Spring Web Flow, PrimeFaces , Maven, Eclipse, Svn, Mockito, JUnit.
Establishment of data bases (Cassandra and PostgreSql) and implementation of different business layers (model and services) and web interfaces (JS, NodeJS, HTML5, CSS3…), Realisation of a Data Asset Management to manage a media collection (images et videos) and realise a search based on critera using ElasticSearch, Réalisation of an E-commerce module with the integration of Paypal and Ebay, Developpmemnt done in ATDD with TDD and integration tests. Project managed in XP with my participation to slipt tasks, evaluate the charges and daily monitoring. Technologies: Java/JEE (JDK7), Lime MVC, Guice, JSON (Gson), JavaScript, NodeJs, JQuery, CoffeeScript, HTML5, Backbone, Freemarker, Cassandra, Hector, PostgreSql, EclipseLink, ElasticSearch, Junit, Mockito, Jasmin, Maven3, Jetty, Karaf, Git, Eclipse, Jenkins, Sonar, Mantis.
Uprage of web plateform for human resources management "SRH", Adding new functions and updating databases (adding columns, updating data...), Impelementation done in TDD and added integration tests. Technologies: Java/JEE, JavaScript, Mysql, Hibernate, Junit, Mockito, Maven, Tomcat, Eclipse.
Adding a new MySql database, new business layes (model and services); web interfaces (SWF and JSF) using an existing archetype. Impelementation in TDD with a hight code coverage. Management of different developpement environments: development, test and production. Upgrade of the web plateform for the management of internals orders "EDAI": add and update of interfaces. Technologies:Java/JEE JSF, Spring Web Flow, Mysql, Hibernate, JPA2, Junit, Mockito, Guava, Maven, Tomcat 7.0, Jenkins, Sonar, Eclipse.
Attended international conferences Devoxx Belgium, Devoxx Morocco, Devoxx France, JFokus, Scalar, GeeCon, J_OnTheBeach and some JUG in France and Switzerland: Cassandra au Breizh JUG Cassandra au Normandy JUG all about Big Data Girlz In Tech IOT au Lyon JUG IOT au tour JUG Devoxx Belgium Devoxx Morocco JFokus Scalability night Fier d'Etre Dev Meilleur Dev de France Devoxx France Cast Codeurs
The goal of the application is to recognize physical activity with measurement coming from an accelerometer sensor. First, the measurements are collected from the accelerometer, then data are stored in Cassandra as a timeseries model. Data are analysed with Spark using Spark Streaming and Spark MlLib; Technologies:Java/ Scala, Spark, Spark Streaming, Spark ML Lib, Android SDK, Spring Boot,Cassandra Sources are available in my github account
One Calendar is a search engine for community tech events. The application's goal is to aggregate different calendar streams and add tags and then store them so we can filter, extract them ... http://onecalendar.valtech.fr Technologies:Scala, Play, MongoDB, HTML5, CSS3, CoffeeScript Sources are available in my github account
Duchess France is French non profit association member of the global organization JDuchess. Duchess France has currently more than 1000 members. Duchess France provides a platform through which technical women working on IT can connect with each other and get involved in the greater communities. It aims to create Role Models to shift the balance and decrease the gender gap on IT. Duchess France contributes to make women visible and to teach the benefits of diversity in any team environment - whether corporate or open-source.
Managing the finance of the local assocation of the engineering school .
Running, Movies, Travelling, Cooking.


Located in Malibu, Malibu beach hotel offers free WiFi access in all areas. Other facilities offered at the property include a ticket service, a tour desk and luggage storage.


This plugin enable easily embeding LHC embed code in wodpress. Plugin can be found at
http://www.midlandwebcompany.com/download/wp-live-helper-chat/
Extension can be found at https://github.com/LiveHelperChat/xmpp-chat
Few short notices
LHC 2.30v now has extension for SugarCRM integration. Extension can be found here https://github.com/LiveHelperChat/sugarcrm
Requirements:
Install
In chat window will be new tab SugarCRM there you can create/update existing SugarCRM Lead.
P.s it's compatible with automated hosting :) Just activate it in client instance and that's all.
Also may find usefull this forum topic https://forum.livehelperchat.com/viewtopic.php?id=1065
This plugin is similar to Riak one. Just this time all files are stored in Amazon S3. Plugin can be found at
https://github.com/LiveHelperChat/amazon-s3
Install tutorial
So basically with this plugin LHC can be hosted on Amazon cloud with failover etc. Example what would be required
a. Amazon RDS - database for lhc
b. S3 - for files storage
c. Elastic cache - for Redis PHP sessions/publish events
d. Two EC2 instances, they would act as failovers. Each of them should have NodeJS running.
So LHC is infitive scalable in general. This plugin is compatible with Automated hosting plugin also.
So it took about two days to write this plugin, but now everyone can download it and use osTicket together with Live Helper Chat.


| Package | Description |
|---|---|
| cloud.jgo | |
| cloud.jgo.jjdom |
| Modifier and Type | Method and Description |
|---|---|
static £.SwingUtils |
£.SwingUtils.click(£Func func,
javax.swing.JButton... btns)
This method adds an action listener to these buttons
|
static £.SwingUtils |
£.SwingUtils.click(javax.swing.JButton btn,
£Func func)
This method adds an action listener to this button
|
static £ |
£.deserializes(File serFile,
£Func func) |
static <T> £ |
£.each(java.util.Hashtable<T,T> hashtable,
£Func func)
This method iterates the hashtable as if it were a loop
|
static <T> £ |
£.each(java.util.List<T> list,
£Func func)
This method iterates the list as if it were an iterator.
|
static <T> £ |
£.each(java.util.List<T> list,
int initialIndex,
£Func func)
This method iterates the list as if it were an iterator.
|
static <T> £ |
£.each(java.util.List<T> list,
java.lang.String returnType,
£Func func)
This method iterates the list as if it were an iterator.
|
static <T> £ |
£.each(T[] arr,
£Func func)
This method iterates the array as if it were a loop
|
static <T> £ |
£.each(T[] arr,
£Func func,
int initialIndex)
This method iterates the array as if it were a loop.
|
static <T> £ |
£.each(T[] arr,
java.lang.String returnType,
£Func func)
This method iterates the array as if it were a loop.
|
static <T> £ |
£.each2(java.util.Hashtable<java.lang.Object,java.lang.Object> hashtable,
£Func func)
This method iterates the hashtable as if it were a loop
|
static <T> £ |
£.each3(java.util.Hashtable<java.lang.String,java.lang.Object> hashtable,
£Func func)
This method iterates the hashtable as if it were a loop
|
static £ |
£.executeLastInstructions(£Func function)
This method executes the last instructions and then quits the program
|
static £ |
£.executeLastInstructions(£Func function,
java.lang.Object paramFunction)
This method executes the last instructions and then quits the program
|
static £.SwingUtils |
£.SwingUtils.hide(javax.swing.JFrame jFram,
£.Effect effect,
£Func func)
This is the opposite of show.
|
static £ |
£.interval(int millisec,
£Func func)
This method runs a time interval.
|
static £ |
£.interval(int millisec,
int secRunning,
int startDelay,
£Func intervalFunc,
£Func endFunc)
This method runs a time interval.
|
static £.SwingUtils |
£.SwingUtils.moveJFrame(javax.swing.JFrame frame,
int x,
int y,
£.Effect effect,
£Func func)
This method moves the frame
The method is fine only if it is not used: setLocationRelativeTo(null); The supported effects are all speed effects. |
static £ |
£.openCdPlayer(£Func func)
This method opens the cd-rom.
|
static £ |
£.pause(int sec,
£Func func)
Equivalent to Thread.sleep ();
|
static £ |
£.pause(int minutes,
£Func startFunc,
£Func endFunc)
Equivalent to Thread.sleep ();
|
static £ |
£.recordFromMicrophone(int minutes,
java.lang.String fileNameWithoutFormat,
boolean openFile,
£Func func)
This method records from the microphone and saves the registration thing on a
file
|
static £ |
£.screenshot(£Func func)
This method executes a screenshot.
|
static £ |
£.screenshot(java.lang.String PNGFileName,
£Func func)
This method executes a screenshot.
|
static j£ |
j£.sendSimpleEmailWithAuthentication(java.lang.String recipient,
java.lang.String sender,
java.lang.String subject,
java.lang.String text,
java.lang.String smtp_host,
int smtp_port,
java.lang.String username,
java.lang.String password,
java.io.File attached,
java.lang.String contentType,
£Func okCallBack,
£Func noCallBack)
This method sends an email, but authenticating itself.
|
static £ |
£.serializes(java.lang.Object obj,
java.lang.String fileName,
£Func func)
This method serializes an object.
|
static £.SwingUtils |
£.SwingUtils.show(javax.swing.JFrame jFram,
£.Effect effect,
£Func func)
This method shows the frame The effects allowed are the following:
£.Effect.SLOW
£.Effect.REALLY_SLOW
£.Effect.FAST
£.Effect.REALLY_FAST
£.Effect.SUPER_FAST
£.Effect.IMPERCEPTIBLE
|
static £ |
£.th(£Func func)
this method creates a thread
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
function |