001package org.unix4j.unix.sed; 002 003import java.util.Arrays; 004import java.util.Collections; 005import java.util.EnumSet; 006import java.util.Iterator; 007import org.unix4j.option.Option; 008 009import org.unix4j.unix.Sed; 010 011/** 012 * Option sets for the {@link Sed sed} command with 013 * the following options: {@link #g g}, {@link #I I}, {@link #l l}, {@link #p p}, {@link #n n}, {@link #y y}. 014 * <p> 015 * Application code does normally not directly refer to this class; 016 * {@link Sed#Options} should be used instead to specify command 017 * options. See also {@link org.unix4j.unix.sed.SedOptions} for more information. 018 */ 019public enum SedOptionSet_Iglnpy implements SedOptions { 020 /** Option set with the following active options: {@link #global g}, {@link #ignoreCase I}, {@link #lineNumber l}, {@link #print p}, {@link #quiet n}, {@link #translate y}.*/ 021 Active_Iglnpy( 022 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 023 true, 024 /*active:*/SedOption.global, SedOption.ignoreCase, SedOption.lineNumber, SedOption.print, SedOption.quiet, SedOption.translate 025 ), 026 /** Option set with the following active options: {@link #global g}, {@link #ignoreCase I}, {@link #lineNumber l}, {@link #print p}, {@link #quiet n}, {@link #translate y}.*/ 027 Active_Iglnpy_long( 028 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 029 false, 030 /*active:*/SedOption.global, SedOption.ignoreCase, SedOption.lineNumber, SedOption.print, SedOption.quiet, SedOption.translate 031 ), 032 /** Option set with the following active options: {@link #global g}, {@link #lineNumber l}, {@link #print p}, {@link #quiet n}, {@link #translate y}.*/ 033 Active_glnpy( 034 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/Active_Iglnpy, /*ignoreCase:*/Active_Iglnpy_long, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 035 true, 036 /*active:*/SedOption.global, SedOption.lineNumber, SedOption.print, SedOption.quiet, SedOption.translate 037 ), 038 /** Option set with the following active options: {@link #global g}, {@link #lineNumber l}, {@link #print p}, {@link #quiet n}, {@link #translate y}.*/ 039 Active_glnpy_long( 040 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/Active_Iglnpy, /*ignoreCase:*/Active_Iglnpy_long, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 041 false, 042 /*active:*/SedOption.global, SedOption.lineNumber, SedOption.print, SedOption.quiet, SedOption.translate 043 ), 044 /** Option set with the following active options: {@link #global g}, {@link #ignoreCase I}, {@link #print p}, {@link #quiet n}, {@link #translate y}.*/ 045 Active_Ignpy( 046 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/Active_Iglnpy, /*lineNumber:*/Active_Iglnpy_long, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 047 true, 048 /*active:*/SedOption.global, SedOption.ignoreCase, SedOption.print, SedOption.quiet, SedOption.translate 049 ), 050 /** Option set with the following active options: {@link #global g}, {@link #ignoreCase I}, {@link #print p}, {@link #quiet n}, {@link #translate y}.*/ 051 Active_Ignpy_long( 052 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/Active_Iglnpy, /*lineNumber:*/Active_Iglnpy_long, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 053 false, 054 /*active:*/SedOption.global, SedOption.ignoreCase, SedOption.print, SedOption.quiet, SedOption.translate 055 ), 056 /** Option set with the following active options: {@link #global g}, {@link #ignoreCase I}, {@link #lineNumber l}, {@link #quiet n}, {@link #translate y}.*/ 057 Active_Iglny( 058 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/Active_Iglnpy, /*print:*/Active_Iglnpy_long, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 059 true, 060 /*active:*/SedOption.global, SedOption.ignoreCase, SedOption.lineNumber, SedOption.quiet, SedOption.translate 061 ), 062 /** Option set with the following active options: {@link #global g}, {@link #ignoreCase I}, {@link #lineNumber l}, {@link #quiet n}, {@link #translate y}.*/ 063 Active_Iglny_long( 064 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/Active_Iglnpy, /*print:*/Active_Iglnpy_long, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 065 false, 066 /*active:*/SedOption.global, SedOption.ignoreCase, SedOption.lineNumber, SedOption.quiet, SedOption.translate 067 ), 068 /** Option set with the following active options: {@link #ignoreCase I}, {@link #lineNumber l}, {@link #print p}, {@link #quiet n}, {@link #translate y}.*/ 069 Active_Ilnpy( 070 /*g:*/Active_Iglnpy, /*global:*/Active_Iglnpy_long, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 071 true, 072 /*active:*/SedOption.ignoreCase, SedOption.lineNumber, SedOption.print, SedOption.quiet, SedOption.translate 073 ), 074 /** Option set with the following active options: {@link #ignoreCase I}, {@link #lineNumber l}, {@link #print p}, {@link #quiet n}, {@link #translate y}.*/ 075 Active_Ilnpy_long( 076 /*g:*/Active_Iglnpy, /*global:*/Active_Iglnpy_long, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 077 false, 078 /*active:*/SedOption.ignoreCase, SedOption.lineNumber, SedOption.print, SedOption.quiet, SedOption.translate 079 ), 080 /** Option set with the following active options: {@link #global g}, {@link #ignoreCase I}, {@link #lineNumber l}, {@link #print p}, {@link #translate y}.*/ 081 Active_Iglpy( 082 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/Active_Iglnpy, /*quiet:*/Active_Iglnpy_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 083 true, 084 /*active:*/SedOption.global, SedOption.ignoreCase, SedOption.lineNumber, SedOption.print, SedOption.translate 085 ), 086 /** Option set with the following active options: {@link #global g}, {@link #ignoreCase I}, {@link #lineNumber l}, {@link #print p}, {@link #translate y}.*/ 087 Active_Iglpy_long( 088 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/Active_Iglnpy, /*quiet:*/Active_Iglnpy_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 089 false, 090 /*active:*/SedOption.global, SedOption.ignoreCase, SedOption.lineNumber, SedOption.print, SedOption.translate 091 ), 092 /** Option set with the following active options: {@link #global g}, {@link #print p}, {@link #quiet n}, {@link #translate y}.*/ 093 Active_gnpy( 094 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/Active_Ignpy, /*ignoreCase:*/Active_Ignpy_long, /*l:*/Active_glnpy, /*lineNumber:*/Active_glnpy_long, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 095 true, 096 /*active:*/SedOption.global, SedOption.print, SedOption.quiet, SedOption.translate 097 ), 098 /** Option set with the following active options: {@link #global g}, {@link #print p}, {@link #quiet n}, {@link #translate y}.*/ 099 Active_gnpy_long( 100 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/Active_Ignpy, /*ignoreCase:*/Active_Ignpy_long, /*l:*/Active_glnpy, /*lineNumber:*/Active_glnpy_long, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 101 false, 102 /*active:*/SedOption.global, SedOption.print, SedOption.quiet, SedOption.translate 103 ), 104 /** Option set with the following active options: {@link #global g}, {@link #lineNumber l}, {@link #quiet n}, {@link #translate y}.*/ 105 Active_glny( 106 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/Active_Iglny, /*ignoreCase:*/Active_Iglny_long, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/Active_glnpy, /*print:*/Active_glnpy_long, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 107 true, 108 /*active:*/SedOption.global, SedOption.lineNumber, SedOption.quiet, SedOption.translate 109 ), 110 /** Option set with the following active options: {@link #global g}, {@link #lineNumber l}, {@link #quiet n}, {@link #translate y}.*/ 111 Active_glny_long( 112 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/Active_Iglny, /*ignoreCase:*/Active_Iglny_long, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/Active_glnpy, /*print:*/Active_glnpy_long, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 113 false, 114 /*active:*/SedOption.global, SedOption.lineNumber, SedOption.quiet, SedOption.translate 115 ), 116 /** Option set with the following active options: {@link #global g}, {@link #ignoreCase I}, {@link #quiet n}, {@link #translate y}.*/ 117 Active_Igny( 118 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/Active_Iglny, /*lineNumber:*/Active_Iglny_long, /*p:*/Active_Ignpy, /*print:*/Active_Ignpy_long, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 119 true, 120 /*active:*/SedOption.global, SedOption.ignoreCase, SedOption.quiet, SedOption.translate 121 ), 122 /** Option set with the following active options: {@link #global g}, {@link #ignoreCase I}, {@link #quiet n}, {@link #translate y}.*/ 123 Active_Igny_long( 124 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/Active_Iglny, /*lineNumber:*/Active_Iglny_long, /*p:*/Active_Ignpy, /*print:*/Active_Ignpy_long, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 125 false, 126 /*active:*/SedOption.global, SedOption.ignoreCase, SedOption.quiet, SedOption.translate 127 ), 128 /** Option set with the following active options: {@link #lineNumber l}, {@link #print p}, {@link #quiet n}, {@link #translate y}.*/ 129 Active_lnpy( 130 /*g:*/Active_glnpy, /*global:*/Active_glnpy_long, /*I:*/Active_Ilnpy, /*ignoreCase:*/Active_Ilnpy_long, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 131 true, 132 /*active:*/SedOption.lineNumber, SedOption.print, SedOption.quiet, SedOption.translate 133 ), 134 /** Option set with the following active options: {@link #lineNumber l}, {@link #print p}, {@link #quiet n}, {@link #translate y}.*/ 135 Active_lnpy_long( 136 /*g:*/Active_glnpy, /*global:*/Active_glnpy_long, /*I:*/Active_Ilnpy, /*ignoreCase:*/Active_Ilnpy_long, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 137 false, 138 /*active:*/SedOption.lineNumber, SedOption.print, SedOption.quiet, SedOption.translate 139 ), 140 /** Option set with the following active options: {@link #ignoreCase I}, {@link #print p}, {@link #quiet n}, {@link #translate y}.*/ 141 Active_Inpy( 142 /*g:*/Active_Ignpy, /*global:*/Active_Ignpy_long, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/Active_Ilnpy, /*lineNumber:*/Active_Ilnpy_long, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 143 true, 144 /*active:*/SedOption.ignoreCase, SedOption.print, SedOption.quiet, SedOption.translate 145 ), 146 /** Option set with the following active options: {@link #ignoreCase I}, {@link #print p}, {@link #quiet n}, {@link #translate y}.*/ 147 Active_Inpy_long( 148 /*g:*/Active_Ignpy, /*global:*/Active_Ignpy_long, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/Active_Ilnpy, /*lineNumber:*/Active_Ilnpy_long, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 149 false, 150 /*active:*/SedOption.ignoreCase, SedOption.print, SedOption.quiet, SedOption.translate 151 ), 152 /** Option set with the following active options: {@link #ignoreCase I}, {@link #lineNumber l}, {@link #quiet n}, {@link #translate y}.*/ 153 Active_Ilny( 154 /*g:*/Active_Iglny, /*global:*/Active_Iglny_long, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/Active_Ilnpy, /*print:*/Active_Ilnpy_long, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 155 true, 156 /*active:*/SedOption.ignoreCase, SedOption.lineNumber, SedOption.quiet, SedOption.translate 157 ), 158 /** Option set with the following active options: {@link #ignoreCase I}, {@link #lineNumber l}, {@link #quiet n}, {@link #translate y}.*/ 159 Active_Ilny_long( 160 /*g:*/Active_Iglny, /*global:*/Active_Iglny_long, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/Active_Ilnpy, /*print:*/Active_Ilnpy_long, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 161 false, 162 /*active:*/SedOption.ignoreCase, SedOption.lineNumber, SedOption.quiet, SedOption.translate 163 ), 164 /** Option set with the following active options: {@link #global g}, {@link #lineNumber l}, {@link #print p}, {@link #translate y}.*/ 165 Active_glpy( 166 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/Active_Iglpy, /*ignoreCase:*/Active_Iglpy_long, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/Active_glnpy, /*quiet:*/Active_glnpy_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 167 true, 168 /*active:*/SedOption.global, SedOption.lineNumber, SedOption.print, SedOption.translate 169 ), 170 /** Option set with the following active options: {@link #global g}, {@link #lineNumber l}, {@link #print p}, {@link #translate y}.*/ 171 Active_glpy_long( 172 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/Active_Iglpy, /*ignoreCase:*/Active_Iglpy_long, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/Active_glnpy, /*quiet:*/Active_glnpy_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 173 false, 174 /*active:*/SedOption.global, SedOption.lineNumber, SedOption.print, SedOption.translate 175 ), 176 /** Option set with the following active options: {@link #global g}, {@link #ignoreCase I}, {@link #print p}, {@link #translate y}.*/ 177 Active_Igpy( 178 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/Active_Iglpy, /*lineNumber:*/Active_Iglpy_long, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/Active_Ignpy, /*quiet:*/Active_Ignpy_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 179 true, 180 /*active:*/SedOption.global, SedOption.ignoreCase, SedOption.print, SedOption.translate 181 ), 182 /** Option set with the following active options: {@link #global g}, {@link #ignoreCase I}, {@link #print p}, {@link #translate y}.*/ 183 Active_Igpy_long( 184 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/Active_Iglpy, /*lineNumber:*/Active_Iglpy_long, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/Active_Ignpy, /*quiet:*/Active_Ignpy_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 185 false, 186 /*active:*/SedOption.global, SedOption.ignoreCase, SedOption.print, SedOption.translate 187 ), 188 /** Option set with the following active options: {@link #global g}, {@link #ignoreCase I}, {@link #lineNumber l}, {@link #translate y}.*/ 189 Active_Igly( 190 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/Active_Iglpy, /*print:*/Active_Iglpy_long, /*n:*/Active_Iglny, /*quiet:*/Active_Iglny_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 191 true, 192 /*active:*/SedOption.global, SedOption.ignoreCase, SedOption.lineNumber, SedOption.translate 193 ), 194 /** Option set with the following active options: {@link #global g}, {@link #ignoreCase I}, {@link #lineNumber l}, {@link #translate y}.*/ 195 Active_Igly_long( 196 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/Active_Iglpy, /*print:*/Active_Iglpy_long, /*n:*/Active_Iglny, /*quiet:*/Active_Iglny_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 197 false, 198 /*active:*/SedOption.global, SedOption.ignoreCase, SedOption.lineNumber, SedOption.translate 199 ), 200 /** Option set with the following active options: {@link #ignoreCase I}, {@link #lineNumber l}, {@link #print p}, {@link #translate y}.*/ 201 Active_Ilpy( 202 /*g:*/Active_Iglpy, /*global:*/Active_Iglpy_long, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/Active_Ilnpy, /*quiet:*/Active_Ilnpy_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 203 true, 204 /*active:*/SedOption.ignoreCase, SedOption.lineNumber, SedOption.print, SedOption.translate 205 ), 206 /** Option set with the following active options: {@link #ignoreCase I}, {@link #lineNumber l}, {@link #print p}, {@link #translate y}.*/ 207 Active_Ilpy_long( 208 /*g:*/Active_Iglpy, /*global:*/Active_Iglpy_long, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/Active_Ilnpy, /*quiet:*/Active_Ilnpy_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 209 false, 210 /*active:*/SedOption.ignoreCase, SedOption.lineNumber, SedOption.print, SedOption.translate 211 ), 212 /** Option set with the following active options: {@link #global g}, {@link #quiet n}, {@link #translate y}.*/ 213 Active_gny( 214 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/Active_Igny, /*ignoreCase:*/Active_Igny_long, /*l:*/Active_glny, /*lineNumber:*/Active_glny_long, /*p:*/Active_gnpy, /*print:*/Active_gnpy_long, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 215 true, 216 /*active:*/SedOption.global, SedOption.quiet, SedOption.translate 217 ), 218 /** Option set with the following active options: {@link #global g}, {@link #quiet n}, {@link #translate y}.*/ 219 Active_gny_long( 220 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/Active_Igny, /*ignoreCase:*/Active_Igny_long, /*l:*/Active_glny, /*lineNumber:*/Active_glny_long, /*p:*/Active_gnpy, /*print:*/Active_gnpy_long, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 221 false, 222 /*active:*/SedOption.global, SedOption.quiet, SedOption.translate 223 ), 224 /** Option set with the following active options: {@link #print p}, {@link #quiet n}, {@link #translate y}.*/ 225 Active_npy( 226 /*g:*/Active_gnpy, /*global:*/Active_gnpy_long, /*I:*/Active_Inpy, /*ignoreCase:*/Active_Inpy_long, /*l:*/Active_lnpy, /*lineNumber:*/Active_lnpy_long, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 227 true, 228 /*active:*/SedOption.print, SedOption.quiet, SedOption.translate 229 ), 230 /** Option set with the following active options: {@link #print p}, {@link #quiet n}, {@link #translate y}.*/ 231 Active_npy_long( 232 /*g:*/Active_gnpy, /*global:*/Active_gnpy_long, /*I:*/Active_Inpy, /*ignoreCase:*/Active_Inpy_long, /*l:*/Active_lnpy, /*lineNumber:*/Active_lnpy_long, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 233 false, 234 /*active:*/SedOption.print, SedOption.quiet, SedOption.translate 235 ), 236 /** Option set with the following active options: {@link #lineNumber l}, {@link #quiet n}, {@link #translate y}.*/ 237 Active_lny( 238 /*g:*/Active_glny, /*global:*/Active_glny_long, /*I:*/Active_Ilny, /*ignoreCase:*/Active_Ilny_long, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/Active_lnpy, /*print:*/Active_lnpy_long, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 239 true, 240 /*active:*/SedOption.lineNumber, SedOption.quiet, SedOption.translate 241 ), 242 /** Option set with the following active options: {@link #lineNumber l}, {@link #quiet n}, {@link #translate y}.*/ 243 Active_lny_long( 244 /*g:*/Active_glny, /*global:*/Active_glny_long, /*I:*/Active_Ilny, /*ignoreCase:*/Active_Ilny_long, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/Active_lnpy, /*print:*/Active_lnpy_long, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 245 false, 246 /*active:*/SedOption.lineNumber, SedOption.quiet, SedOption.translate 247 ), 248 /** Option set with the following active options: {@link #ignoreCase I}, {@link #quiet n}, {@link #translate y}.*/ 249 Active_Iny( 250 /*g:*/Active_Igny, /*global:*/Active_Igny_long, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/Active_Ilny, /*lineNumber:*/Active_Ilny_long, /*p:*/Active_Inpy, /*print:*/Active_Inpy_long, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 251 true, 252 /*active:*/SedOption.ignoreCase, SedOption.quiet, SedOption.translate 253 ), 254 /** Option set with the following active options: {@link #ignoreCase I}, {@link #quiet n}, {@link #translate y}.*/ 255 Active_Iny_long( 256 /*g:*/Active_Igny, /*global:*/Active_Igny_long, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/Active_Ilny, /*lineNumber:*/Active_Ilny_long, /*p:*/Active_Inpy, /*print:*/Active_Inpy_long, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 257 false, 258 /*active:*/SedOption.ignoreCase, SedOption.quiet, SedOption.translate 259 ), 260 /** Option set with the following active options: {@link #global g}, {@link #print p}, {@link #translate y}.*/ 261 Active_gpy( 262 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/Active_Igpy, /*ignoreCase:*/Active_Igpy_long, /*l:*/Active_glpy, /*lineNumber:*/Active_glpy_long, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/Active_gnpy, /*quiet:*/Active_gnpy_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 263 true, 264 /*active:*/SedOption.global, SedOption.print, SedOption.translate 265 ), 266 /** Option set with the following active options: {@link #global g}, {@link #print p}, {@link #translate y}.*/ 267 Active_gpy_long( 268 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/Active_Igpy, /*ignoreCase:*/Active_Igpy_long, /*l:*/Active_glpy, /*lineNumber:*/Active_glpy_long, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/Active_gnpy, /*quiet:*/Active_gnpy_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 269 false, 270 /*active:*/SedOption.global, SedOption.print, SedOption.translate 271 ), 272 /** Option set with the following active options: {@link #global g}, {@link #lineNumber l}, {@link #translate y}.*/ 273 Active_gly( 274 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/Active_Igly, /*ignoreCase:*/Active_Igly_long, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/Active_glpy, /*print:*/Active_glpy_long, /*n:*/Active_glny, /*quiet:*/Active_glny_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 275 true, 276 /*active:*/SedOption.global, SedOption.lineNumber, SedOption.translate 277 ), 278 /** Option set with the following active options: {@link #global g}, {@link #lineNumber l}, {@link #translate y}.*/ 279 Active_gly_long( 280 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/Active_Igly, /*ignoreCase:*/Active_Igly_long, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/Active_glpy, /*print:*/Active_glpy_long, /*n:*/Active_glny, /*quiet:*/Active_glny_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 281 false, 282 /*active:*/SedOption.global, SedOption.lineNumber, SedOption.translate 283 ), 284 /** Option set with the following active options: {@link #global g}, {@link #ignoreCase I}, {@link #translate y}.*/ 285 Active_Igy( 286 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/Active_Igly, /*lineNumber:*/Active_Igly_long, /*p:*/Active_Igpy, /*print:*/Active_Igpy_long, /*n:*/Active_Igny, /*quiet:*/Active_Igny_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 287 true, 288 /*active:*/SedOption.global, SedOption.ignoreCase, SedOption.translate 289 ), 290 /** Option set with the following active options: {@link #global g}, {@link #ignoreCase I}, {@link #translate y}.*/ 291 Active_Igy_long( 292 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/Active_Igly, /*lineNumber:*/Active_Igly_long, /*p:*/Active_Igpy, /*print:*/Active_Igpy_long, /*n:*/Active_Igny, /*quiet:*/Active_Igny_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 293 false, 294 /*active:*/SedOption.global, SedOption.ignoreCase, SedOption.translate 295 ), 296 /** Option set with the following active options: {@link #lineNumber l}, {@link #print p}, {@link #translate y}.*/ 297 Active_lpy( 298 /*g:*/Active_glpy, /*global:*/Active_glpy_long, /*I:*/Active_Ilpy, /*ignoreCase:*/Active_Ilpy_long, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/Active_lnpy, /*quiet:*/Active_lnpy_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 299 true, 300 /*active:*/SedOption.lineNumber, SedOption.print, SedOption.translate 301 ), 302 /** Option set with the following active options: {@link #lineNumber l}, {@link #print p}, {@link #translate y}.*/ 303 Active_lpy_long( 304 /*g:*/Active_glpy, /*global:*/Active_glpy_long, /*I:*/Active_Ilpy, /*ignoreCase:*/Active_Ilpy_long, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/Active_lnpy, /*quiet:*/Active_lnpy_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 305 false, 306 /*active:*/SedOption.lineNumber, SedOption.print, SedOption.translate 307 ), 308 /** Option set with the following active options: {@link #ignoreCase I}, {@link #print p}, {@link #translate y}.*/ 309 Active_Ipy( 310 /*g:*/Active_Igpy, /*global:*/Active_Igpy_long, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/Active_Ilpy, /*lineNumber:*/Active_Ilpy_long, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/Active_Inpy, /*quiet:*/Active_Inpy_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 311 true, 312 /*active:*/SedOption.ignoreCase, SedOption.print, SedOption.translate 313 ), 314 /** Option set with the following active options: {@link #ignoreCase I}, {@link #print p}, {@link #translate y}.*/ 315 Active_Ipy_long( 316 /*g:*/Active_Igpy, /*global:*/Active_Igpy_long, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/Active_Ilpy, /*lineNumber:*/Active_Ilpy_long, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/Active_Inpy, /*quiet:*/Active_Inpy_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 317 false, 318 /*active:*/SedOption.ignoreCase, SedOption.print, SedOption.translate 319 ), 320 /** Option set with the following active options: {@link #ignoreCase I}, {@link #lineNumber l}, {@link #translate y}.*/ 321 Active_Ily( 322 /*g:*/Active_Igly, /*global:*/Active_Igly_long, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/Active_Ilpy, /*print:*/Active_Ilpy_long, /*n:*/Active_Ilny, /*quiet:*/Active_Ilny_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 323 true, 324 /*active:*/SedOption.ignoreCase, SedOption.lineNumber, SedOption.translate 325 ), 326 /** Option set with the following active options: {@link #ignoreCase I}, {@link #lineNumber l}, {@link #translate y}.*/ 327 Active_Ily_long( 328 /*g:*/Active_Igly, /*global:*/Active_Igly_long, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/Active_Ilpy, /*print:*/Active_Ilpy_long, /*n:*/Active_Ilny, /*quiet:*/Active_Ilny_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 329 false, 330 /*active:*/SedOption.ignoreCase, SedOption.lineNumber, SedOption.translate 331 ), 332 /** Option set with the following active options: {@link #quiet n}, {@link #translate y}.*/ 333 Active_ny( 334 /*g:*/Active_gny, /*global:*/Active_gny_long, /*I:*/Active_Iny, /*ignoreCase:*/Active_Iny_long, /*l:*/Active_lny, /*lineNumber:*/Active_lny_long, /*p:*/Active_npy, /*print:*/Active_npy_long, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 335 true, 336 /*active:*/SedOption.quiet, SedOption.translate 337 ), 338 /** Option set with the following active options: {@link #quiet n}, {@link #translate y}.*/ 339 Active_ny_long( 340 /*g:*/Active_gny, /*global:*/Active_gny_long, /*I:*/Active_Iny, /*ignoreCase:*/Active_Iny_long, /*l:*/Active_lny, /*lineNumber:*/Active_lny_long, /*p:*/Active_npy, /*print:*/Active_npy_long, /*n:*/null /*already set*/, /*quiet:*/null /*already set*/, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 341 false, 342 /*active:*/SedOption.quiet, SedOption.translate 343 ), 344 /** Option set with the following active options: {@link #global g}, {@link #translate y}.*/ 345 Active_gy( 346 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/Active_Igy, /*ignoreCase:*/Active_Igy_long, /*l:*/Active_gly, /*lineNumber:*/Active_gly_long, /*p:*/Active_gpy, /*print:*/Active_gpy_long, /*n:*/Active_gny, /*quiet:*/Active_gny_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 347 true, 348 /*active:*/SedOption.global, SedOption.translate 349 ), 350 /** Option set with the following active options: {@link #global g}, {@link #translate y}.*/ 351 Active_gy_long( 352 /*g:*/null /*already set*/, /*global:*/null /*already set*/, /*I:*/Active_Igy, /*ignoreCase:*/Active_Igy_long, /*l:*/Active_gly, /*lineNumber:*/Active_gly_long, /*p:*/Active_gpy, /*print:*/Active_gpy_long, /*n:*/Active_gny, /*quiet:*/Active_gny_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 353 false, 354 /*active:*/SedOption.global, SedOption.translate 355 ), 356 /** Option set with the following active options: {@link #print p}, {@link #translate y}.*/ 357 Active_py( 358 /*g:*/Active_gpy, /*global:*/Active_gpy_long, /*I:*/Active_Ipy, /*ignoreCase:*/Active_Ipy_long, /*l:*/Active_lpy, /*lineNumber:*/Active_lpy_long, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/Active_npy, /*quiet:*/Active_npy_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 359 true, 360 /*active:*/SedOption.print, SedOption.translate 361 ), 362 /** Option set with the following active options: {@link #print p}, {@link #translate y}.*/ 363 Active_py_long( 364 /*g:*/Active_gpy, /*global:*/Active_gpy_long, /*I:*/Active_Ipy, /*ignoreCase:*/Active_Ipy_long, /*l:*/Active_lpy, /*lineNumber:*/Active_lpy_long, /*p:*/null /*already set*/, /*print:*/null /*already set*/, /*n:*/Active_npy, /*quiet:*/Active_npy_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 365 false, 366 /*active:*/SedOption.print, SedOption.translate 367 ), 368 /** Option set with the following active options: {@link #lineNumber l}, {@link #translate y}.*/ 369 Active_ly( 370 /*g:*/Active_gly, /*global:*/Active_gly_long, /*I:*/Active_Ily, /*ignoreCase:*/Active_Ily_long, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/Active_lpy, /*print:*/Active_lpy_long, /*n:*/Active_lny, /*quiet:*/Active_lny_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 371 true, 372 /*active:*/SedOption.lineNumber, SedOption.translate 373 ), 374 /** Option set with the following active options: {@link #lineNumber l}, {@link #translate y}.*/ 375 Active_ly_long( 376 /*g:*/Active_gly, /*global:*/Active_gly_long, /*I:*/Active_Ily, /*ignoreCase:*/Active_Ily_long, /*l:*/null /*already set*/, /*lineNumber:*/null /*already set*/, /*p:*/Active_lpy, /*print:*/Active_lpy_long, /*n:*/Active_lny, /*quiet:*/Active_lny_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 377 false, 378 /*active:*/SedOption.lineNumber, SedOption.translate 379 ), 380 /** Option set with the following active options: {@link #ignoreCase I}, {@link #translate y}.*/ 381 Active_Iy( 382 /*g:*/Active_Igy, /*global:*/Active_Igy_long, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/Active_Ily, /*lineNumber:*/Active_Ily_long, /*p:*/Active_Ipy, /*print:*/Active_Ipy_long, /*n:*/Active_Iny, /*quiet:*/Active_Iny_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 383 true, 384 /*active:*/SedOption.ignoreCase, SedOption.translate 385 ), 386 /** Option set with the following active options: {@link #ignoreCase I}, {@link #translate y}.*/ 387 Active_Iy_long( 388 /*g:*/Active_Igy, /*global:*/Active_Igy_long, /*I:*/null /*already set*/, /*ignoreCase:*/null /*already set*/, /*l:*/Active_Ily, /*lineNumber:*/Active_Ily_long, /*p:*/Active_Ipy, /*print:*/Active_Ipy_long, /*n:*/Active_Iny, /*quiet:*/Active_Iny_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 389 false, 390 /*active:*/SedOption.ignoreCase, SedOption.translate 391 ), 392 /** Option set with the following active options: {@link #translate y}.*/ 393 Active_y( 394 /*g:*/Active_gy, /*global:*/Active_gy_long, /*I:*/Active_Iy, /*ignoreCase:*/Active_Iy_long, /*l:*/Active_ly, /*lineNumber:*/Active_ly_long, /*p:*/Active_py, /*print:*/Active_py_long, /*n:*/Active_ny, /*quiet:*/Active_ny_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 395 true, 396 /*active:*/SedOption.translate 397 ), 398 /** Option set with the following active options: {@link #translate y}.*/ 399 Active_y_long( 400 /*g:*/Active_gy, /*global:*/Active_gy_long, /*I:*/Active_Iy, /*ignoreCase:*/Active_Iy_long, /*l:*/Active_ly, /*lineNumber:*/Active_ly_long, /*p:*/Active_py, /*print:*/Active_py_long, /*n:*/Active_ny, /*quiet:*/Active_ny_long, /*y:*/null /*already set*/, /*translate:*/null /*already set*/, 401 false, 402 /*active:*/SedOption.translate 403 ); 404 private SedOptionSet_Iglnpy( 405 SedOptionSet_Iglnpy g, SedOptionSet_Iglnpy global, SedOptionSet_Iglnpy I, SedOptionSet_Iglnpy ignoreCase, SedOptionSet_Iglnpy l, SedOptionSet_Iglnpy lineNumber, SedOptionSet_Iglnpy p, SedOptionSet_Iglnpy print, SedOptionSet_Iglnpy n, SedOptionSet_Iglnpy quiet, SedOptionSet_Iglnpy y, SedOptionSet_Iglnpy translate, 406 boolean useAcronym, 407 SedOption... activeOptions 408 ) { 409 this.g = g == null ? this : g; 410 this.global = global == null ? this : global; 411 this.I = I == null ? this : I; 412 this.ignoreCase = ignoreCase == null ? this : ignoreCase; 413 this.l = l == null ? this : l; 414 this.lineNumber = lineNumber == null ? this : lineNumber; 415 this.p = p == null ? this : p; 416 this.print = print == null ? this : print; 417 this.n = n == null ? this : n; 418 this.quiet = quiet == null ? this : quiet; 419 this.y = y == null ? this : y; 420 this.translate = translate == null ? this : translate; 421 this.useAcronym = useAcronym; 422 this.options = activeOptions.length == 0 ? EnumSet.noneOf(SedOption.class) : EnumSet.copyOf(Arrays.asList(activeOptions)); 423 } 424 private final boolean useAcronym; 425 /** 426 * Option {@code "-g"}: Globally substitute for all non-overlapping instances of the regexp 427 rather than just the first one. 428 <p> 429 (This option is ignored if the occurrence operand is specified). 430 * <p> 431 * The option {@code "-g"} is equivalent to the {@code "--}{@link #global global}{@code "} option. 432 * <p> 433 * Technically speaking, this field points to a set with the options of the 434 * current set plus the option {@code "-g"}. If the option {@code "-g"} 435 * is already set, the field {@code g} points to the enum constant itself 436 * as it already represents the current set of options. 437 */ 438 public final SedOptionSet_Iglnpy g; 439 /** 440 * Option {@code "--global"}: Globally substitute for all non-overlapping instances of the regexp 441 rather than just the first one. 442 <p> 443 (This option is ignored if the occurrence operand is specified). 444 * <p> 445 * The option {@code "--global"} is equivalent to the {@code "-}{@link #g g}{@code "} option. 446 * <p> 447 * Technically speaking, this field points to a set with the options of the 448 * current set plus the option {@code "--global"}. If the option {@code "--global"} 449 * is already set, the field {@code global} points to the enum constant itself 450 * as it already represents the current set of options. 451 */ 452 public final SedOptionSet_Iglnpy global; 453 /** 454 * Option {@code "-I"}: Use case insensitive pattern matching. 455 * <p> 456 * The option {@code "-I"} is equivalent to the {@code "--}{@link #ignoreCase ignoreCase}{@code "} option. 457 * <p> 458 * Technically speaking, this field points to a set with the options of the 459 * current set plus the option {@code "-I"}. If the option {@code "-I"} 460 * is already set, the field {@code I} points to the enum constant itself 461 * as it already represents the current set of options. 462 */ 463 public final SedOptionSet_Iglnpy I; 464 /** 465 * Option {@code "--ignoreCase"}: Use case insensitive pattern matching. 466 * <p> 467 * The option {@code "--ignoreCase"} is equivalent to the {@code "-}{@link #I I}{@code "} option. 468 * <p> 469 * Technically speaking, this field points to a set with the options of the 470 * current set plus the option {@code "--ignoreCase"}. If the option {@code "--ignoreCase"} 471 * is already set, the field {@code ignoreCase} points to the enum constant itself 472 * as it already represents the current set of options. 473 */ 474 public final SedOptionSet_Iglnpy ignoreCase; 475 /** 476 * Option {@code "-l"}: Writes the current line number on a separate line to the standard 477 output. 478 * <p> 479 * The option {@code "-l"} is equivalent to the {@code "--}{@link #lineNumber lineNumber}{@code "} option. 480 * <p> 481 * Technically speaking, this field points to a set with the options of the 482 * current set plus the option {@code "-l"}. If the option {@code "-l"} 483 * is already set, the field {@code l} points to the enum constant itself 484 * as it already represents the current set of options. 485 */ 486 public final SedOptionSet_Iglnpy l; 487 /** 488 * Option {@code "--lineNumber"}: Writes the current line number on a separate line to the standard 489 output. 490 * <p> 491 * The option {@code "--lineNumber"} is equivalent to the {@code "-}{@link #l l}{@code "} option. 492 * <p> 493 * Technically speaking, this field points to a set with the options of the 494 * current set plus the option {@code "--lineNumber"}. If the option {@code "--lineNumber"} 495 * is already set, the field {@code lineNumber} points to the enum constant itself 496 * as it already represents the current set of options. 497 */ 498 public final SedOptionSet_Iglnpy lineNumber; 499 /** 500 * Option {@code "-p"}: Write the matched line to standard output. 501 * <p> 502 * The option {@code "-p"} is equivalent to the {@code "--}{@link #print print}{@code "} option. 503 * <p> 504 * Technically speaking, this field points to a set with the options of the 505 * current set plus the option {@code "-p"}. If the option {@code "-p"} 506 * is already set, the field {@code p} points to the enum constant itself 507 * as it already represents the current set of options. 508 */ 509 public final SedOptionSet_Iglnpy p; 510 /** 511 * Option {@code "--print"}: Write the matched line to standard output. 512 * <p> 513 * The option {@code "--print"} is equivalent to the {@code "-}{@link #p p}{@code "} option. 514 * <p> 515 * Technically speaking, this field points to a set with the options of the 516 * current set plus the option {@code "--print"}. If the option {@code "--print"} 517 * is already set, the field {@code print} points to the enum constant itself 518 * as it already represents the current set of options. 519 */ 520 public final SedOptionSet_Iglnpy print; 521 /** 522 * Option {@code "-n"}: Suppress the default output (in which each line, after it is 523 examined for editing, is written to standard output). Only lines 524 explicitly selected for output are written. 525 * <p> 526 * The option {@code "-n"} is equivalent to the {@code "--}{@link #quiet quiet}{@code "} option. 527 * <p> 528 * Technically speaking, this field points to a set with the options of the 529 * current set plus the option {@code "-n"}. If the option {@code "-n"} 530 * is already set, the field {@code n} points to the enum constant itself 531 * as it already represents the current set of options. 532 */ 533 public final SedOptionSet_Iglnpy n; 534 /** 535 * Option {@code "--quiet"}: Suppress the default output (in which each line, after it is 536 examined for editing, is written to standard output). Only lines 537 explicitly selected for output are written. 538 * <p> 539 * The option {@code "--quiet"} is equivalent to the {@code "-}{@link #n n}{@code "} option. 540 * <p> 541 * Technically speaking, this field points to a set with the options of the 542 * current set plus the option {@code "--quiet"}. If the option {@code "--quiet"} 543 * is already set, the field {@code quiet} points to the enum constant itself 544 * as it already represents the current set of options. 545 */ 546 public final SedOptionSet_Iglnpy quiet; 547 /** 548 * Option {@code "-y"}: Replace all occurrences of characters in string1 with the 549 corresponding characters in string2. If the number of characters in 550 the two strings are not equal, or if any of the characters in 551 string1 appear more than once, the results are undefined. 552 * <p> 553 * The option {@code "-y"} is equivalent to the {@code "--}{@link #translate translate}{@code "} option. 554 * <p> 555 * Technically speaking, this field points to a set with the options of the 556 * current set plus the option {@code "-y"}. If the option {@code "-y"} 557 * is already set, the field {@code y} points to the enum constant itself 558 * as it already represents the current set of options. 559 */ 560 public final SedOptionSet_Iglnpy y; 561 /** 562 * Option {@code "--translate"}: Replace all occurrences of characters in string1 with the 563 corresponding characters in string2. If the number of characters in 564 the two strings are not equal, or if any of the characters in 565 string1 appear more than once, the results are undefined. 566 * <p> 567 * The option {@code "--translate"} is equivalent to the {@code "-}{@link #y y}{@code "} option. 568 * <p> 569 * Technically speaking, this field points to a set with the options of the 570 * current set plus the option {@code "--translate"}. If the option {@code "--translate"} 571 * is already set, the field {@code translate} points to the enum constant itself 572 * as it already represents the current set of options. 573 */ 574 public final SedOptionSet_Iglnpy translate; 575 private final EnumSet<SedOption> options; 576 577 //inherit javadoc 578 @Override 579 public Class<SedOption> optionType() { 580 return SedOption.class; 581 } 582 //inherit javadoc 583 @Override 584 public boolean isSet(SedOption option) { 585 return options.contains(option); 586 } 587 //inherit javadoc 588 @Override 589 public int size() { 590 return options.size(); 591 } 592 /** 593 * Returns the set with the active options. The returned set a new defensive 594 * copy instance created when this method is called, modifications of this 595 * set will therefore not alter {@code this} option set. 596 * 597 * @return a copy of the set with the active options. 598 */ 599 @Override 600 public EnumSet<SedOption> asSet() { 601 return EnumSet.copyOf(options); 602 } 603 /** 604 * Returns an immutable iterator with the active options of this option set. 605 * 606 * @return an immutable iterator for over the active options 607 */ 608 @Override 609 public Iterator<SedOption> iterator() { 610 return Collections.unmodifiableSet(options).iterator(); 611 } 612 /** 613 * Returns true if the {@link Option#acronym() acronym} should be used in 614 * for the specified {@code option} string representations. 615 * <p> 616 * In particular and independent from the {@code option} argument, this 617 * option set returns true if the last option added to this set was an 618 * acronym, and false if it was a long option name. 619 * <p> 620 * For instance, the set defined as 621 * <pre> 622 * SedOptionSet_Iglnpy.global.I; 623 * </pre> 624 * uses acronyms, that is, this method always returns true for the above 625 * set. 626 * <p> 627 * On the other hand, long option names are used and this method always 628 * returns false for the set 629 * <pre> 630 * SedOptionSet_Iglnpy.g.ignoreCase; 631 * </pre> 632 * <p> 633 * Note that a repeated option is <i>not</i> treated as the last set option. 634 * For instance, the first and last option of the following set are 635 * equivalent and acronyms are used: 636 * <pre> 637 * SedOptionSet_Iglnpy.g.I.global; 638 * </pre> 639 * <p> 640 * This method always returns true for the empty set with no active options. 641 * 642 * @param option 643 * the option of interest, has no impact on the result returned 644 * by this method 645 * @return true if option acronyms should be used for string representations 646 * of any option of this option set 647 */ 648 @Override 649 public boolean useAcronymFor(SedOption option) { 650 return useAcronym; 651 } 652}