Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 155 for switch (0.41 sec)

  1. src/main/java/org/codelibs/core/convert/StringConversionUtil.java

            if (isEmpty(source)) {
                return source;
            }
            final char[] array = source.toCharArray();
            for (int i = 0; i < array.length; ++i) {
                switch (array[i]) {
                case WAVE_DASH:
                    array[i] = FULLWIDTH_TILDE;
                    break;
                case DOUBLE_VERTICAL_LINE:
                    array[i] = PARALLEL_TO;
                    break;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/xml/DomUtil.java

                return null;
            }
            final char[] content = s.toCharArray();
            final StringBuilder buf = new StringBuilder(s.length() + 100);
            for (final char element : content) {
                switch (element) {
                case '<':
                    buf.append("&lt;");
                    break;
                case '>':
                    buf.append("&gt;");
                    break;
                case '&':
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/text/JsonUtil.java

            }
    
            char c;
            final int len = value.length();
            final StringBuilder buf = new StringBuilder(len * 2);
    
            for (int i = 0; i < len; i++) {
                c = value.charAt(i);
                switch (c) {
                case '\\':
                case '"':
                    buf.append('\\');
                    buf.append(c);
                    break;
                case '/':
                    buf.append('\\');
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/Base64Util.java

            final int lastBytes = getLastBytes(inData);
            final byte[] outData = new byte[num * 3 + lastBytes];
            for (int i = 0; i < num; i++) {
                decode(inData, i * 4, outData, i * 3);
            }
            switch (lastBytes) {
            case 1:
                decode1byte(inData, num * 4, outData, num * 3);
                break;
            case 2:
                decode2byte(inData, num * 4, outData, num * 3);
                break;
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/log/Logger.java

            assertArgumentNotEmpty("messageCode", messageCode);
    
            final char messageType = messageCode.charAt(0);
            final String message = MessageFormatter.getSimpleMessage(messageCode, args);
            switch (messageType) {
            case 'D':
                return new LogMessage(LogLevel.DEBUG, message);
            case 'I':
                return new LogMessage(LogLevel.INFO, message);
            case 'W':
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/misc/LocaleUtil.java

    /*
     * Copyright 2012-2024 CodeLibs Project and the Others.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/EmptyEnumeration.java

    /*
     * Copyright 2012-2024 CodeLibs Project and the Others.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/text/DecimalFormatSymbolsUtilTest.java

    /*
     * Copyright 2012-2024 CodeLibs Project and the Others.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/log/JclLoggerAdapterFactory.java

    /*
     * Copyright 2012-2024 CodeLibs Project and the Others.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/collection/CaseInsensitiveSetTest.java

    /*
     * Copyright 2012-2024 CodeLibs Project and the Others.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *     http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.1K bytes
    - Viewed (0)
Back to top