Search Options

Results per page
Sort
Preferred Languages
Advance

Results 701 - 710 of 4,785 for New (0.02 sec)

  1. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

     *
     * @author Kevin Bourrillion
     */
    @GwtIncompatible
    public class TestsForMapsInJavaUtil {
    
      public static Test suite() {
        return new TestsForMapsInJavaUtil().allTests();
      }
    
      public Test allTests() {
        TestSuite suite = new TestSuite("java.util Maps");
        suite.addTest(testsForCheckedMap());
        suite.addTest(testsForCheckedNavigableMap());
        suite.addTest(testsForCheckedSortedMap());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Collections2.java

        final List<E> list;
        final int[] c;
        final int[] o;
        int j;
    
        PermutationIterator(List<E> list) {
          this.list = new ArrayList<>(list);
          int n = list.size();
          c = new int[n];
          o = new int[n];
          Arrays.fill(c, 0);
          Arrays.fill(o, 1);
          j = Integer.MAX_VALUE;
        }
    
        @Override
        @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

            QueryProcessor queryProcessor = new QueryProcessor();
            ComponentUtil.register(queryProcessor, "queryProcessor");
            queryProcessor.init();
            new BooleanQueryCommand().register();
            new BoostQueryCommand().register();
            new FuzzyQueryCommand().register();
            new MatchAllQueryCommand().register();
            new PhraseQueryCommand().register();
            new PrefixQueryCommand().register();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/user/exbhv/GroupBhv.java

                        .map(e -> new Pair<>(e.getKey(), (String) e.getValue())).collect(Collectors.toMap(Pair::getFirst, Pair::getSecond)));
                return result;
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/beans/converter/NumberConverter.java

            }
            try {
                return new DecimalFormat(pattern).parse(value);
            } catch (final ParseException e) {
                throw new ParseRuntimeException(e);
            }
    
        }
    
        @Override
        public String getAsString(final Object value) {
            if (value == null) {
                return null;
            }
            return new DecimalFormat(pattern).format(value);
        }
    
        @Override
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java

                    result = path.getAbsoluteFile();
                } else {
                    // an ordinary relative path, align with base dir
                    result = new File(new File(basedir, path.getPath()).toURI().normalize()).getAbsoluteFile();
                }
            }
    
            return result;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            this.baddr = tc.getConfig().getBroadcastAddress();
            this.snd_buf = new byte[tc.getConfig().getNetbiosSndBufSize()];
            this.rcv_buf = new byte[tc.getConfig().getNetbiosRcvBufSize()];
            this.out = new DatagramPacket(this.snd_buf, tc.getConfig().getNetbiosSndBufSize(), this.baddr, NAME_SERVICE_UDP_PORT);
            this.in = new DatagramPacket(this.rcv_buf, tc.getConfig().getNetbiosRcvBufSize());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/artifact/MavenMetadataSourceTest.java

            dep2.setType( "jar" );
    
            List<Dependency> deps = new ArrayList<>();
            deps.add( dep1 );
            deps.add( dep2 );
    
            ArtifactFactory factory = container.lookup( ArtifactFactory.class );
    
            ArtifactFilter dependencyFilter = new ScopeArtifactFilter( Artifact.SCOPE_COMPILE );
    
            MavenProject project = new MavenProject( new Model() );
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

      private final SubscriberRegistry registry = new SubscriberRegistry(new EventBus());
    
      public void testRegister() {
        assertEquals(0, registry.getSubscribersForTesting(String.class).size());
    
        registry.register(new StringSubscriber());
        assertEquals(1, registry.getSubscribersForTesting(String.class).size());
    
        registry.register(new StringSubscriber());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

    /**
     * Tests for {@code Synchronized#map}.
     *
     * @author Mike Bostock
     */
    public class SynchronizedMapTest extends TestCase {
      public final Object mutex = new Object[0]; // something Serializable
    
      protected <K, V> Map<K, V> create() {
        TestMap<K, V> inner = new TestMap<>(new HashMap<K, V>(), mutex);
        Map<K, V> outer = Synchronized.map(inner, mutex);
        return outer;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top