Arrays.stream(values) .mapToObj(i -> Integer.toUnsignedString(i, 16)) .forEach(System.out::println);
/** * Creates an instance with given Debezium logical name and database name * * @param serverName - logical Debezium server name * @param databaseName - the name of the database (prix) */ public UniqueDatabase(final String serverName, final String databaseName) { this(serverName, databaseName, Integer.toUnsignedString(new Random().nextInt(), 36)); }
private boolean areMatch(Integer filter, Integer input) { return filter == null || areMatch(Integer.toUnsignedString(filter), input == null?null:Integer.toUnsignedString(input)); }
int uint = Integer.parseUnsignedInt("4294967295"); System.out.println(Integer.toUnsignedString(uint));
@Override public final String toCanonicalString() { return Integer.toUnsignedString(value); }
@Override public String toString() { return Integer.toUnsignedString(value); }
@Override public String toString() { return Integer.toUnsignedString(value); } }
protected AbstractContainer(ContainerConfig config) { this.config = config; this.uuid = Integer.toUnsignedString(new SecureRandom().nextInt()); }
int i = Integer.MAX_VALUE / 1024 - 1023; System.out.println(Integer.toUnsignedString(i) + "=" + Integer.toBinaryString(i)); i = i >>> 10; System.out.println(Integer.toUnsignedString(i) + "=" + Integer.toBinaryString(i)); i = i << 21; System.out.println(Integer.toUnsignedString(i) + "=" + Integer.toBinaryString(i));
/** * Create a new MesosCluster with a specified cluster architecture. */ public MesosCluster(ClusterConfig clusterConfig, List<ClusterProcess> processes) { this.memberProcesses = processes; this.clusterConfig = clusterConfig; clusterId = Integer.toUnsignedString(new SecureRandom().nextInt()); for (ClusterProcess process : processes) { process.setCluster(this); } }
/** * <p>getInstance</p> * * @return a {@link java.lang.String} object. */ @Override public String getInstance() { return Integer.toUnsignedString(getIndex()); //For interfaces, use ifIndex as it's unique within a node (by definition) }
@JTranscSync public static String toBinaryString(int i) { return toUnsignedString(i, 2); }
/** * @return The humanly-readable version string */ default String toHumanString() { return new StringBuilder(64) .append(Integer.toUnsignedString(this.major())) .append(".") .append(Integer.toUnsignedString(this.minor())) .toString(); }
/** Returns the string representation at the given index. */ @Override public String stringValue(final int index) { return Integer.toUnsignedString(super.intValue(index)); }
@JTranscSync public static String toHexString(int i) { return toUnsignedString(i, 16); }
@JTranscSync public static String toOctalString(int i) { return toUnsignedString(i, 8); }
public static void main(String[] args) { int uint = Integer.parseUnsignedInt("4294967295"); System.out.println(uint); // -1 System.out.println(Integer.toUnsignedString(uint)); // 4294967295 }
@Override public String toString() { return Integer.toUnsignedString(Byte.toUnsignedInt(value)); } }
@Override public String toString() { return Integer.toUnsignedString(Short.toUnsignedInt(value)); } }
/** * Creates an instance with given Debezium logical name and database name * * @param serverName - logical Debezium server name * @param databaseName - the name of the database (prix) */ public UniqueDatabase(final String serverName, final String databaseName) { this(serverName, databaseName, Integer.toUnsignedString(new Random().nextInt(), 36)); }