| Package | Description |
|---|---|
| xyz.cofe.cbuffer |
Байтовые буферы
|
| xyz.cofe.collection.map |
Карты, Прослушивание измений карт, Карты только для чтения
|
| xyz.cofe.collection.set |
Множество, Прослушивание измений множества
|
| xyz.cofe.common |
Работа с деревом
|
| xyz.cofe.fs | |
| xyz.cofe.gui.swing.bean | |
| xyz.cofe.http |
Поддержка функций работы с http
|
| xyz.cofe.io |
Функции по работе с файловой системой
|
| xyz.cofe.text |
Функцию по работе с текстом
|
| xyz.cofe.text.template |
Работа с текстовыми шаблонами
|
| xyz.cofe.xml.stream.path |
Классы для потоковой обработки больших XML файлов
|
| Modifier and Type | Field and Description |
|---|---|
protected Func2<Fragment,Long,Long> |
Fragments.defCreateFragment |
protected static Func2<ImmutableFragment,Long,Long> |
ImmutableFragments.defCreateFragment |
protected Func2<List<Fragment>,Fragment,Fragment> |
Fragments.defIntersecResolver |
protected Func2<ImmutableFragments,ImmutableFragment,ImmutableFragment> |
ImmutableFragments.defIntersecResolver |
Func2<List<Fragment>,Fragment,Fragment> |
Fragments.unionIntersecResolver
Решение пересечения обьеднением
|
Func2<ImmutableFragments,ImmutableFragment,ImmutableFragment> |
ImmutableFragments.unionIntersecResolver
Решение пересечения обьеднением
|
| Modifier and Type | Method and Description |
|---|---|
List<Fragment> |
Fragments.findHoles(long fbegin,
long fend,
Func2<Fragment,Long,Long> fcreateFragment)
Поиск дыр в указанном диапазоне
|
ImmutableFragments |
ImmutableFragments.findHoles(long begin,
long end,
Func2<ImmutableFragment,Long,Long> createFragment)
Поиск дыр в указанном диапазоне
|
ImmutableFragments |
ImmutableFragments.removeIntersections(Func2<ImmutableFragments,ImmutableFragment,ImmutableFragment> intersecResolver)
Удаление пересечений, так же удаляет нулевые фрагменты
|
void |
Fragments.removeIntersections(Func2<List<Fragment>,Fragment,Fragment> fintersecResolver)
Удаление пересечений, так же удаляет нулевые фрагменты
|
void |
Fragments.visitEachEachWithoutPosition(Func2<Object,Fragment,Fragment> visitor,
Func2<Boolean,Fragment,Fragment> equals)
Обход каждый с каждым,
без учета позиции в сочетании пар и самого себя.
|
void |
Fragments.visitEachEachWithoutPosition(Func2<Object,Fragment,Fragment> visitor,
Func2<Boolean,Fragment,Fragment> equals)
Обход каждый с каждым,
без учета позиции в сочетании пар и самого себя.
|
void |
ImmutableFragments.visitEachEachWithoutPosition(Func2<Object,ImmutableFragment,ImmutableFragment> visitor,
Func2<Boolean,ImmutableFragment,ImmutableFragment> equals)
Обход каждый с каждым,
без учета позиции в сочетании пар и самого себя.
|
void |
ImmutableFragments.visitEachEachWithoutPosition(Func2<Object,ImmutableFragment,ImmutableFragment> visitor,
Func2<Boolean,ImmutableFragment,ImmutableFragment> equals)
Обход каждый с каждым,
без учета позиции в сочетании пар и самого себя.
|
| Modifier and Type | Field and Description |
|---|---|
protected Func2<Pair<X,Y>,X,Y> |
Bijection.Update.fnXY |
| Modifier and Type | Method and Description |
|---|---|
Func2<Pair<X,Y>,X,Y> |
Bijection.Update.getFnXY() |
| Modifier and Type | Method and Description |
|---|---|
void |
Bijection.eachXY(Func2<Object,X,Y> reciver) |
Bijection.Update |
Bijection.Update.fnXY(Func2<Pair<X,Y>,X,Y> fn) |
void |
Bijection.Update.setFnXY(Func2<Pair<X,Y>,X,Y> fnXY) |
Bijection.Update |
Bijection.update(Func2<Pair<X,Y>,X,Y> fn) |
Bijection.Update |
Bijection.update(Func2<Pair<X,Y>,X,Y> fn,
boolean strong) |
| Modifier and Type | Method and Description |
|---|---|
void |
IndexSetBasic.eachByIndex(int begin,
int endEx,
Func2<Object,Integer,A> consumer) |
void |
IndexSet.eachByIndex(int begin,
int endEx,
Func2<Object,Integer,A> consumer)
Обход элементов в списке
|
void |
IndexSetBasic.eachByValue(A begin,
boolean incBegin,
A end,
boolean incEnd,
Func2<Object,Integer,A> consumer) |
void |
IndexSet.eachByValue(A begin,
boolean incBegin,
A end,
boolean incEnd,
Func2<Object,Integer,A> consumer)
Обход элементов в списке
|
| Modifier and Type | Field and Description |
|---|---|
protected Func2<Object,ListenerType,EventType> |
ListenersHelper.callListener
Функция вызывающая listener.method( event );
|
| Constructor and Description |
|---|
ListenersHelper(Func2<Object,ListenerType,EventType> callListFunc)
Конструктор.
|
ListenersHelper(Func2<Object,ListenerType,EventType> callListFunc,
Lock sync)
Конструктор.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FileAppendBytes.appendBytes(byte[] data,
int offset,
int dataSize,
int blockSize,
Func2<Object,Long,Long> progress)
Запись данных в конец файла
|
void |
FileHelper.appendBytes(byte[] data,
int offset,
int dataSize,
int blockSize,
Func2<Object,Long,Long> progress)
Запись данных в конец файла
|
void |
AbstractFile.appendBytes(byte[] data,
int offset,
int dataSize,
int blockSize,
Func2<Object,Long,Long> progress)
Запись данных в конец файла
|
void |
FileAppendText.appendText(String text,
Charset cs,
int blockSize,
Func2<Object,Long,Long> progress)
Запись текста в конец файла
|
void |
FileHelper.appendText(String text,
Charset cs,
int blockSize,
Func2<Object,Long,Long> progress)
Запись текста в конец файла
|
void |
AbstractFile.appendText(String text,
Charset cs,
int blockSize,
Func2<Object,Long,Long> progress)
Запись текста в конец файла
|
byte[] |
FileReadBytes.readBytes(int maxSize,
int blockSize,
Func2<Object,Long,Long> progress)
Чтение байтового содержимого файла
|
byte[] |
FileHelper.readBytes(int maxSize,
int blockSize,
Func2<Object,Long,Long> progress)
Чтение байтового содержимого файла
|
byte[] |
AbstractFile.readBytes(int maxSize,
int blockSize,
Func2<Object,Long,Long> progress)
Чтение байтового содержимого файла
|
String |
FileReadText.readText(Charset cs,
int maxSize,
int blockSize,
Func2<Object,Long,Long> progress)
Чтение текстового содержимого файла
|
String |
FileHelper.readText(Charset cs,
int maxSize,
int blockSize,
Func2<Object,Long,Long> progress)
Чтение текстового содержимого файла
|
String |
AbstractFile.readText(Charset cs,
int maxSize,
int blockSize,
Func2<Object,Long,Long> progress)
Чтение текстового содержимого файла
|
void |
FileHelper.writeBytes(byte[] data,
int offset,
int dataSize,
int blockSize,
Func2<Object,Long,Long> progress)
Запись данных
|
void |
AbstractFile.writeBytes(byte[] data,
int offset,
int dataSize,
int blockSize,
Func2<Object,Long,Long> progress)
Запись данных
|
void |
FileWriteBytes.writeBytes(byte[] data,
int offset,
int dataSize,
int blockSize,
Func2<Object,Long,Long> progress)
Запись данных
|
void |
FileWriteText.writeText(String text,
Charset cs,
int blockSize,
Func2<Object,Long,Long> progress)
Запись текста в файл
|
void |
FileHelper.writeText(String text,
Charset cs,
int blockSize,
Func2<Object,Long,Long> progress)
Запись текста в файл
|
void |
AbstractFile.writeText(String text,
Charset cs,
int blockSize,
Func2<Object,Long,Long> progress)
Запись текста в файл
|
| Modifier and Type | Method and Description |
|---|---|
<T> Binder.TargetBinder |
Binder.listen(Func2<Object,T,T> reciver) |
| Constructor and Description |
|---|
PropertyChangeDelegator(Object bean,
Method mremove,
boolean beanAsWeak,
Predicate<String> propertyNameFilter,
Func2<Object,Object,Object> consumer,
boolean consumerAsWeak)
Конструктор
|
| Modifier and Type | Field and Description |
|---|---|
protected Func2<Thread,HttpDownloader,Runnable> |
HttpClient.defCreateDownloaderThread |
protected Func2<Thread,HttpResponse,Runnable> |
HttpClient.defCreateResponseThread |
| Modifier and Type | Method and Description |
|---|---|
Func2<Thread,HttpDownloader,Runnable> |
HttpClient.createDownloaderThread() |
Func2<Thread,HttpResponse,Runnable> |
HttpClient.createResponseThread() |
| Modifier and Type | Method and Description |
|---|---|
static ContentFragments |
ContentFragments.createMd5(File sourceFile,
int fragmentSize,
Func2<Object,Long,Long> progress) |
static ContentFragments |
ContentFragments.createMd5(File sourceFile,
int fragmentSize,
Func2<Object,Long,Long> progress) |
static ContentFragments |
ContentFragments.createMd5(File sourceFile,
int fragmentSize,
Func2<Object,Long,Long> progress) |
static ContentFragments |
ContentFragments.createMd5(Path sourceFile,
int fragmentSize,
Func2<Object,Long,Long> progress) |
| Modifier and Type | Method and Description |
|---|---|
static void |
IOFun.appendBytes(File file,
byte[] data,
int dataOffset,
int dataSize,
int blockSize,
Func2<Object,Long,Long> progress)
Запись байт данных в конец файла
|
static void |
IOFun.appendText(File file,
String string,
Charset cs,
int blockSize,
Func2<Object,Long,Long> progress)
Запись текстовых данных в конец файла
|
static byte[] |
IOFun.readBytes(File file,
int maxSize,
int blockSize,
Func2<Object,Long,Long> progress)
Чтение байт данных
|
static String |
IOFun.readText(File file,
Charset cs,
int maxSize,
int blockSize,
Func2<Object,Long,Long> progress)
Чтение текстовых данных
|
static void |
IOFun.writeBytes(File file,
byte[] data,
int dataOffset,
int dataSize,
int blockSize,
Func2<Object,Long,Long> progress)
Запись байт данных в файл
|
static void |
IOFun.writeBytes(OutputStream to,
byte[] data,
int dataOffset,
int dataSize,
int blockSize,
Func2<Object,Long,Long> progress)
Запись байт данных в поток
|
static void |
IOFun.writeText(File file,
String string,
Charset cs,
int blockSize,
Func2<Object,Long,Long> progress)
Запись текстовых данных в файл
|
static void |
IOFun.writeText(OutputStream to,
String string,
Charset cs,
int blockSize,
Func2<Object,Long,Long> progress)
Запись текстовых данных в поток
|
| Modifier and Type | Method and Description |
|---|---|
static Predicate<String> |
Text.Predicates.in(Iterable<String> values,
Func2<Boolean,String,String> matcher)
Создает предикат проверки совпадения значения хотябы с одним из заданных
|
| Modifier and Type | Field and Description |
|---|---|
Func2<ResultType,ResultType,EvalCode> |
EvalVisitor.appendCode |
Func2<ResultType,ResultType,EvalText> |
EvalVisitor.appendText |
| Modifier and Type | Method and Description |
|---|---|
<ResultType,EvalCode,EvalText> |
TemplateParser.eval(AstNode tree,
Func1<EvalText,String> evalText,
Func1<EvalCode,String> evalCode,
Func0<ResultType> initResult,
Func2<ResultType,ResultType,EvalText> appendText,
Func2<ResultType,ResultType,EvalCode> appendCode)
Обход шаблона (AST дерева) и форматирование сообщения
|
<ResultType,EvalCode,EvalText> |
TemplateParser.eval(AstNode tree,
Func1<EvalText,String> evalText,
Func1<EvalCode,String> evalCode,
Func0<ResultType> initResult,
Func2<ResultType,ResultType,EvalText> appendText,
Func2<ResultType,ResultType,EvalCode> appendCode)
Обход шаблона (AST дерева) и форматирование сообщения
|
| Modifier and Type | Field and Description |
|---|---|
protected List<Func2<Object,XEventPath,String>> |
XVisitorAdapter.ContentPatternBuilder.consumers |
| Modifier and Type | Method and Description |
|---|---|
List<Func2<Object,XEventPath,String>> |
XVisitorAdapter.ContentPatternBuilder.getConsumers() |
| Modifier and Type | Method and Description |
|---|---|
T |
XVisitorAdapter.ContentPatternBuilder.consumer(Func2<Object,XEventPath,String> consumer) |
xyz.cofe.xml.stream.path.XVisitorAdapter.TextPatternBuilder |
XVisitorAdapter.PatternBuilder.text(Func2<Object,XEventPath,String>... consumer)
Добавляет приемников когда шаблон стработал (есть совпадение) при входе из XML TEXT узел
|
| Modifier and Type | Method and Description |
|---|---|
void |
XVisitorAdapter.ContentPatternBuilder.setConsumers(List<Func2<Object,XEventPath,String>> consumers) |
Copyright © 2019. All rights reserved.