
## Source Code: Finalpowerset.Java

1 /∗
2 ∗ f i n a l P o w e r s e t . j av a : p a r t o f pa ckag e R e f e r e eTo o lb ox ; Im p l **em e nt at ion o f** 3 ∗ **p ow e r s e t .**
4 **∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗**
5 ∗ Copyr ight ( c ) 2010 FrÃc dÃc **ric D am b r e v i l l e**
6 ∗
7 ∗ Author : FrÃc dÃc **ric D am b r e v i l l e <h t tp : / / em a i l . f r e d e r i c d a m b r e v i l l e . com>**
8 ∗ 9 ∗ **Th is f i l e i s p a r t o f R e f e r e eTo o lb ox .**
10 ∗
11 ∗ **R e f e r e eTo o lb ox i s f r e e s o f t w a r e : you can r e d i s t r i b u t e i t and/ o r mod i fy** 12 ∗ **i t und e r th e t e rms o f th e GNU G e n e r a l P u b l i c L i c e n s e a s p u b l i sh e d by** 13 ∗ **th e Fr e e S o f twa r e Foundat ion , e i t h e r v e r s i o n 3 o f th e L i c e n se , o r**
14 ∗ **( a t your o p t i o n ) any l a t e r v e r s i o n .**
15 ∗ 16 ∗ R e f e r e eTo o lb ox i s d i s t r i b u t e d i n th e hope th a t i t w i l l be u s e **f u l ,**
17 ∗ but WITHOUT ANY WARRANTY; w i th ou t ev en th e im p l i e d warranty o f 18 ∗ **MERCHANTABILITY o r FITNESS FOR A PARTICULAR PURPOSE. S e e the**
19 ∗ **GNU G e n e r a l P u b l i c L i c e n s e f o r more d e t a i l s .** 20 ∗
21 ∗ **You sh ou ld have r e c e i v e d a copy o f th e GNU G e n e r a l P u b l i c L i c en s e**
22 ∗ **a l on g w ith R e f e r e eTo o lb ox . I f not , s e e <h t tp : / /www . gnu . o rg / l i c e n s e s />.** 23 **∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗∗**
24 ∗/
25 26 **pa ckag e** RefereeToolbox ;
27 28 /∗∗
29 ∗ F i n a l im p l em e n t a t i on o f c l a s s { @ l ink Powe rse t } . Th is c l a s s **i s not g e n e r i c , and**
30 ∗ thus , a l l o w s and n e e d s i n s t a n t i a t i o n . The method { @ l ink f i n **a l P o w e r s e t\#i n s t a n c e**←֓
( ) }
31 ∗ **i s imp lemented .**
32 ∗
33 ∗ @author <A h r e f =" h t tp : / / em a i l . f r e d e r i c d a m b r e v i l l e . com">FrÃc dÃc ric ←֓
D am b r e v i l l e</A>
34 ∗
35 ∗
36 ∗ 37 ∗ **<BR><BR><t a b l e b o rd e r = '1 ' c e l l P a d d i n g ='4'>< t r><td>**
38 ∗ <f o n t c o l o r ="\#008000" s t y l e =" f on t−**f am i l y : g e o r g i a ">**
39 ∗ Copyr ight ( c ) 2010 FrÃc dÃc **ric D am b r e v i l l e<BR>**
40 ∗ **<BR>**
41 ∗ **R e f e r e eTo o lb ox i s f r e e s o f t w a r e : you can r e d i s t r i b u t e i t and/ o r mod i fy**
42 ∗ **i t und e r th e t e rms o f th e GNU G e n e r a l P u b l i c L i c e n s e a s p u b l i sh e d by** 43 ∗ **th e Fr e e S o f twa r e Foundat ion , e i t h e r v e r s i o n 3 o f th e L i c e n se , o r**
44 ∗ **( a t your o p t i o n ) any l a t e r v e r s i o n .<BR>**
45 ∗ **<BR>** 46 ∗ R e f e r e eTo o lb ox i s d i s t r i b u t e d i n th e hope th a t i t w i l l be u s e **f u l ,** 47 ∗ but WITHOUT ANY WARRANTY; w i th ou t ev en th e im p l i e d warranty o f 48 ∗ **MERCHANTABILITY o r FITNESS FOR A PARTICULAR PURPOSE. S e e the**
49 ∗ **GNU G e n e r a l P u b l i c L i c e n s e f o r more d e t a i l s .<BR>** 50 ∗ **<BR>**
51 ∗ **You sh ou ld have r e c e i v e d a copy o f th e GNU G e n e r a l P u b l i c L i c en s e**
52 ∗ **a l on g w ith R e f e r e eTo o lb ox . I f not , s e e** 53 ∗ **<a h r e f = ' h t tp : / /www . gnu . o r g / l i c e n s e s / '> h t tp : / /www . gnu . o r g / l i c e n s e s /</a>.** 54 ∗ **</f on t ></t a b l e><BR>**
55 ∗
56 ∗/
57 **p u b l i c f i n a l c l a s s** finalPowerset **e x t e nd s** Powerset<finalPowerset> {
58 59 60 **// / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / :** 61 **// p u b l i c p a r t**
62 **// /////////////**
63 64 /∗∗
65 ∗ C r e a t e and r e t u r n an i n s t a n c e o f <i>t h i s </ i> ( i . e . work l i k e **a <b>new</b> on** 66 ∗ **th e C l a s s o f <i>t h i s </ i >) .**
67 ∗ **N .B . { @ l ink L a t t i c e\#i n s t a n c e ( ) } cannot be d e f i n e d** 68 ∗ **f o r g e n e r i c c l a s s e s but <u> i s n e c e s s a r y </u> f o r some methods . <u>I t has t o be**
69 ∗ d e f i n e d w ith th e non g e n e r i c ( t y p i c a l l y f i n a l ) sub−**c l a s s e s </u>.**
70 ∗ **<br><br>**