Method min(long a, long b)
Return type: long
Member of: java.lang.Math
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 sleepTime= Math.min(100, sleepTime);
2 long toSleep = Math.min(deadline - now, 1000);
3 long sleepDuration = Math.min(cycleDuration - _critiqueDuration, 3000);
4 private int maxWait = (int)Math.min((long)Integer.MAX_VALUE,
5 Math.min((long)Integer.MAX_VALUE,
6 int rc = (int) Math.min(chunkSize, Integer.MAX_VALUE);
7 int m = (int)Math.min(ZEROES.length, (fileOffset - fileLength));
8 Math.min(
9 read = (int) Math.min(BUF_SIZE, len);
10 int rowsStrip = (int)Math.min((long)h, tstrip);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.