coins.util
クラス IntBound

java.lang.Object
  |
  +--coins.util.IntBound

public final class IntBound
extends java.lang.Object

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


フィールドの概要
 IntConst lower
          ....
 IntConst upper
          ....
 
コンストラクタの概要
IntBound(IntConst val)
          ..................IntBound...........
IntBound(IntConst lower, IntConst upper)
          ......................IntBound...........
 
メソッドの概要
 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................... ....................null........
 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!
 IntBound union(IntBound b)
          ..........IntBound...............
 
クラス java.lang.Object から継承したメソッド
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

lower

public final IntConst lower
....


upper

public final IntConst upper
....

コンストラクタの詳細

IntBound

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


IntBound

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

例外:
java.lang.IllegalArgumentException - ................................
メソッドの詳細

size

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


contains

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

例外:
java.lang.IllegalArgumentException - ....IntBound..........................................

union

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

例外:
java.lang.IllegalArgumentException - ....IntBound............IntBound......................

intersection

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

例外:
java.lang.IllegalArgumentException - ....IntBound............IntBound......................

add

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

例外:
java.lang.IllegalArgumentException - ....IntBound............IntBound......................

sub

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

例外:
java.lang.IllegalArgumentException - ....IntBound............IntBound......................

mul

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

例外:
java.lang.IllegalArgumentException - ....IntBound............IntBound......................

divu

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

例外:
java.lang.IllegalArgumentException - ....IntBound............IntBound......................
java.lang.ArithmeticException - b..0..........

divs

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

例外:
java.lang.IllegalArgumentException - ....IntBound............IntBound......................
java.lang.ArithmeticException - b..0..........

modu

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

例外:
java.lang.IllegalArgumentException - ....IntBound............IntBound......................
java.lang.ArithmeticException - b..0..........

mods

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

例外:
java.lang.IllegalArgumentException - ....IntBound............IntBound......................
java.lang.ArithmeticException - b..0..........

band

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

例外:
java.lang.IllegalArgumentException - ....IntBound............IntBound......................

bor

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

例外:
java.lang.IllegalArgumentException - ....IntBound............IntBound......................

bxor

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

例外:
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.......

例外:
java.lang.IllegalArgumentException - n..........

rshu

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

例外:
java.lang.IllegalArgumentException - n..........

rshs

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

例外:
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.......

例外:
java.lang.IllegalArgumentException - ......................................................

tstne

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

例外:
java.lang.IllegalArgumentException - ......................................................

tstltu

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

例外:
java.lang.IllegalArgumentException - ......................................................

tstgtu

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

例外:
java.lang.IllegalArgumentException - ......................................................

tstleu

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

例外:
java.lang.IllegalArgumentException - ......................................................

tstgeu

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

例外:
java.lang.IllegalArgumentException - ......................................................

tstlts

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

例外:
java.lang.IllegalArgumentException - ......................................................

tstgts

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

例外:
java.lang.IllegalArgumentException - ......................................................

tstles

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

例外:
java.lang.IllegalArgumentException - ......................................................

tstges

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

例外:
java.lang.IllegalArgumentException - ......................................................

convzx

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

例外:
java.lang.IllegalArgumentException - ....................................

convsx

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

例外:
java.lang.IllegalArgumentException - ....................................

convit

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

例外:
java.lang.IllegalArgumentException - ....................................................

ifthenelse

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

例外:
java.lang.IllegalArgumentException - t..f......................

equals

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

オーバーライド:
クラス java.lang.Object 内の equals

hashCode

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

オーバーライド:
クラス java.lang.Object 内の hashCode

toString

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

オーバーライド:
クラス java.lang.Object 内の toString