coins.util
Class IntBound

java.lang.Object
  extended bycoins.util.IntBound

public final class IntBound
extends java.lang.Object

............(..............). ..............2............................................ ..........................................3,4,7..................3....7............ ............................................ ......................................................>.......................... ............<=..............<=..<=...................... ....>..............<=..........<=...................... ..................................................................


Field Summary
 IntConst lower
          ....
 IntConst upper
          ....
 
Constructor Summary
IntBound(IntConst val)
          ..................IntBound...........
IntBound(IntConst lower, IntConst upper)
          ......................IntBound...........
 
Method Summary
 IntBound add(IntBound b)
          this+b..IntBound.......
 IntBound band(IntBound b)
          this&b..IntBound.......
 IntBound bnot()
          ~this..IntBound.......
 IntBound bor(IntBound b)
          this|b..IntBound.......
 IntBound bxor(IntBound b)
          this^b..IntBound.......
 boolean contains(IntConst c)
          ........................IntBound...........................
 IntBound convit(int s)
          ....IntBound....................................IntBound.......
 IntBound convsx(int s)
          ....IntBound........................................IntBound.......
 IntBound convzx(int s)
          ....IntBound........................................IntBound.......
 IntBound divs(IntBound b)
          this/b(............)..IntBound.......
 IntBound divu(IntBound b)
          this/b(............)..IntBound.......
 boolean equals(java.lang.Object o)
          ....IntBound...............................................
 int hashCode()
          ....IntBound.......................
 IntBound ifthenelse(IntBound t, IntBound f)
          ..................t..f......................0........t..0....f................IntBound.......
 IntBound intersection(IntBound b)
          ..........IntBound...................
 IntBound lsh(int n)
          this<<n..IntBound.......
 IntBound lsh(IntBound b)
          this<<b..IntBound.......
 IntBound mods(IntBound b)
          this%b(............)..IntBound.......
 IntBound modu(IntBound b)
          this%b(............)..IntBound.......
 IntBound mul(IntBound b)
          this*b..IntBound.......
 IntBound neg()
          -this..IntBound.......
 IntBound rshs(int n)
          this>>n(................)..IntBound.......
 IntBound rshs(IntBound b)
          this>>b(................)..IntBound.......
 IntBound rshu(int n)
          this>>n(................)..IntBound.......
 IntBound rshu(IntBound b)
          this>>b(................)..IntBound.......
 int size()
          ....IntBound.................
 IntBound sub(IntBound b)
          this-b..IntBound.......
 java.lang.String toString()
          ....IntBound...................
 IntBound tsteq(IntBound b, int s)
          this==b..IntBound.......
 IntBound tstges(IntBound b, int s)
          this>=b(............)..IntBound.......
 IntBound tstgeu(IntBound b, int s)
          this>=b(............)..IntBound.......
 IntBound tstgts(IntBound b, int s)
          this>b(............)..IntBound.......
 IntBound tstgtu(IntBound b, int s)
          this>b(............)..IntBound.......
 IntBound tstles(IntBound b, int s)
          this<=b(............)..IntBound.......
 IntBound tstleu(IntBound b, int s)
          this<=b(............)..IntBound.......
 IntBound tstlts(IntBound b, int s)
          this<b(............)..IntBound.......
 IntBound tstltu(IntBound b, int s)
          this<b(............)..IntBound.......
 IntBound tstne(IntBound b, int s)
          this!=b..IntBound.......
 IntBound union(IntBound b)
          ..........IntBound...............
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

lower

public final IntConst lower
....


upper

public final IntConst upper
....

Constructor Detail

IntBound

public IntBound(IntConst val)
..................IntBound...........


IntBound

public IntBound(IntConst lower,
                IntConst upper)
......................IntBound...........

Throws:
java.lang.IllegalArgumentException - ................................
Method Detail

size

public int size()
....IntBound.................


contains

public boolean contains(IntConst c)
........................IntBound...........................

Throws:
java.lang.IllegalArgumentException - ....IntBound..........................................

union

public IntBound union(IntBound b)
..........IntBound...............

Throws:
java.lang.IllegalArgumentException - ....IntBound............IntBound......................

intersection

public IntBound intersection(IntBound b)
..........IntBound................... ....................null........

Throws:
java.lang.IllegalArgumentException - ....IntBound............IntBound......................

add

public IntBound add(IntBound b)
this+b..IntBound.......

Throws:
java.lang.IllegalArgumentException - ....IntBound............IntBound......................

sub

public IntBound sub(IntBound b)
this-b..IntBound.......

Throws:
java.lang.IllegalArgumentException - ....IntBound............IntBound......................

mul

public IntBound mul(IntBound b)
this*b..IntBound.......

