Java Doc for Bits.java in  » 6.0-JDK-Core » io-nio » java » nio » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Home
Java Source Code / Java Documentation
1.6.0 JDK Core
2.6.0 JDK Modules
3.6.0 JDK Modules com.sun
4.6.0 JDK Modules com.sun.java
5.6.0 JDK Modules sun
6.6.0 JDK Platform
7.Ajax
8.Apache Harmony Java SE
9.Aspect oriented
10.Authentication Authorization
11.Blogger System
12.Build
13.Byte Code
14.Cache
15.Chart
16.Chat
17.Code Analyzer
18.Collaboration
19.Content Management System
20.Database Client
21.Database DBMS
22.Database JDBC Connection Pool
23.Database ORM
24.Development
25.EJB Server
26.ERP CRM Financial
27.ESB
28.Forum
29.Game
30.GIS
31.Graphic 3D
32.Graphic Library
33.Groupware
34.HTML Parser
35.IDE
36.IDE Eclipse
37.IDE Netbeans
38.Installer
39.Internationalization Localization
40.Inversion of Control
41.Issue Tracking
42.J2EE
43.J2ME
44.JBoss
45.JMS
46.JMX
47.Library
48.Mail Clients
49.Music
50.Net
51.Parser
52.PDF
53.Portal
54.Profiler
55.Project Management
56.Report
57.RSS RDF
58.Rule Engine
59.Science
60.Scripting
61.Search Engine
62.Security
63.Sevlet Container
64.Source Control
65.Swing Library
66.Template Engine
67.Test Coverage
68.Testing
69.UML
70.Web Crawler
71.Web Framework
72.Web Mail
73.Web Server
74.Web Services
75.Web Services apache cxf 2.2.6
76.Web Services AXIS2
77.Wiki Engine
78.Workflow Engines
79.XML
80.XML UI
Java Source Code / Java Documentation » 6.0 JDK Core » io nio » java.nio 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.nio.Bits

Bits
class Bits (Code)
Access to bits, native and otherwise.


Field Summary
final static  intJNI_COPY_FROM_ARRAY_THRESHOLD
    
final static  intJNI_COPY_TO_ARRAY_THRESHOLD
    


Method Summary
static  ByteOrderbyteOrder()
    
native static  voidcopyFromByteArray(Object src, long srcPos, long dstAddr, long length)
    
static  voidcopyFromCharArray(Object src, long srcPos, long dstAddr, long length)
    
native static  voidcopyFromIntArray(Object src, long srcPos, long dstAddr, long length)
    
native static  voidcopyFromLongArray(Object src, long srcPos, long dstAddr, long length)
    
native static  voidcopyFromShortArray(Object src, long srcPos, long dstAddr, long length)
    
native static  voidcopyToByteArray(long srcAddr, Object dst, long dstPos, long length)
    
static  voidcopyToCharArray(long srcAddr, Object dst, long dstPos, long length)
    
native static  voidcopyToIntArray(long srcAddr, Object dst, long dstPos, long length)
    
native static  voidcopyToLongArray(long srcAddr, Object dst, long dstPos, long length)
    
native static  voidcopyToShortArray(long srcAddr, Object dst, long dstPos, long length)
    
static  chargetChar(ByteBuffer bb, int bi, boolean bigEndian)
    
static  chargetChar(long a, boolean bigEndian)
    
static  chargetCharB(ByteBuffer bb, int bi)
    
static  chargetCharB(long a)
    
static  chargetCharL(ByteBuffer bb, int bi)
    
static  chargetCharL(long a)
    
static  doublegetDouble(ByteBuffer bb, int bi, boolean bigEndian)
    
static  doublegetDouble(long a, boolean bigEndian)
    
static  doublegetDoubleB(ByteBuffer bb, int bi)
    
static  doublegetDoubleB(long a)
    
static  doublegetDoubleL(ByteBuffer bb, int bi)
    
