Package | Description |
---|---|
it.unimi.dsi.io | |
it.unimi.dsi.lang | |
it.unimi.dsi.parser | |
it.unimi.dsi.parser.callback | |
it.unimi.dsi.util |
Modifier and Type | Method and Description |
---|---|
MutableString |
FileLinesCollection.FileLinesIterator.next() |
MutableString |
LineIterator.next() |
MutableString |
FastBufferedReader.readLine(MutableString s)
Reads a line into the given mutable string.
|
Modifier and Type | Method and Description |
---|---|
it.unimi.dsi.fastutil.objects.ObjectList<MutableString> |
FileLinesCollection.allLines()
Returns all lines of the file wrapped by this file-lines collection.
|
List<MutableString> |
LineIterator.allLines()
Returns all lines remaining in this iterator as a list.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LineWordReader.next(MutableString word,
MutableString nonWord) |
boolean |
FastBufferedReader.next(MutableString word,
MutableString nonWord) |
boolean |
WordReader.next(MutableString word,
MutableString nonWord)
Extracts the next word and non-word.
|
MutableString |
FastBufferedReader.readLine(MutableString s)
Reads a line into the given mutable string.
|
Constructor and Description |
---|
DelimitedWordReader(MutableString s,
it.unimi.dsi.fastutil.chars.CharSet delimiters)
Creates a new delimited word reader by wrapping a given mutable string and using a set of delimiters.
|
FastBufferedReader(MutableString s)
Creates a new fast buffered reader by wrapping a given mutable string.
|
FastBufferedReader(MutableString s,
it.unimi.dsi.fastutil.chars.CharSet wordConstituents)
Creates a new fast buffered reader by wrapping a given mutable string and using a set of additional word constituents.
|
Modifier and Type | Method and Description |
---|---|
MutableString |
MutableString.append(boolean b)
Appends a boolean to this mutable string.
|
MutableString |
MutableString.append(char c)
Appends a character to this mutable string.
|
MutableString |
MutableString.append(char[] a)
Appends the given character array to this mutable string.
|
MutableString |
MutableString.append(char[] a,
int offset,
int len)
Appends a part of the given character array to this mutable string.
|
MutableString |
MutableString.append(it.unimi.dsi.fastutil.chars.CharList list)
Appends the given character list to this mutable string.
|
MutableString |
MutableString.append(it.unimi.dsi.fastutil.chars.CharList list,
int offset,
int len)
Appends a part of the given character list to this mutable string.
|
MutableString |
MutableString.append(CharSequence s)
Appends the given
CharSequence to this mutable string. |
MutableString |
MutableString.append(CharSequence[] a,
CharSequence separator)
Appends the given character sequences to this mutable string using the given separator.
|
MutableString |
MutableString.append(CharSequence[] a,
int offset,
int length,
CharSequence separator)
Appends the given character sequences to this mutable string using the given separator.
|
MutableString |
MutableString.append(CharSequence s,
int start,
int end)
Appends a subsequence of the given
CharSequence to this mutable string. |
MutableString |
MutableString.append(double d)
Appends a double to this mutable string.
|
MutableString |
MutableString.append(float f)
Appends a float to this mutable string.
|
MutableString |
MutableString.append(int i)
Appends an integer to this mutable string.
|
MutableString |
MutableString.append(long l)
Appends a long to this mutable string.
|
MutableString |
MutableString.append(MutableString s)
Appends the given mutable string to this mutable string.
|
MutableString |
MutableString.append(Object o)
Appends the string representation of an object to this mutable string.
|
MutableString |
MutableString.append(Object[] a,
CharSequence separator)
Appends the string representations of the given objects to this mutable string using the given separator.
|
MutableString |
MutableString.append(Object[] a,
int offset,
int length,
CharSequence separator)
Appends the string representations of the given objects to this mutable string using the given separator.
|
MutableString |
MutableString.append(String s)
Appends the given
String to this mutable string. |
MutableString |
MutableString.changed()
Invalidates the current cached hash code if this mutable string is compact.
|
MutableString |
MutableString.charAt(int index,
char c)
Sets the character at the given index.
|
MutableString |
MutableString.compact()
Makes this mutable string compact (see the class description).
|
MutableString |
MutableString.copy()
Creates a new compact mutable string by copying this one.
|
MutableString |
MutableString.delete(char c)
Removes all occurrences of the given character.
|
MutableString |
MutableString.delete(char[] c)
Removes all occurrences of the given characters.
|
MutableString |
MutableString.delete(it.unimi.dsi.fastutil.chars.CharSet s)
Removes all occurrences of the given characters.
|
MutableString |
MutableString.delete(int start,
int end)
Removes the characters of this mutable string with
indices in the range from
start (inclusive) to end
(exclusive). |
MutableString |
MutableString.deleteCharAt(int index)
Removes the character at the given index.
|
MutableString |
MutableString.ensureCapacity(int minimumCapacity)
Ensures that at least the given number of characters can be stored in this mutable string.
|
MutableString |
MutableString.insert(int index,
boolean b)
Inserts a boolean in this mutable string, starting from index
index . |
MutableString |
MutableString.insert(int index,
char c)
Inserts a char in this mutable string, starting from index
index . |
MutableString |
MutableString.insert(int index,
char[] c)
Inserts characters in this mutable string.
|
MutableString |
MutableString.insert(int index,
char[] c,
int offset,
int len)
Inserts characters in this mutable string.
|
MutableString |
MutableString.insert(int index,
CharSequence s)
Inserts a
CharSequence in this mutable string, starting from index index . |
MutableString |
MutableString.insert(int index,
double d)
Inserts a double in this mutable string, starting from index
index . |
MutableString |
MutableString.insert(int index,
float f)
Inserts a float in this mutable string, starting from index
index . |
MutableString |
MutableString.insert(int index,
int x)
Inserts an int in this mutable string, starting from index
index . |
MutableString |
MutableString.insert(int index,
long l)
Inserts a long in this mutable string, starting from index
index . |
MutableString |
MutableString.insert(int index,
MutableString s)
Inserts a mutable string in this mutable string, starting from index
index . |
MutableString |
MutableString.insert(int index,
Object o)
Inserts the string representation of an object in this mutable string, starting from index
index . |
MutableString |
MutableString.insert(int index,
String s)
Inserts a
String in this mutable string, starting from index index . |
MutableString |
MutableString.length(int newLength)
Sets the length.
|
MutableString |
MutableString.loose()
Makes this mutable string loose.
|
MutableString |
MutableString.readSelfDelimUTF8(DataInput s)
Reads a mutable string that has been written by
writeSelfDelimUTF8()
from a DataInput . |
MutableString |
MutableString.readSelfDelimUTF8(InputStream s)
Reads a mutable string that has been written by
writeSelfDelimUTF8()
from an InputStream . |
MutableString |
MutableString.readUTF8(DataInput s,
int length)
Reads a mutable string in UTF-8 encoding.
|
MutableString |
MutableString.readUTF8(InputStream s,
int length)
Reads a mutable string in UTF-8 encoding.
|
MutableString |
MutableString.replace(char c)
Replaces the content of this mutable string with the given character.
|
MutableString |
MutableString.replace(char[] c,
char[] r)
Replaces each occurrence of a set characters with a corresponding character.
|
MutableString |
MutableString.replace(char[] c,
CharSequence[] s)
Replaces each occurrence of a set of characters with a corresponding character sequence.
|
MutableString |
MutableString.replace(char[] c,
MutableString[] s)
Replaces each occurrence of a set of characters with a corresponding mutable string.
|
MutableString |
MutableString.replace(char[] c,
String[] s)
Replaces each occurrence of a set of characters with a corresponding string.
|
MutableString |
MutableString.replace(it.unimi.dsi.fastutil.chars.Char2CharMap m)
Replaces characters following a replacement map.
|
MutableString |
MutableString.replace(char c,
char r)
Replaces each occurrence of a character with a corresponding character.
|
MutableString |
MutableString.replace(char c,
CharSequence s)
Replaces each occurrence of a character with a corresponding character sequence.
|
MutableString |
MutableString.replace(char c,
MutableString s)
Replaces each occurrence of a character with a corresponding mutable string.
|
MutableString |
MutableString.replace(CharSequence s)
Replaces the content of this mutable string with the given character sequence.
|
MutableString |
MutableString.replace(CharSequence s,
CharSequence r)
Replaces each occurrence of a character sequence with a corresponding character sequence.
|
MutableString |
MutableString.replace(char c,
String s)
Replaces each occurrence of a character with a corresponding string.
|
MutableString |
MutableString.replace(int start,
int end,
char c)
Replaces the characters with indices ranging from
start (inclusive)
to end (exclusive) with the given character. |
MutableString |
MutableString.replace(int start,
int end,
CharSequence s)
Replaces the characters with indices ranging from
start (inclusive)
to end (exclusive) with the given CharSequence . |
MutableString |
MutableString.replace(int start,
int end,
MutableString s)
Replaces the characters with indices ranging from
start (inclusive)
to end (exclusive) with the given mutable string. |
MutableString |
MutableString.replace(int start,
int end,
String s)
Replaces the characters with indices ranging from
start (inclusive)
to end (exclusive) with the given String . |
MutableString |
MutableString.replace(MutableString s)
Replaces the content of this mutable string with the given mutable string.
|
MutableString |
MutableString.replace(MutableString s,
MutableString r)
Replaces each occurrence of a mutable string with a corresponding mutable string.
|
MutableString |
MutableString.replace(String s)
Replaces the content of this mutable string with the given string.
|
MutableString |
MutableString.replace(String s,
String r)
Replaces each occurrence of a string with a corresponding string.
|
MutableString |
MutableString.reverse()
The characters in this mutable string get reversed.
|
MutableString |
MutableString.setCharAt(int index,
char c)
A nickname for
charAt(int,char) . |
MutableString |
MutableString.setLength(int newLength)
A nickname for
length(int) . |
MutableString |
MutableString.squeezeSpace()
Squeezes and normalises spaces in this mutable string.
|
MutableString |
MutableString.squeezeSpaces(boolean squeezeOnlyWhitespace)
Squeezes and normalises spaces in this mutable string.
|
MutableString |
MutableString.squeezeWhitespace()
Squeezes and normalises whitespace in this mutable string.
|
MutableString |
MutableString.substring(int start)
Returns a substring of this mutable string.
|
MutableString |
MutableString.substring(int start,
int end)
Returns a substring of this mutable string.
|
MutableString |
MutableString.toLowerCase()
Converts all of the characters in this mutable string to lower
case using the rules of the default locale.
|
MutableString |
MutableString.toUpperCase()
Converts all of the characters in this mutable string to upper
case using the rules of the default locale.
|
MutableString |
MutableString.trim()
Trims all leading and trailing whitespace from this string.
|
MutableString |
MutableString.trimLeft()
Trims all leading whitespace from this string.
|
MutableString |
MutableString.trimRight()
Trims all trailing whitespace from this string.
|
static MutableString |
MutableString.wrap(char[] a)
Wraps a given character array in a compact mutable string.
|
static MutableString |
MutableString.wrap(char[] a,
int length)
Wraps a given character array for a given length in a loose mutable string.
|
Modifier and Type | Method and Description |
---|---|
MutableString |
MutableString.append(MutableString s)
Appends the given mutable string to this mutable string.
|
int |
MutableString.compareTo(MutableString s)
Compares this mutable string to another mutable string performing a lexicographical comparison.
|
int |
MutableString.compareToIgnoreCase(MutableString s)
Compares this mutable string to another object disregarding case.
|
boolean |
MutableString.endsWith(MutableString suffix)
Returns whether this mutable string ends with the given mutable string.
|
boolean |
MutableString.endsWithIgnoreCase(MutableString suffix)
Returns whether this mutable string ends with the given mutable string disregarding case.
|
boolean |
MutableString.equals(MutableString s)
Type-specific version of
equals() . |
boolean |
MutableString.equalsIgnoreCase(MutableString s)
Checks two mutable strings for equality ignoring case.
|
int |
MutableString.indexOf(MutableString pattern)
Returns the index of the first occurrence of the specified mutable string.
|
int |
MutableString.indexOf(MutableString pattern,
int from)
Returns the index of the first occurrence of the specified mutable string, starting at the specified index.
|
MutableString |
MutableString.insert(int index,
MutableString s)
Inserts a mutable string in this mutable string, starting from index
index . |
int |
MutableString.lastIndexOf(MutableString pattern)
Returns the index of the last occurrence of the specified mutable string.
|
int |
MutableString.lastIndexOf(MutableString pattern,
int from)
Returns the index of the last occurrence of the specified mutable string, searching backward starting at the specified index.
|
MutableString |
MutableString.replace(char[] c,
MutableString[] s)
Replaces each occurrence of a set of characters with a corresponding mutable string.
|
MutableString |
MutableString.replace(char c,
MutableString s)
Replaces each occurrence of a character with a corresponding mutable string.
|
MutableString |
MutableString.replace(int start,
int end,
MutableString s)
Replaces the characters with indices ranging from
start (inclusive)
to end (exclusive) with the given mutable string. |
MutableString |
MutableString.replace(MutableString s)
Replaces the content of this mutable string with the given mutable string.
|
MutableString |
MutableString.replace(MutableString s,
MutableString r)
Replaces each occurrence of a mutable string with a corresponding mutable string.
|
boolean |
MutableString.startsWith(MutableString prefix)
Returns whether this mutable string starts with the given mutable string.
|
boolean |
MutableString.startsWithIgnoreCase(MutableString prefix)
Returns whether this mutable string starts with the given mutable string disregarding case.
|
Constructor and Description |
---|
MutableString(MutableString s)
Creates a new compact mutable string copying a given mutable string.
|
Modifier and Type | Field and Description |
---|---|
protected it.unimi.dsi.fastutil.objects.Reference2ObjectMap<Attribute,MutableString> |
BulletParser.attrMap
A map from attributes to attribute values.
|
Modifier and Type | Method and Description |
---|---|
protected char |
BulletParser.entity2Char(MutableString name)
Returns the character corresponding to a given entity name.
|
Attribute |
HTMLFactory.getAttribute(MutableString name) |
Attribute |
ParsingFactory.getAttribute(MutableString name)
Returns the
Attribute associated
to a name. |
Attribute |
WellFormedXmlFactory.getAttribute(MutableString name) |
Element |
HTMLFactory.getElement(MutableString name) |
Element |
ParsingFactory.getElement(MutableString name)
Returns the
Element associated
to a name. |
Element |
WellFormedXmlFactory.getElement(MutableString name) |
Entity |
HTMLFactory.getEntity(MutableString name) |
Entity |
ParsingFactory.getEntity(MutableString name)
Returns the
Entity associated
to a name. |
Entity |
WellFormedXmlFactory.getEntity(MutableString name) |
protected void |
BulletParser.replaceEntities(MutableString s,
MutableString entity,
boolean loose)
Replaces entities with the corresponding characters.
|
protected int |
BulletParser.scanEntity(char[] a,
int offset,
int length,
boolean loose,
MutableString entity)
Searches for the end of an entity.
|
Modifier and Type | Field and Description |
---|---|
MutableString |
TextExtractor.text
The text resulting from the parsing process.
|
MutableString |
TextExtractor.title
The title resulting from the parsing process.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TextExtractor.startElement(Element element,
Map<Attribute,MutableString> attrMapUnused) |
boolean |
DebugCallbackDecorator.startElement(Element element,
Map<Attribute,MutableString> attrMap) |
boolean |
DefaultCallback.startElement(Element elementUnused,
Map<Attribute,MutableString> attrMapUnused) |
boolean |
Callback.startElement(Element element,
Map<Attribute,MutableString> attrMap)
Receive notification of the start of an element.
|
boolean |
LinkExtractor.startElement(Element element,
Map<Attribute,MutableString> attrMap) |
Modifier and Type | Class and Description |
---|---|
static class |
InternedMutableStringSet.Term |
Modifier and Type | Field and Description |
---|---|
protected it.unimi.dsi.fastutil.objects.ObjectList<? extends MutableString> |
LiterallySignedStringMap.list
The underlying list.
|
protected it.unimi.dsi.fastutil.objects.ObjectList<MutableString> |
AbstractPrefixMap.list |
protected it.unimi.dsi.fastutil.objects.Object2ObjectFunction<Interval,MutableString> |
AbstractPrefixMap.prefixMap |
Modifier and Type | Method and Description |
---|---|
MutableString |
FrontCodedStringList.get(int index)
Returns the element at the specified position in this front-coded as a mutable string.
|
protected abstract MutableString |
AbstractPrefixMap.getTerm(int index,
MutableString string)
Writes a string specified by index into a
MutableString . |
protected MutableString |
ImmutableExternalPrefixMap.getTerm(int index,
MutableString s) |
protected MutableString |
TernaryIntervalSearchTree.getTerm(int index,
MutableString s) |
Modifier and Type | Method and Description |
---|---|
it.unimi.dsi.fastutil.objects.ObjectList<? extends MutableString> |
LiterallySignedStringMap.list() |
it.unimi.dsi.fastutil.objects.ObjectList<MutableString> |
AbstractPrefixMap.list() |
it.unimi.dsi.fastutil.objects.ObjectListIterator<MutableString> |
FrontCodedStringList.listIterator(int k) |
it.unimi.dsi.fastutil.objects.Object2ObjectFunction<Interval,MutableString> |
AbstractPrefixMap.prefixMap() |
Modifier and Type | Method and Description |
---|---|
void |
PermutedFrontCodedStringList.get(int index,
MutableString s)
Returns the element at the specified position in this front-coded list by storing it in a mutable string.
|
void |
FrontCodedStringList.get(int index,
MutableString s)
Returns the element at the specified position in this front-coded list by storing it in a mutable string.
|
protected abstract MutableString |
AbstractPrefixMap.getTerm(int index,
MutableString string)
Writes a string specified by index into a
MutableString . |
protected MutableString |
ImmutableExternalPrefixMap.getTerm(int index,
MutableString s) |
protected MutableString |
TernaryIntervalSearchTree.getTerm(int index,
MutableString s) |
InternedMutableStringSet.Term |
InternedMutableStringSet.intern(MutableString s)
Returns an interned, canonical copy contained in this set of the specified mutable string.
|
Constructor and Description |
---|
InternedMutableStringSet.Term(MutableString s) |
Constructor and Description |
---|
LiterallySignedStringMap(it.unimi.dsi.fastutil.objects.Object2LongFunction<? extends CharSequence> function,
it.unimi.dsi.fastutil.objects.ObjectList<? extends MutableString> list)
Creates a new shift-add-xor signed string map using a given hash map.
|
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.