Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2961 - 2970 of 6,993 for public (0.11 sec)

  1. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

              annotationClass.getDeclaringClass(),
              returnType.getComponentType());
        }
      }
    
      // This is public so that tests for Feature enums we haven't yet imagined
      // can reuse it.
      public static <E extends Enum<?> & Feature<?>> void assertGoodFeatureEnum(
          Class<E> featureEnumClass) {
        final Class<?>[] classes = featureEnumClass.getDeclaredClasses();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:09:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Objects.java

     * methods with {@code Objects}</a>.
     *
     * @author Laurence Gonsalves
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class Objects extends ExtraObjectsMethodsForWeb {
      private Objects() {}
    
      /**
       * Determines whether two possibly-null objects are equal. Returns:
       *
       * <ul>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 19:03:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/DfsReferral.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    import java.util.Map;
    
    public class DfsReferral extends SmbException {
    
        public int pathConsumed;
        public long ttl;
        public String server;   // Server
        public String share;    // Share
        public String link;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

    /** Unit tests for {@link Futures#getChecked(Future, Class)}. */
    public class FuturesGetCheckedTest extends TestCase {
      // Boring untimed-get tests:
    
      public void testGetCheckedUntimed_success() throws TwoArgConstructorException {
        assertEquals("foo", getChecked(immediateFuture("foo"), TwoArgConstructorException.class));
      }
    
      public void testGetCheckedUntimed_interrupted() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

        public QueryBuilder queryName(final String queryName) {
            return queryBuilder.queryName(queryName);
        }
    
        @Override
        public String queryName() {
            return queryBuilder.queryName();
        }
    
        @Override
        public float boost() {
            return queryBuilder.boost();
        }
    
        @Override
        public QueryBuilder boost(final float boost) {
            return queryBuilder.boost(boost);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/PreconditionsTest.java

    @GwtCompatible(emulated = true)
    public class PreconditionsTest extends TestCase {
      public void testCheckArgument_simple_success() {
        checkArgument(true);
      }
    
      public void testCheckArgument_simple_failure() {
        assertThrows(IllegalArgumentException.class, () -> checkArgument(false));
      }
    
      public void testCheckArgument_simpleMessage_success() {
        checkArgument(true, IGNORE_ME);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

      }
    
      @Test
      public void inDegree_oneEdge() {
        addEdge(N1, N2, E12);
        assertThat(network.inDegree(N2)).isEqualTo(1);
        assertThat(network.inDegree(N1)).isEqualTo(1);
      }
    
      @Test
      public void outDegree_oneEdge() {
        addEdge(N1, N2, E12);
        assertThat(network.outDegree(N1)).isEqualTo(1);
        assertThat(network.outDegree(N2)).isEqualTo(1);
      }
    
      @Test
      public void edges_selfLoop() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java

      @GuardedBy("lock")
      private boolean shutdown = false;
    
      @Override
      public void execute(Runnable command) {
        startTask();
        try {
          command.run();
        } finally {
          endTask();
        }
      }
    
      @Override
      public boolean isShutdown() {
        synchronized (lock) {
          return shutdown;
        }
      }
    
      @Override
      public void shutdown() {
        synchronized (lock) {
          shutdown = true;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

     *
     * @author Kevin Bourrillion
     * @author Jens Nyman
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class FakeTimeLimiter implements TimeLimiter {
      @CanIgnoreReturnValue // TODO(kak): consider removing this
      @Override
      public <T> T newProxy(
          T target, Class<T> interfaceType, long timeoutDuration, TimeUnit timeoutUnit) {
        checkNotNull(target);
        checkNotNull(interfaceType);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/AbstractIndexedListIterator.java

      }
    
      @Override
      public final boolean hasNext() {
        return position < size;
      }
    
      @Override
      @ParametricNullness
      public final E next() {
        if (!hasNext()) {
          throw new NoSuchElementException();
        }
        return get(position++);
      }
    
      @Override
      public final int nextIndex() {
        return position;
      }
    
      @Override
      public final boolean hasPrevious() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 3.2K bytes
    - Viewed (0)
Back to top