Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

JavaÖеÄbyte

ºÜÓôÃÆ  Ò»¶ÎºÜ¼òµ¥µÄ´úÂë  °ÑARGBתΪRGBA£¬½á¹ûͼÏñÑÕÉ«Æ«ºì¡£
¸ãÁ˺ܾ㬲ÅÖªµÀÎÊÌâ³öÔÚÁËbyteÉíÉÏ¡£
Ò»¸öÑÕÉ«·ÖÁ¿8룬Ï뵱ȻµÄÓÃÁËbyte£¬×éºÏ³ÉÒ»¸öÏñËØ32룬¾ÍÊÇ
(r<<24)|(g<<16)|(b<<8)|(a)
ÎÊÌâ¾Í³öÔÚÁËbyteµ½intµÄת»»ÉÏ
byteÔÚJavaÖÐÊÇÓзûºÅµÄ £¨win32ÖÐÊÇunsigned char£©
ÕâÑù0xFFת³Éint¾Í±ä³É0xFFFFFFFF  (-1)
Ò²¾ÍÊÇ˵Èç¹ûÀ¶É«  b=0xFFµÄ»°£¬ ÕâÑùת»¯¹ýºóÑÕÉ«¾Í±äΪ°×É«ÁË
Èç¹ûÊÇÂÌÉ«µÄ»°  ¾Í±ä»ÆÉ«ÁË
²»ÖªµÀJavaÔÚÉè¼ÆʱÔõôÏëµÄ£¬byteΪÎÞ·ûºÅ²Å¸ü¼ÓÌùºÏÎÒÃǵÄÐèÒª


Ïà¹ØÎĵµ£º

java¶¯Ì¬´úÀí

¶¨Ò嶯̬´úÀíÀàDynamicProxy
package com.zte.adc.common;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
public class DynamicProxy implements InvocationHandler {
 private Object object;
 // °ó¶¨¹Øϵ£¬Ò²¾ÍÊǹØÁªµ½Äĸö½Ó¿Ú£¨Óë ......

Javaͨ¹ýXML SchemaУÑéXML

Javaͨ¹ýXML SchemaУÑéXML
 
XMLµÄУÑéÔÚXML´¦ÀíÖзdz£³£¼û£¬Èç¹ûûÓÐÓÐЧµÄ°ì·¨À´Ð£ÑéXMLµÄºÏ·¨ÐÔ£¬ÍùÍù»áµ¼ÖºܶàÎÊÌâ¡£
 
XMLµÄУÑéÊÇͨ¹ýXML Schema£¨XSD£© »òDTDÎļþµÄÓï·¨¹æ·¶À´Ð£ÑéµÄ¡£DTDÏÖÔÚÔ½À´Ô½²»ÊÜ»¶Ó­ÁË£¬ÔÚ´ËÑ¡ÓÃXSDÀ´Ð£Ñé¡£
 
JavaУÑéXMLÊǼþºÍ³¶µ­µÄÊÂÇ飬ÒòΪSunµÄXMLÏà¹ØÈí¼þ°ü» ......

Ñ¡ÔñÅÅÐòËã·¨µÄJAVAʵÏÖ

package Utils.Sort;
/**
*ÀûÓÃÑ¡ÔñÅÅÐò·¨¶ÔÊý×éÅÅÐò£¬Êý×éÖÐÔªËرØÐëʵÏÖÁËComparable½Ó¿Ú¡£
*/
public class ChooseSort implements SortStrategy
{
       /**
       *¶ÔÊý×éobjÖеÄÔªËØÒÔÑ¡ÔñÅÅÐòËã·¨½øÐÐÅÅÐò
     &n ......

¹é²¢ÅÅÐòËã·¨µÄJAVAʵÏÖ

package Utils.Sort;
/**
*¹é²¢ÅÅÐò£¬ÒªÇó´ýÅÅÐòµÄÊý×é±ØÐëʵÏÖComparable½Ó¿Ú
*/
public class MergeSort implements SortStrategy
{
       private Comparable[] bridge;
       /**
       *ÀûÓù鲢ÅÅÐòË ......

ðÅÝÅÅÐòËã·¨µÄJAVAʵÏÖ

package Utils.Sort;
/**
*ÀûÓÃðÅÝÅÅÐò·¨¶ÔÊý×éÅÅÐò£¬Êý×éÖÐÔªËرØÐëʵÏÖÁËComparable½Ó¿Ú¡£
*/
public class BubbleSort implements SortStrategy
{
       /**
       *¶ÔÊý×éobjÖеÄÔªËØÒÔðÅÝÅÅÐòËã·¨½øÐÐÅÅÐò
     ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