Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 201 for setType (0.1 sec)

  1. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertTrue(
            from.getType() + " is expected to be assignable to " + to.getType(),
            to.isSupertypeOf(from));
        assertTrue(
            to.getType() + " is expected to be a supertype of " + from.getType(),
            to.isSupertypeOf(from));
        assertTrue(
            from.getType() + " is expected to be a subtype of " + to.getType(), from.isSubtypeOf(to));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        ImmutableList<Parameter> parameters = delegate.getParameters();
        assertEquals(2, parameters.size());
        assertEquals(String.class, parameters.get(0).getType().getType());
        assertTrue(parameters.get(0).isAnnotationPresent(NotBlank.class));
        assertEquals(int.class, parameters.get(1).getType().getType());
        assertFalse(parameters.get(1).isAnnotationPresent(NotBlank.class));
        new EqualsTester()
            .addEqualityGroup(parameters.get(0))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/InvokableTest.java

        ImmutableList<Parameter> parameters = delegate.getParameters();
        assertEquals(2, parameters.size());
        assertEquals(String.class, parameters.get(0).getType().getType());
        assertTrue(parameters.get(0).isAnnotationPresent(NotBlank.class));
        assertEquals(int.class, parameters.get(1).getType().getType());
        assertFalse(parameters.get(1).isAnnotationPresent(NotBlank.class));
        new EqualsTester()
            .addEqualityGroup(parameters.get(0))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/FileLocationTest.java

                SmbResourceLocator fl = p.getLocator();
                assertNull(fl.getServer());
                assertNull(fl.getShare());
                assertEquals(SmbConstants.TYPE_WORKGROUP, fl.getType());
                assertEquals("\\", fl.getUNCPath());
                assertEquals("smb://", fl.getCanonicalURL());
                assertEquals("/", fl.getURLPath());
            }
        }
    
    
        @Test
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 13:16:07 UTC 2020
    - 23K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelCacheTag.java

         */
        Class<T> getType();
    
        /**
         * The tag used for the raw model without profile activation
         */
        ModelCacheTag<ModelData> RAW = new ModelCacheTag<ModelData>() {
    
            @Override
            public String getName() {
                return "raw";
            }
    
            @Override
            public Class<ModelData> getType() {
                return ModelData.class;
            }
        };
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/av/AvPairs.java

                AvPair p = it.next();
                if ( p.getType() == type ) {
                    it.remove();
                }
            }
        }
    
    
        /**
         * Replace all occurances of the given type
         * 
         * @param pairs
         * @param rep
         */
        public static void replace ( List<AvPair> pairs, AvPair rep ) {
            remove(pairs, rep.getType());
            pairs.add(rep);
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                    if (lastItem.isNull()) {
                        if (i == size() - 1 || get(i + 1).getType() == STRING_ITEM) {
                            remove(i);
                        } else if (get(i + 1).getType() == LIST_ITEM) {
                            Item item = ((ListItem) get(i + 1)).get(0);
                            if (item.getType() == COMBINATION_ITEM || item.getType() == STRING_ITEM) {
                                remove(i);
                            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertTrue(
            from.getType() + " is expected to be assignable to " + to.getType(),
            to.isSupertypeOf(from));
        assertTrue(
            to.getType() + " is expected to be a supertype of " + from.getType(),
            to.isSupertypeOf(from));
        assertTrue(
            from.getType() + " is expected to be a subtype of " + to.getType(), from.isSubtypeOf(to));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

                }
    
                @Override
                public String getExtension() {
                    return getType().getExtension();
                }
    
                @Override
                public Type getType() {
                    String type = dependency.getType();
                    return session.requireType(type);
                }
    
                @Nonnull
                @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

            artifact.setVersion(version);
        }
    
        /** {@inheritDoc} */
        public String getScope() {
            return artifact.getScope();
        }
    
        /** {@inheritDoc} */
        public String getType() {
            return artifact.getType();
        }
    
        /** {@inheritDoc} */
        public String getClassifier() {
            return artifact.getClassifier();
        }
    
        /** {@inheritDoc} */
        public boolean hasClassifier() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top