Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1641 - 1650 of 6,993 for public (0.04 sec)

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

    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionRemoveTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testRemove_present() {
        int initialSize = collection.size();
        assertTrue("remove(present) should return true", collection.remove(e0()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/FluentIterable.java

       */
      public static <E extends @Nullable Object> FluentIterable<E> from(final Iterable<E> iterable) {
        return (iterable instanceof FluentIterable)
            ? (FluentIterable<E>) iterable
            : new FluentIterable<E>(iterable) {
              @Override
              public Iterator<E> iterator() {
                return iterable.iterator();
              }
            };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 13:42:31 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

        }
    
        @Override public void callStart(Call call) {
          printEvent("callStart");
        }
    
        @Override public void proxySelectStart(Call call, HttpUrl url) {
          printEvent("proxySelectStart");
        }
    
        @Override public void proxySelectEnd(Call call, HttpUrl url, List<Proxy> proxies) {
          printEvent("proxySelectEnd");
        }
    
        @Override public void dnsStart(Call call, String domainName) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 5.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java

    import com.google.common.hash.HashTestUtils.HashFn;
    import java.nio.charset.Charset;
    import java.util.Random;
    import junit.framework.TestCase;
    
    /** Tests for {@link Murmur3_32HashFunction}. */
    public class Murmur3Hash32Test extends TestCase {
      public void testKnownIntegerInputs() {
        assertHash(593689054, murmur3_32().hashInt(0));
        assertHash(-189366624, murmur3_32().hashInt(-42));
        assertHash(-1134849565, murmur3_32().hashInt(42));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:29:46 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          new Supplier<ReadWriteLock>() {
            @Override
            public ReadWriteLock get() {
              return new ReentrantReadWriteLock();
            }
          };
    
      private static final Supplier<Lock> LOCK_SUPPLER =
          new Supplier<Lock>() {
            @Override
            public Lock get() {
              return new ReentrantLock();
            }
          };
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

          new Supplier<ReadWriteLock>() {
            @Override
            public ReadWriteLock get() {
              return new ReentrantReadWriteLock();
            }
          };
    
      private static final Supplier<Lock> LOCK_SUPPLER =
          new Supplier<Lock>() {
            @Override
            public Lock get() {
              return new ReentrantLock();
            }
          };
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/webconfig/CreateForm.java

    /**
     * @author shinsuke
     * @author Shunji Makino
     * @author Keiichi Watanabe
     */
    public class CreateForm {
    
        public String[] labelTypeIds;
    
        @ValidateTypeFailure
        public Integer crudMode;
    
        @Required
        @Size(max = 200)
        public String name;
    
        @Size(max = 1000)
        public String description;
    
        @Required
        @UriType(protocolType = ProtocolType.WEB)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/UnicodeString.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.dcerpc;
    
    public class UnicodeString extends rpc.unicode_string {
    
        boolean zterm;
    
        public UnicodeString(boolean zterm) {
            this.zterm = zterm;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/stream/StreamUtil.java

    import java.util.function.Supplier;
    import java.util.stream.Stream;
    
    public class StreamUtil {
        private StreamUtil() {
            // nothing
        }
    
        @SafeVarargs
        public static <T> StreamOf<T> stream(final T... values) {
            return new StreamOf<>(() -> values != null ? Arrays.stream(values) : Collections.<T> emptyList().stream());
        }
    
        public static StreamOf<String> split(final String value, final String regex) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

    import org.lastaflute.web.ruts.process.ActionRuntime;
    import org.lastaflute.web.validation.VaErrorHook;
    
    import jakarta.annotation.Resource;
    
    /**
     * @author ma2tani
     */
    public class AdminDictStopwordsAction extends FessAdminAction {
    
        public static final String ROLE = "admin-dict";
    
        private static final Logger logger = LogManager.getLogger(AdminDictStopwordsAction.class);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top