Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 2,150 for BOOLEAN (0.14 sec)

  1. guava-tests/test/com/google/common/io/FlushablesTest.java

      // parameter. expectThrown determines whether we expect an exception to
      // be thrown by Flushables.flush;
      private void doFlush(Flushable flushable, boolean swallowException, boolean expectThrown)
          throws IOException {
        try {
          Flushables.flush(flushable, swallowException);
          if (expectThrown) {
            fail("Didn't throw exception.");
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/SingletonImmutableBiMap.java

        checkNotNull(action).accept(singleKey, singleValue);
      }
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
        return singleKey.equals(key);
      }
    
      @Override
      public boolean containsValue(@CheckForNull Object value) {
        return singleValue.equals(value);
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       */
      public MonitorBasedArrayBlockingQueue(int capacity, boolean fair) {
        if (capacity <= 0) throw new IllegalArgumentException();
        this.items = newEArray(capacity);
        monitor = new Monitor(fair);
        notEmpty =
            new Monitor.Guard(monitor) {
              @Override
              public boolean isSatisfied() {
                return count > 0;
              }
            };
        notFull =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

    class CollectionBenchmarkSampleData {
      private final boolean isUserTypeFast;
      private final SpecialRandom random;
      private final double hitRate;
      private final int size;
    
      private final Set<Element> valuesInSet;
      private final Element[] queries;
    
      CollectionBenchmarkSampleData(int size) {
        this(true, new SpecialRandom(), 1.0, size);
      }
    
      CollectionBenchmarkSampleData(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            return dynamicProperties;
        }
    
        @Override
        public boolean contains(final Object value) {
            return getProperties().contains(value);
        }
    
        @Override
        public boolean containsKey(final Object key) {
            return getProperties().containsKey(key);
        }
    
        @Override
        public boolean containsValue(final Object value) {
            return getProperties().containsValue(value);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/NetbiosAddress.java

         *            context to use
         * @return whether the given address is a group address
         *
         * @throws UnknownHostException
         *             if the host cannot be resolved to find out.
         */
        boolean isGroupAddress ( CIFSContext tc ) throws UnknownHostException;
    
    
        /**
         * Checks the node type of this address.
         * 
         * @param tc
         *            context to use
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/AbstractBaseGraph.java

        return isDirected() ? successors(node).size() : degree(node);
      }
    
      @Override
      public boolean hasEdgeConnecting(N nodeU, N nodeV) {
        checkNotNull(nodeU);
        checkNotNull(nodeV);
        return nodes().contains(nodeU) && successors(nodeU).contains(nodeV);
      }
    
      @Override
      public boolean hasEdgeConnecting(EndpointPair<N> endpoints) {
        checkNotNull(endpoints);
        if (!isOrderingCompatible(endpoints)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableSet.java

      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        return object != null && delegate.contains(object);
      }
    
      @Override
      public boolean containsAll(Collection<?> targets) {
        return delegate.containsAll(targets);
      }
    
      @Override
      public int size() {
        return delegate.size();
      }
    
      @Override
      public boolean isEmpty() {
        return delegate.isEmpty();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 23 18:43:40 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

            assertThat(entry.getValue(), is(sameClass(String.class)));
            entry = it.next();
            assertThat(entry.getKey().getName(), is("T2"));
            assertThat(entry.getValue(), is(sameClass(Boolean.class)));
        }
    
        /**
         * @throws Exception
         */
        public void testGetActualClass() throws Exception {
            final Map<TypeVariable<?>, Type> map = GenericsUtil.getTypeVariableMap(Hoge.class);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

        private int eaSize;
        private String shortName;
        private String filename;
        private final Configuration config;
        private final boolean unicode;
    
    
        /**
         * @param config
         * @param unicode
         * 
         */
        public FileBothDirectoryInfo ( Configuration config, boolean unicode ) {
            this.config = config;
            this.unicode = unicode;
        }
    
    
        @Override
        public String getName () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.6K bytes
    - Viewed (0)
Back to top