static  doublegetDoubleL(long a)
    
static  floatgetFloat(ByteBuffer bb, int bi, boolean bigEndian)
    
static  floatgetFloat(long a, boolean bigEndian)
    
static  floatgetFloatB(ByteBuffer bb, int bi)
    
static  floatgetFloatB(long a)
    
static  floatgetFloatL(ByteBuffer bb, int bi)
    
static  floatgetFloatL(long a)
    
static  intgetInt(ByteBuffer bb, int bi, boolean bigEndian)
    
static  intgetInt(long a, boolean bigEndian)
    
static  intgetIntB(ByteBuffer bb, int bi)
    
static  intgetIntB(long a)
    
static  intgetIntL(ByteBuffer bb, int bi)
    
static  intgetIntL(long a)
    
static  longgetLong(ByteBuffer bb, int bi, boolean bigEndian)
    
static  longgetLong(long a, boolean bigEndian)
    
static  longgetLongB(ByteBuffer bb, int bi)
    
static  longgetLongB(long a)
    
static  longgetLongL(ByteBuffer bb, int bi)
    
static  longgetLongL(long a)
    
static  shortgetShort(ByteBuffer bb, int bi, boolean bigEndian)
    
static  shortgetShort(long a, boolean bigEndian)
    
static  shortgetShortB(ByteBuffer bb, int bi)
    
static  shortgetShortB(long a)
    
static  shortgetShortL(ByteBuffer bb, int bi)
    
static  shortgetShortL(long a)
    
static  intpageSize()
    
static  voidputChar(ByteBuffer bb, int bi, char x, boolean bigEndian)
    
static  voidputChar(long a, char x, boolean bigEndian)
    
static  voidputCharB(ByteBuffer bb, int bi, char x)
    
static  voidputCharB(long a, char x)
    
static  voidputCharL(ByteBuffer bb, int bi, char x)
    
static  voidputCharL(long a, char x)
    
static  voidputDouble(ByteBuffer bb, int bi, double x, boolean bigEndian)
    
static  voidputDouble(long a, double x, boolean bigEndian)
    
static  voidputDoubleB(ByteBuffer bb, int bi, double x)
    
static  voidputDoubleB(long a, double x)
    
static  voidputDoubleL(ByteBuffer bb, int bi, double x)
    
static  voidputDoubleL(long a, double x)
    
static  voidputFloat(ByteBuffer bb, int bi, float x, boolean bigEndian)
    
static  voidputFloat(long a, float x, boolean bigEndian)
    
static  voidputFloatB(ByteBuffer bb, int bi, float x)
    
static  voidputFloatB(long a, float x)
    
static  voidputFloatL(ByteBuffer bb, int bi, float x)
    
static  voidputFloatL(long a, float x)
    
static  voidputInt(ByteBuffer bb, int bi, int x, boolean bigEndian)
    
static  voidputInt(long a, int x, boolean bigEndian)
    
static  voidputIntB(ByteBuffer bb, int bi, int x)
    
static  voidputIntB(long a, int x)
    
static  voidputIntL(ByteBuffer bb, int bi, int x)
    
static  voidputIntL(long a, int x)
    
static  voidputLong(ByteBuffer bb, int bi, long x, boolean bigEndian)
    
static  voidputLong(long a, long x, boolean bigEndian)
    
static  voidputLongB(ByteBuffer bb, int bi, long x)
    
static  voidputLongB(long a, long x)
    
static  voidputLongL(ByteBuffer bb, int bi, long x)
    
static  voidputLongL(long a, long x)
    
static  voidputShort(ByteBuffer bb, int bi, short x, boolean bigEndian)
    
static  voidputShort(long a, short x, boolean bigEndian)
    
static  voidputShortB(ByteBuffer bb, int bi, short x)
    
static  voidputShortB(long a, short x)
    
static  voidputShortL(ByteBuffer bb, int bi, short x)
    
