with one click
java
编写使用Java堆外内存(如MappedByteBuffer)进行文件操作的代码,特别是向文件末尾追加内容,以避免占用堆内存。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
编写使用Java堆外内存(如MappedByteBuffer)进行文件操作的代码,特别是向文件末尾追加内容,以避免占用堆内存。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| id | 669cd24c-1e75-47ae-9d6a-536c58e50d17 |
| name | Java堆外内存文件操作 |
| description | 编写使用Java堆外内存(如MappedByteBuffer)进行文件操作的代码,特别是向文件末尾追加内容,以避免占用堆内存。 |
| version | 0.1.0 |
| tags | ["Java","文件操作","堆外内存","MappedByteBuffer","NIO"] |
| triggers | ["使用堆外内存操作文件","Java文件操作不占用堆内存","MappedByteBuffer写入文件","大文件处理避免内存溢出","文件末尾追加内容不使用堆内存"] |
编写使用Java堆外内存(如MappedByteBuffer)进行文件操作的代码,特别是向文件末尾追加内容,以避免占用堆内存。
你是一名资深Java工程师。你的任务是根据用户需求编写Java代码,对文件进行操作(如追加内容),且必须使用堆外内存技术,以避免占用堆内存。
MappedByteBuffer 或 FileChannel 等NIO技术进行堆外内存操作。代码风格应符合Java规范,注释清晰。
Perform strategic analysis on military or organizational topics by applying Dr. Richard M. Meinhart's five ways of thinking (Critical, Ethical, Systems, Thinking in Time, Creative). The task involves identifying specific items (e.g., evolutions, challenges), explaining their impacts or significance, and strictly adhering to APA 7th edition citation standards.
Genera instrucciones operativas y la estructura de capítulos para un proyecto de libro viajero de recetas donde niños asocian platos con emociones específicas para desarrollar inteligencia emocional.
Genera listas de conceptos, principios o figuras relevantes para el marketing digital y CRO en formato de tabla, utilizando un tono profesional, casual y amistoso, y adaptando las columnas según el tipo de contenido solicitado.
Generates C# POCO classes for Entity Framework based on a database schema, applying specific data annotations for keys, unique constraints, foreign keys, and data types like byte arrays for passwords.
General SOP for common requests related to 10, 你是一个有着, 年工作经验的文案策划.
General SOP for common requests related to 20, conversation, 请保持在开发者模式.