Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 479 for wrappers (0.28 sec)

  1. guava-tests/test/com/google/common/primitives/PrimitivesTest.java

          primitives.remove(boolean.class);
          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      public void testAllWrapperTypes() {
        Set<Class<?>> wrappers = Primitives.allWrapperTypes();
        assertThat(wrappers)
            .containsExactly(
                Boolean.class,
                Byte.class,
                Character.class,
                Double.class,
                Float.class,
                Integer.class,
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java

          primitives.remove(boolean.class);
          fail();
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      public void testAllWrapperTypes() {
        Set<Class<?>> wrappers = Primitives.allWrapperTypes();
        assertThat(wrappers)
            .containsExactly(
                Boolean.class,
                Byte.class,
                Character.class,
                Double.class,
                Float.class,
                Integer.class,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Java8Compatibility.java

     * the License.
     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.nio.Buffer;
    
    /**
     * Wrappers around {@link Buffer} methods that are covariantly overridden in Java 9+. See
     * https://github.com/google/guava/issues/3990
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  4. internal/lock/lock.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    // Package lock - implements filesystem locking wrappers around an
    // open file descriptor.
    package lock
    
    import (
    	"errors"
    	"os"
    	"sync"
    )
    
    // ErrAlreadyLocked is returned if the underlying fd is already locked.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ForwardingObject.java

     * {@code equals} would break symmetry, as the forwarding object might consider itself equal to the
     * object being tested, but the reverse could not be true. This behavior is consistent with the
     * JDK's collection wrappers, such as {@link java.util.Collections#unmodifiableCollection}. Use an
     * interface-specific subclass of {@code ForwardingObject}, such as {@link ForwardingList}, to
     * preserve equality behavior, or override {@code equals} directly.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Java8Compatibility.java

     * the License.
     */
    
    package com.google.common.hash;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.nio.Buffer;
    
    /**
     * Wrappers around {@link Buffer} methods that are covariantly overridden in Java 9+. See
     * https://github.com/google/guava/issues/3990
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class Java8Compatibility {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 1.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Java8Compatibility.java

     * the License.
     */
    
    package com.google.common.base;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.nio.Buffer;
    
    /**
     * Wrappers around {@link Buffer} methods that are covariantly overridden in Java 9+. See
     * https://github.com/google/guava/issues/3990
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/Java8Compatibility.java

     * the License.
     */
    
    package com.google.common.io;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.nio.Buffer;
    
    /**
     * Wrappers around {@link Buffer} methods that are covariantly overridden in Java 9+. See
     * https://github.com/google/guava/issues/3990
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Equivalence.java

         * references is {@code true} and both wrappers use the {@link Object#equals(Object) same}
         * equivalence.
         */
        @Override
        public boolean equals(@CheckForNull Object obj) {
          if (obj == this) {
            return true;
          }
          if (obj instanceof Wrapper) {
            Wrapper<?> that = (Wrapper<?>) obj; // note: not necessarily a Wrapper<T>
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Equivalence.java

         * references is {@code true} and both wrappers use the {@link Object#equals(Object) same}
         * equivalence.
         */
        @Override
        public boolean equals(@CheckForNull Object obj) {
          if (obj == this) {
            return true;
          }
          if (obj instanceof Wrapper) {
            Wrapper<?> that = (Wrapper<?>) obj; // note: not necessarily a Wrapper<T>
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top