01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tc.util;
05:
06: /**
07: * @author steve
08: */
09: public class Conversions {
10: public final static void main(String[] args) throws Exception {
11: int x = 36;
12: System.out.println((x == (x | (x - 2))) ? x : x - 2);
13: }
14: }
|