Throws:
java.lang.IllegalArgumentException - ....IntBound............IntBound......................

divu

public IntBound divu(IntBound b)
this/b(............)..IntBound.......

Throws:
java.lang.IllegalArgumentException - ....IntBound............IntBound......................
java.lang.ArithmeticException - b..0..........

divs

public IntBound divs(IntBound b)
this/b(............)..IntBound.......

Throws:
java.lang.IllegalArgumentException - ....IntBound............IntBound......................
java.lang.ArithmeticException - b..0..........

modu

public IntBound modu(IntBound b)
this%b(............)..IntBound.......

Throws:
java.lang.IllegalArgumentException - ....IntBound............IntBound......................
java.lang.ArithmeticException - b..0..........

mods

public IntBound mods(IntBound b)
this%b(............)..IntBound.......

Throws:
java.lang.IllegalArgumentException - ....IntBound............IntBound......................
java.lang.ArithmeticException - b..0..........

band

public IntBound band(IntBound b)
this&b..IntBound.......

Throws:
java.lang.IllegalArgumentException - ....IntBound............IntBound......................

bor

public IntBound bor(IntBound b)
this|b..IntBound.......

Throws:
java.lang.IllegalArgumentException - ....IntBound............IntBound......................

bxor

public IntBound bxor(IntBound b)
this^b..IntBound.......

Throws:
java.lang.IllegalArgumentException - ....IntBound............IntBound......................

lsh

public IntBound lsh(IntBound b)
this<<b..IntBound.......


rshu

public IntBound rshu(IntBound b)
this>>b(................)..IntBound.......


rshs

public IntBound rshs(IntBound b)
this>>b(................)..IntBound.......


lsh

public IntBound lsh(int n)
this<<n..IntBound.......

Throws:
java.lang.IllegalArgumentException - n..........

rshu

public IntBound rshu(int n)
this>>n(................)..IntBound.......

Throws:
java.lang.IllegalArgumentException - n..........

rshs

public IntBound rshs(int n)
this>>n(................)..IntBound.......

Throws:
java.lang.IllegalArgumentException - n..........

neg

public IntBound neg()
-this..IntBound.......


bnot

public IntBound bnot()
~this..IntBound.......


tsteq

public IntBound tsteq(IntBound b,
                      int s)
this==b..IntBound.......

Throws:
java.lang.IllegalArgumentException - ......................................................

tstne

public IntBound tstne(IntBound b,
                      int s)
this!=b..IntBound.......

Throws:
java.lang.IllegalArgumentException - ......................................................

tstltu

public IntBound tstltu(IntBound b,
                       int s)
this<b(............)..IntBound.......

Throws:
java.lang.IllegalArgumentException - ......................................................

tstgtu

public IntBound tstgtu(IntBound b,
                       int s)
this>b(............)..IntBound.......

Throws:
java.lang.IllegalArgumentException - ......................................................

tstleu

public IntBound tstleu(IntBound b,
                       int s)
this<=b(............)..IntBound.......

Throws:
java.lang.IllegalArgumentException - ......................................................

tstgeu

public IntBound tstgeu(IntBound b,
                       int s)
this>=b(............)..IntBound.......

Throws:
java.lang.IllegalArgumentException - ......................................................

tstlts

public IntBound tstlts(IntBound b,
                       int s)
this<b(............)..IntBound.......

Throws:
java.lang.IllegalArgumentException - ......................................................

tstgts

public IntBound tstgts(IntBound b,
                       int s)
this>b(............)..IntBound.......

Throws:
java.lang.IllegalArgumentException - ......................................................

tstles

public IntBound tstles(IntBound b,
                       int s)
this<=b(............)..IntBound.......

Throws:
java.lang.IllegalArgumentException - ......................................................

tstges

public IntBound tstges(IntBound b,
                       int s)
this>=b(............)..IntBound.......

Throws:
java.lang.IllegalArgumentException - ......................................................

convzx

public IntBound convzx(int s)
....IntBound........................................IntBound.......

Throws:
java.lang.IllegalArgumentException - ....................................

convsx

public IntBound convsx(int s)
....IntBound........................................IntBound.......

Throws:
java.lang.IllegalArgumentException - ....................................

convit

public IntBound convit(int s)
....IntBound....................................IntBound.......

Throws:
java.lang.IllegalArgumentException - ....................................................

ifthenelse

public IntBound ifthenelse(IntBound t,
                           IntBound f)
..................t..f......................0........t..0....f................IntBound.......

Throws:
java.lang.IllegalArgumentException - t..f......................

equals

public boolean equals(java.lang.Object o)
....IntBound...............................................


hashCode

public int hashCode()
....IntBound.......................


toString

public java.lang.String toString()
....IntBound...................