Examples of NumberToByteConverter


Examples of org.eclipse.core.internal.databinding.conversion.NumberToByteConverter

        String fromName = (fromType.isPrimitive()) ? getKeyForClass(
            fromType, null) : fromType.getName();

        map
            .put(new Pair(fromName, BYTE_CLASS),
                new NumberToByteConverter(numberFormat,
                    fromType, true));
        map
            .put(new Pair(fromName, Byte.class.getName()),
                new NumberToByteConverter(numberFormat,
                    fromType, false));
      }
    }
  }
View Full Code Here

Examples of org.eclipse.core.internal.databinding.conversion.NumberToByteConverter

    for (int i = 0; i < fromTypes.length; i++) {
      Class fromType = fromTypes[i];
      if (!fromType.equals(Byte.class) && !fromType.equals(Byte.TYPE)) {
        String fromName = (fromType.isPrimitive()) ? getKeyForClass(fromType, null) : fromType.getName();
       
        map.put(new Pair(fromName, BYTE_TYPE), new NumberToByteConverter(numberFormat, fromType, true));
        map.put(new Pair(fromName, Byte.class.getName()), new NumberToByteConverter(numberFormat, fromType, false));
      }
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.