static  voidputShortL(long a, short x)
    
static  voidreserveMemory(long size)
    
static  shortswap(short x)
    
static  charswap(char x)
    
static  intswap(int x)
    
static  longswap(long x)
    
static  booleanunaligned()
    
static synchronized  voidunreserveMemory(long size)
    
static  Unsafeunsafe()
    

Field Detail
JNI_COPY_FROM_ARRAY_THRESHOLD
final static int JNI_COPY_FROM_ARRAY_THRESHOLD(Code)



JNI_COPY_TO_ARRAY_THRESHOLD
final static int JNI_COPY_TO_ARRAY_THRESHOLD(Code)





Method Detail
byteOrder
static ByteOrder byteOrder()(Code)



copyFromByteArray
native static void copyFromByteArray(Object src, long srcPos, long dstAddr, long length)(Code)



copyFromCharArray
static void copyFromCharArray(Object src, long srcPos, long dstAddr, long length)(Code)



copyFromIntArray
native static void copyFromIntArray(Object src, long srcPos, long dstAddr, long length)(Code)



copyFromLongArray
native static void copyFromLongArray(Object src, long srcPos, long dstAddr, long length)(Code)



copyFromShortArray
native static void copyFromShortArray(Object src, long srcPos, long dstAddr, long length)(Code)



copyToByteArray
native static void copyToByteArray(long srcAddr, Object dst, long dstPos, long length)(Code)



copyToCharArray
static void copyToCharArray(long srcAddr, Object dst, long dstPos, long length)(Code)



copyToIntArray
native static void copyToIntArray(long srcAddr, Object dst, long dstPos, long length)(Code)



copyToLongArray
native static void copyToLongArray(long srcAddr, Object dst, long dstPos, long length)(Code)



copyToShortArray
native static void copyToShortArray(long srcAddr, Object dst, long dstPos, long length)(Code)



getChar
static char getChar(ByteBuffer bb, int bi, boolean bigEndian)(Code)



getChar
static char getChar(long a, boolean bigEndian)(Code)



getCharB
static char getCharB(ByteBuffer bb, int bi)(Code)



getCharB
static char getCharB(long a)(Code)



getCharL
static char getCharL(ByteBuffer bb, int bi)(Code)



getCharL
static char getCharL(long a)(Code)



getDouble
static double getDouble(ByteBuffer bb, int bi, boolean bigEndian)(Code)



getDouble
static double getDouble(long a, boolean bigEndian)(Code)



getDoubleB
static double getDoubleB(ByteBuffer bb, int bi)(Code)



getDoubleB
static double getDoubleB(long a)(Code)



getDoubleL
static double getDoubleL(ByteBuffer bb, int bi)(Code)



getDoubleL
static double getDoubleL(long a)(Code)



getFloat
static float getFloat(ByteBuffer bb, int bi, boolean bigEndian)(Code)



getFloat
static float getFloat(long a, boolean bigEndian)(Code)



getFloatB
static float getFloatB(ByteBuffer bb, int bi)(Code)



getFloatB
static float getFloatB(long a)(Code)



getFloatL
static float getFloatL(ByteBuffer bb, int bi)(Code)



getFloatL
static float getFloatL(long a)(Code)



getInt
static int getInt(ByteBuffer bb, int bi, boolean bigEndian)(Code)



getInt
static int getInt(long a, boolean bigEndian)(Code)



getIntB
static int getIntB(ByteBuffer bb, int bi)(Code)



getIntB
static int getIntB(long a)(Code)



getIntL
static int getIntL(ByteBuffer bb, int bi)(Code)



getIntL
static int getIntL(long a)(Code)



getLong
static long getLong(ByteBuffer bb, int bi, boolean bigEndian)(Code)



getLong
static long getLong(long a, boolean bigEndian)(Code)



getLongB
static long getLongB(ByteBuffer bb, int bi)(Code)



getLongB
static long getLongB(long a)(Code)



getLongL
static long getLongL(ByteBuffer bb, int bi)(Code)



getLongL
static long getLongL(long a)(Code)



getShort
static short getShort(ByteBuffer bb, int bi, boolean bigEndian)(Code)



getShort
static short getShort(long a, boolean bigEndian)(Code)



getShortB
static short getShortB(ByteBuffer bb, int bi)(Code)



getShortB
static short getShortB(long a)(Code)



getShortL
static short getShortL(ByteBuffer bb, int bi)(Code)



getShortL
static short getShortL(long a)(Code)



pageSize
static int pageSize()(Code)



putChar
static void putChar(ByteBuffer bb, int bi, char x, boolean bigEndian)(Code)



putChar
static void putChar(long a, char x, boolean bigEndian)(Code)



putCharB
static void putCharB(ByteBuffer bb, int bi, char x)(Code)



putCharB
static void putCharB(long a, char x)(Code)



putCharL
static void putCharL(ByteBuffer bb, int bi, char x)(Code)



putCharL
static void putCharL(long a, char x)(Code)



putDouble
static void putDouble(ByteBuffer bb, int bi, double x, boolean bigEndian)(Code)



putDouble
static void putDouble(long a, double x, boolean bigEndian)(Code)



putDoubleB
static void putDoubleB(ByteBuffer bb, int bi, double x)(Code)



putDoubleB
static void putDoubleB(long a, double x)(Code)



putDoubleL
static void putDoubleL(ByteBuffer bb, int bi, double x)(Code)



putDoubleL
static void putDoubleL(long a, double x)(Code)



putFloat
static void putFloat(ByteBuffer bb, int bi, float x, boolean bigEndian)(Code)



putFloat
static void putFloat(long a, float x, boolean bigEndian)(Code)



putFloatB
static void putFloatB(ByteBuffer bb, int bi, float x)(Code)



putFloatB
static void putFloatB(long a, float x)(Code)



putFloatL
static void putFloatL(ByteBuffer bb, int bi, float x)(Code)



putFloatL
static void putFloatL(long a, float x)(Code)



putInt
static void putInt(ByteBuffer bb, int bi, int x, boolean bigEndian)(Code)



putInt
static void putInt(long a, int x, boolean bigEndian)(Code)



putIntB
static void putIntB(ByteBuffer bb, int bi, int x)(Code)



putIntB
static void putIntB(long a, int x)(Code)



putIntL
static void putIntL(ByteBuffer bb, int bi, int x)(Code)



putIntL
static void putIntL(long a, int x)(Code)



putLong
static void putLong(ByteBuffer bb, int bi, long x, boolean bigEndian)(Code)



putLong
static void putLong(long a, long x, boolean bigEndian)(Code)



putLongB
static void putLongB(ByteBuffer bb, int bi, long x)(Code)



putLongB
static void putLongB(long a, long x)(Code)



putLongL
static void putLongL(ByteBuffer bb, int bi, long x)(Code)



putLongL
static void putLongL(long a, long x)(Code)



putShort
static void putShort(ByteBuffer bb, int bi, short x, boolean bigEndian)(Code)



putShort
static void putShort(long a, short x, boolean bigEndian)(Code)



putShortB
static void putShortB(ByteBuffer bb, int bi, short x)(Code)



putShortB
static void putShortB(long a, short x)(Code)



putShortL
static void putShortL(ByteBuffer bb, int bi, short x)(Code)



putShortL
static void putShortL(long a, short x)(Code)



reserveMemory
static void reserveMemory(long size)(Code)



swap
static short swap(short x)(Code)



swap
static char swap(char x)(Code)



swap
static int swap(int x)(Code)



swap
static long swap(long x)(Code)



unaligned
static boolean unaligned()(Code)



unreserveMemory
static synchronized void unreserveMemory(long size)(Code)



unsafe
static Unsafe unsafe()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.