mteb/BrightProStackoverflowRetrieval huggingface dataset:
#  google.protobuf.proto_builder  ¶

Dynamic Protobuf class creator.

` google.protobuf.proto_builder. ` ` MakeSimpleProtoClass ` (  _fields_ ,
_full_name=None_ , _pool=None_ )  ¶

    

Create a Protobuf class whose fields are basic types.

Note: this doesn’t validate field names!

Parameters  :

    

  * **fields** – dict of {name: field_type} mappings for each field in the proto. If this is an OrderedDict the order will be maintained, otherwise the fields will be sorted by name. 

  * **full_name** – optional str, the fully-qualified name of the proto type. 

  * **pool** – optional DescriptorPool instance. 

Returns  :

    

a class, the new protobuf class with a FileDescriptor.

###  [ Table of Contents ](../../index.html)

  * [ google.protobuf ](../protobuf.html)
  * [ google.protobuf.any_pb2 ](any_pb2.html)
  * [ google.protobuf.descriptor ](descriptor.html)
  * [ google.protobuf.descriptor_database ](descriptor_database.html)
  * [ google.protobuf.descriptor_pb2 ](descriptor_pb2.html)
  * [ google.protobuf.descriptor_pool ](descriptor_pool.html)
  * [ google.protobuf.duration_pb2 ](duration_pb2.html)
  * [ google.protobuf.empty_pb2 ](empty_pb2.html)
  * [ google.protobuf.field_mask_pb2 ](field_mask_pb2.html)
  * [ google.protobuf.internal.containers ](internal/containers.html)
  * [ google.protobuf.json_format ](json_format.html)
  * [ google.protobuf.message ](message.html)
  * [ google.protobuf.message_factory ](message_factory.html)
  * google.protobuf.proto_builder 
  * [ google.protobuf.reflection ](reflection.html)
  * [ google.protobuf.service ](service.html)
  * [ google.protobuf.service_reflection ](service_reflection.html)
  * [ google.protobuf.struct_pb2 ](struct_pb2.html)
  * [ google.protobuf.symbol_database ](symbol_database.html)
  * [ google.protobuf.text_encoding ](text_encoding.html)
  * [ google.protobuf.text_format ](text_format.html)
  * [ google.protobuf.timestamp_pb2 ](timestamp_pb2.html)
  * [ google.protobuf.type_pb2 ](type_pb2.html)
  * [ google.protobuf.unknown_fields ](unknown_fields.html)
  * [ google.protobuf.wrappers_pb2 ](wrappers_pb2.html)

###  Related Topics

  * [ Documentation overview ](../../index.html)
    * Previous: [ google.protobuf.message_factory ](message_factory.html "previous chapter")
    * Next: [ google.protobuf.reflection ](reflection.html "next chapter")

###  This Page

  * [ Show Source ](../../_sources/google/protobuf/proto_builder.rst.txt)

©2008, Google LLC. | Powered by [ Sphinx 2.3.1 ](http://sphinx-doc.org/) & [ Alabaster 0.7.12 ](https://github.com/bitprophet/alabaster) | [ Page source ](../../_sources/google/protobuf/proto_builder.rst.txt)
* [ ChatSession  ](/java/docs/reference/google-cloud-vertexai/latest/com.google.cloud.vertexai.generativeai.ChatSession)
* [ Constants  ](/java/docs/reference/google-cloud-vertexai/latest/com.google.cloud.vertexai.generativeai.Constants)
* [ ContentMaker  ](/java/docs/reference/google-cloud-vertexai/latest/com.google.cloud.vertexai.generativeai.ContentMaker)
* [ ContentMaker.ContentMakerForRole  ](/java/docs/reference/google-cloud-vertexai/latest/com.google.cloud.vertexai.generativeai.ContentMaker.ContentMakerForRole)
* [ FunctionDeclarationMaker  ](/java/docs/reference/google-cloud-vertexai/latest/com.google.cloud.vertexai.generativeai.FunctionDeclarationMaker)
* [ GenerativeModel  ](/java/docs/reference/google-cloud-vertexai/latest/com.google.cloud.vertexai.generativeai.GenerativeModel)
* [ GenerativeModel.Builder  ](/java/docs/reference/google-cloud-vertexai/latest/com.google.cloud.vertexai.generativeai.GenerativeModel.Builder)
* [ PartMaker  ](/java/docs/reference/google-cloud-vertexai/latest/com.google.cloud.vertexai.generativeai.PartMaker)
* [ ResponseHandler  ](/java/docs/reference/google-cloud-vertexai/latest/com.google.cloud.vertexai.generativeai.ResponseHandler)
* [ ResponseStream  ](/java/docs/reference/google-cloud-vertexai/latest/com.google.cloud.vertexai.generativeai.ResponseStream)
* [ ResponseStreamIteratorWithHistory  ](/java/docs/reference/google-cloud-vertexai/latest/com.google.cloud.vertexai.generativeai.ResponseStreamIteratorWithHistory)
e.protobuf.descriptor ](descriptor.html)
  * [ google.protobuf.descriptor_database ](descriptor_database.html)
  * [ google.protobuf.descriptor_pb2 ](descriptor_pb2.html)
  * [ google.protobuf.descriptor_pool ](descriptor_pool.html)
  * [ google.protobuf.duration_pb2 ](duration_pb2.html)
  * [ google.protobuf.empty_pb2 ](empty_pb2.html)
  * [ google.protobuf.field_mask_pb2 ](field_mask_pb2.html)
  * [ google.protobuf.internal.containers ](internal/containers.html)
  * [ google.protobuf.json_format ](json_format.html)
  * [ google.protobuf.message ](message.html)
  * [ google.protobuf.message_factory ](message_factory.html)
  * [ google.protobuf.proto_builder ](proto_builder.html)
  * [ google.protobuf.reflection ](reflection.html)
  * [ google.protobuf.service ](service.html)
  * [ google.protobuf.service_reflection ](service_reflection.html)
  * [ google.protobuf.struct_pb2 ](struct_pb2.html)
  * [ google.protobuf.symbol_database ](symbol_database.html)
  * [ google.protobuf.text_encoding ](text_encoding.html)
  * [ google.protobuf.text_format ](text_format.html)
  * [ google.protobuf.timestamp_pb2 ](timestamp_pb2.html)
  * [ google.protobuf.type_pb2 ](type_pb2.html)
  * [ google.protobuf.unknown_fields ](unknown_fields.html)
  * google.protobuf.wrappers_pb2 

###  Related Topics

  * [ Documentation overview ](../../index.html)
    * Previous: [ google.protobuf.unknown_fields ](unknown_fields.html "previous chapter")

###  This Page

  * [ Show Source ](../../_sources/google/protobuf/wrappers_pb2.rst.txt)

©2008, Google LLC. | Powered by [ Sphinx 2.3.1 ](http://sphinx-doc.org/) & [ Alabaster 0.7.12 ](https://github.com/bitprophet/alabaster) | [ Page source ](../../_sources/google/protobuf/wrappers_pb2.rst.txt)
* [ google-cloud-security-private-ca  ](/java/docs/reference/google-cloud-security-private-ca/latest/overview)
* [ google-cloud-securitycenter  ](/java/docs/reference/google-cloud-securitycenter/latest/overview)
* [ google-cloud-securitycenter-settings  ](/java/docs/reference/google-cloud-securitycenter-settings/latest/overview)
* [ google-cloud-securitycentermanagement  ](/java/docs/reference/google-cloud-securitycentermanagement/latest/overview)
* [ google-cloud-securityposture  ](/java/docs/reference/google-cloud-securityposture/latest/overview)
* [ google-cloud-service-control  ](/java/docs/reference/google-cloud-service-control/latest/overview)
* [ google-cloud-service-management  ](/java/docs/reference/google-cloud-service-management/latest/overview)
* [ google-cloud-service-usage  ](/java/docs/reference/google-cloud-service-usage/latest/overview)
* [ google-cloud-servicedirectory  ](/java/docs/reference/google-cloud-servicedirectory/latest/overview)
* [ google-cloud-servicehealth  ](/java/docs/reference/google-cloud-servicehealth/latest/overview)
* [ google-cloud-shell  ](/java/docs/reference/google-cloud-shell/latest/overview)
* [ google-cloud-spanner  ](/java/docs/reference/google-cloud-spanner/latest/overview)
* [ google-cloud-spanner-jdbc  ](/java/docs/reference/google-cloud-spanner-jdbc/latest/overview)
* [ google-cloud-spanner-pgadapter  ](/java/docs/reference/pgadapter/latest/overview)
* [ google-cloud-speech  ](/java/docs/reference/google-cloud-speech/latest/overview)
* [ google-cloud-storage  ](/java/docs/reference/google-cloud-storage/latest/overview)
* [ google-cloud-storage-transfer  ](/java/docs/reference/google-cloud-storage-transfer/latest/overview)
* [ google-cloud-storageinsights  ](/java/docs/reference/google-cloud-storageinsights/latest/overview)
* [ google-cloud-talent  ](/java/docs/reference/google-cloud-talent/latest/overview)
* [ google-cloud-tasks  ](/java/docs/reference/google-cloud-tasks/latest/overview)
* [ google-cloud-telcoautomation  ](/java/docs/reference/google-cloud-telcoautomation/latest/overview)
* [ google-cloud-texttospeech  ](/java/docs/reference/google-cloud-texttospeech/latest/overview)
* [ google-cloud-tpu  ](/java/docs/reference/google-cloud-tpu/latest/overview)
* [ google-cloud-trace  ](/java/docs/reference/google-cloud-trace/latest/overview)
* [ google-cloud-translate  ](/java/docs/reference/google-cloud-translate/latest/overview)
* google-cloud-vertexai
* * *

|  [ **Overview** ](../../overview-summary.html) |  [ **Package** ](package-summary.html) |  **Class** |  [ **Use** ](class-use/Condition.Step.html) |  [ **Tree** ](package-tree.html) |  [ **Deprecated** ](../../deprecated-list.html) |  [ **Index** ](../../index-all.html) |  [ **Help** ](../../help-doc.html)  
---|---|---|---|---|---|---|---  
__  
[ **PREV CLASS** ](../../org/hamcrest/Condition.html "class in org.hamcrest") [ **NEXT CLASS** ](../../org/hamcrest/CoreMatchers.html "class in org.hamcrest") |  [ **FRAMES** ](../../index.html?org/hamcrest/Condition.Step.html) [ **NO FRAMES** ](Condition.Step.html) [ **All Classes** ](../../allclasses-noframe.html)  
SUMMARY: NESTED | FIELD | CONSTR |  METHOD  |  DETAIL: FIELD | CONSTR |  METHOD   
  
* * *

##  org.hamcrest  
Interface Condition.Step<I,O>

**Enclosing class:**      [ Condition ](../../org/hamcrest/Condition.html
"class in org.hamcrest") < [ T ](../../org/hamcrest/Condition.html "type
parameter in Condition") >

* * *
    
    
    public static interface **Condition.Step <I,O>**

* * *

**Method Summary**  
---  
` [ Condition ](../../org/hamcrest/Condition.html "class in org.hamcrest") < [ O ](../../org/hamcrest/Condition.Step.html "type parameter in Condition.Step") > ` |  ` **[ apply ](../../org/hamcrest/Condition.Step.html#apply\(I, org.hamcrest.Description\)) ** ( [ I ](../../org/hamcrest/Condition.Step.html "type parameter in Condition.Step") value, [ Description ](../../org/hamcrest/Description.html "interface in org.hamcrest") mismatch) `   
  
  
**Method Detail**  
---  
  
###  apply

    
    
    [Condition](../../org/hamcrest/Condition.html "class in org.hamcrest")<[O](../../org/hamcrest/Condition.Step.html "type parameter in Condition.Step")> **apply**([I](../../org/hamcrest/Condition.Step.html "type parameter in Condition.Step") value,
                       [Description](../../org/hamcrest/Description.html "interface in org.hamcrest") mismatch)

    

* * *

|  [ **Overview** ](../../overview-summary.html) |  [ **Package** ](package-summary.html) |  **Class** |  [ **Use** ](class-use/Condition.Step.html) |  [ **Tree** ](package-tree.html) |  [ **Deprecated** ](../../deprecated-list.html) |  [ **Index** ](../../index-all.html) |  [ **Help** ](../../help-doc.html)  
---|---|---|---|---|---|---|---  
__  
[ **PREV CLASS** ](../../org/hamcrest/Condition.html "class in org.hamcrest") [ **NEXT CLASS** ](../../org/hamcrest/CoreMatchers.html "class in org.hamcrest") |  [ **FRAMES** ](../../index.html?org/hamcrest/Condition.Step.html) [ **NO FRAMES** ](Condition.Step.html) [ **All Classes** ](../../allclasses-noframe.html)  
SUMMARY: NESTED | FIELD | CONSTR |  METHOD  |  DETAIL: FIELD | CONSTR |  METHOD   
  
* * *
* * *

|  [ **Overview** ](../../overview-summary.html) |  [ **Package** ](package-summary.html) |  **Class** |  [ **Use** ](class-use/EasyMock2Matchers.html) |  [ **Tree** ](package-tree.html) |  [ **Deprecated** ](../../deprecated-list.html) |  [ **Index** ](../../index-all.html) |  [ **Help** ](../../help-doc.html)  
---|---|---|---|---|---|---|---  
__  
[ **PREV CLASS** ](../../org/hamcrest/DiagnosingMatcher.html "class in org.hamcrest") [ **NEXT CLASS** ](../../org/hamcrest/Factory.html "annotation in org.hamcrest") |  [ **FRAMES** ](../../index.html?org/hamcrest/EasyMock2Matchers.html) [ **NO FRAMES** ](EasyMock2Matchers.html) [ **All Classes** ](../../allclasses-noframe.html)  
SUMMARY: NESTED | FIELD |  CONSTR  |  METHOD  |  DETAIL: FIELD |  CONSTR  |  METHOD   
  
* * *

##  org.hamcrest  
Class EasyMock2Matchers

    
    
    java.lang.Object
      ![extended by ](../../resources/inherit.gif)**org.hamcrest.EasyMock2Matchers**
    

* * *
    
    
    public class **EasyMock2Matchers** extends java.lang.Object

**Author:**

     Joe Walnes 

* * *

**Constructor Summary**  
---  
` **[ EasyMock2Matchers
](../../org/hamcrest/EasyMock2Matchers.html#EasyMock2Matchers\(\)) ** () `  
  
**Method Summary**  
---  
` static java.lang.String ` |  ` **[ equalTo ](../../org/hamcrest/EasyMock2Matchers.html#equalTo\(java.lang.String\)) ** (java.lang.String string) `   
  
**Methods inherited from class java.lang.Object**  
---  
` clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString,
wait, wait, wait `  
  
**Constructor Detail**  
---  
  
###  EasyMock2Matchers

    
    
    public **EasyMock2Matchers**()

**Method Detail**  
---  
  
###  equalTo

    
    
    public static java.lang.String **equalTo**(java.lang.String string)

    

* * *

|  [ **Overview** ](../../overview-summary.html) |  [ **Package** ](package-summary.html) |  **Class** |  [ **Use** ](class-use/EasyMock2Matchers.html) |  [ **Tree** ](package-tree.html) |  [ **Deprecated** ](../../deprecated-list.html) |  [ **Index** ](../../index-all.html) |  [ **Help** ](../../help-doc.html)  
---|---|---|---|---|---|---|---  
__  
[ **PREV CLASS** ](../../org/hamcrest/DiagnosingMatcher.html "class in org.hamcrest") [ **NEXT CLASS** ](../../org/hamcrest/Factory.html "annotation in org.hamcrest") |  [ **FRAMES** ](../../index.html?org/hamcrest/EasyMock2Matchers.html) [ **NO FRAMES** ](EasyMock2Matchers.html) [ **All Classes** ](../../allclasses-noframe.html)  
SUMMARY: NESTED | FIELD |  CONSTR  |  METHOD  |  DETAIL: FIELD |  CONSTR  |  METHOD   
  
* * *
.[ BaseMatcher
](../../../org/hamcrest/BaseMatcher.html "class in org.hamcrest") **  
---  
` [ _dont_implement_Matcher___instead_extend_BaseMatcher_
](../../../org/hamcrest/BaseMatcher.html#_dont_implement_Matcher___instead_extend_BaseMatcher_\(\))
, [ toString ](../../../org/hamcrest/BaseMatcher.html#toString\(\)) `  
**Methods inherited from class java.lang.Object**  
---  
` clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait,
wait `  
  
**Constructor Detail**  
---  
  
###  StringEndsWith

    
    
    public **StringEndsWith**(java.lang.String substring)

**Method Detail**  
---  
  
###  evalSubstringOf

    
    
    protected boolean **evalSubstringOf**(java.lang.String s)

    

**Specified by:**      ` [ evalSubstringOf
](../../../org/hamcrest/core/SubstringMatcher.html#evalSubstringOf\(java.lang.String\))
` in class ` [ SubstringMatcher
](../../../org/hamcrest/core/SubstringMatcher.html "class in
org.hamcrest.core") `

    

* * *

###  relationship

    
    
    protected java.lang.String **relationship**()

    

**Specified by:**      ` [ relationship
](../../../org/hamcrest/core/SubstringMatcher.html#relationship\(\)) ` in
class ` [ SubstringMatcher ](../../../org/hamcrest/core/SubstringMatcher.html
"class in org.hamcrest.core") `

    

* * *

###  endsWith

    
    
    public static [Matcher](../../../org/hamcrest/Matcher.html "interface in org.hamcrest")<java.lang.String> **endsWith**(java.lang.String suffix)

     Creates a matcher that matches if the examined ` String ` ends with the specified ` String ` . 

For example:

    
    
    assertThat("myStringOfNote", endsWith("Note"))

    

**Parameters:**      ` suffix ` \- the substring that the returned matcher
will expect at the end of any examined string

* * *

|  [ **Overview** ](../../../overview-summary.html) |  [ **Package** ](package-summary.html) |  **Class** |  [ **Use** ](class-use/StringEndsWith.html) |  [ **Tree** ](package-tree.html) |  [ **Deprecated** ](../../../deprecated-list.html) |  [ **Index** ](../../../index-all.html) |  [ **Help** ](../../../help-doc.html)  
---|---|---|---|---|---|---|---  
__  
[ **PREV CLASS** ](../../../org/hamcrest/core/StringContains.html "class in org.hamcrest.core") [ **NEXT CLASS** ](../../../org/hamcrest/core/StringStartsWith.html "class in org.hamcrest.core") |  [ **FRAMES** ](../../../index.html?org/hamcrest/core/StringEndsWith.html) [ **NO FRAMES** ](StringEndsWith.html) [ **All Classes** ](../../../allclasses-noframe.html)  
SUMMARY: NESTED |  FIELD  |  CONSTR  |  METHOD  |  DETAIL: FIELD |  CONSTR  |  METHOD   
  
* * *
* * *

|  [ **Overview** ](../../overview-summary.html) |  [ **Package** ](package-summary.html) |  **Class** |  [ **Use** ](class-use/JMock1Matchers.html) |  [ **Tree** ](package-tree.html) |  [ **Deprecated** ](../../deprecated-list.html) |  [ **Index** ](../../index-all.html) |  [ **Help** ](../../help-doc.html)  
---|---|---|---|---|---|---|---  
__  
[ **PREV CLASS** ](../../org/hamcrest/JavaLangMatcherAssert.html "class in org.hamcrest") [ **NEXT CLASS** ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") |  [ **FRAMES** ](../../index.html?org/hamcrest/JMock1Matchers.html) [ **NO FRAMES** ](JMock1Matchers.html) [ **All Classes** ](../../allclasses-noframe.html)  
SUMMARY: NESTED | FIELD |  CONSTR  |  METHOD  |  DETAIL: FIELD |  CONSTR  |  METHOD   
  
* * *

##  org.hamcrest  
Class JMock1Matchers

    
    
    java.lang.Object
      ![extended by ](../../resources/inherit.gif)**org.hamcrest.JMock1Matchers**
    

* * *
    
    
    public class **JMock1Matchers** extends java.lang.Object

* * *

**Constructor Summary**  
---  
` **[ JMock1Matchers
](../../org/hamcrest/JMock1Matchers.html#JMock1Matchers\(\)) ** () `  
  
**Method Summary**  
---  
` static org.jmock.core.Constraint ` |  ` **[ equalTo ](../../org/hamcrest/JMock1Matchers.html#equalTo\(java.lang.String\)) ** (java.lang.String string) `   
  
**Methods inherited from class java.lang.Object**  
---  
` clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString,
wait, wait, wait `  
  
**Constructor Detail**  
---  
  
###  JMock1Matchers

    
    
    public **JMock1Matchers**()

**Method Detail**  
---  
  
###  equalTo

    
    
    public static org.jmock.core.Constraint **equalTo**(java.lang.String string)

    

* * *

|  [ **Overview** ](../../overview-summary.html) |  [ **Package** ](package-summary.html) |  **Class** |  [ **Use** ](class-use/JMock1Matchers.html) |  [ **Tree** ](package-tree.html) |  [ **Deprecated** ](../../deprecated-list.html) |  [ **Index** ](../../index-all.html) |  [ **Help** ](../../help-doc.html)  
---|---|---|---|---|---|---|---  
__  
[ **PREV CLASS** ](../../org/hamcrest/JavaLangMatcherAssert.html "class in org.hamcrest") [ **NEXT CLASS** ](../../org/hamcrest/Matcher.html "interface in org.hamcrest") |  [ **FRAMES** ](../../index.html?org/hamcrest/JMock1Matchers.html) [ **NO FRAMES** ](JMock1Matchers.html) [ **All Classes** ](../../allclasses-noframe.html)  
SUMMARY: NESTED | FIELD |  CONSTR  |  METHOD  |  DETAIL: FIELD |  CONSTR  |  METHOD   
  
* * *
erited from class org.hamcrest.[ BaseMatcher
](../../../org/hamcrest/BaseMatcher.html "class in org.hamcrest") **  
---  
` [ _dont_implement_Matcher___instead_extend_BaseMatcher_
](../../../org/hamcrest/BaseMatcher.html#_dont_implement_Matcher___instead_extend_BaseMatcher_\(\))
, [ toString ](../../../org/hamcrest/BaseMatcher.html#toString\(\)) `  
**Methods inherited from class java.lang.Object**  
---  
` clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait,
wait `  
  
**Constructor Detail**  
---  
  
###  StringStartsWith

    
    
    public **StringStartsWith**(java.lang.String substring)

**Method Detail**  
---  
  
###  evalSubstringOf

    
    
    protected boolean **evalSubstringOf**(java.lang.String s)

    

**Specified by:**      ` [ evalSubstringOf
](../../../org/hamcrest/core/SubstringMatcher.html#evalSubstringOf\(java.lang.String\))
` in class ` [ SubstringMatcher
](../../../org/hamcrest/core/SubstringMatcher.html "class in
org.hamcrest.core") `

    

* * *

###  relationship

    
    
    protected java.lang.String **relationship**()

    

**Specified by:**      ` [ relationship
](../../../org/hamcrest/core/SubstringMatcher.html#relationship\(\)) ` in
class ` [ SubstringMatcher ](../../../org/hamcrest/core/SubstringMatcher.html
"class in org.hamcrest.core") `

    

* * *

###  startsWith

    
    
    public static [Matcher](../../../org/hamcrest/Matcher.html "interface in org.hamcrest")<java.lang.String> **startsWith**(java.lang.String prefix)

     Creates a matcher that matches if the examined ` String ` starts with the specified ` String ` . 

For example:

    
    
    assertThat("myStringOfNote", startsWith("my"))

    

**Parameters:**      ` prefix ` \- the substring that the returned matcher
will expect at the start of any examined string

* * *

|  [ **Overview** ](../../../overview-summary.html) |  [ **Package** ](package-summary.html) |  **Class** |  [ **Use** ](class-use/StringStartsWith.html) |  [ **Tree** ](package-tree.html) |  [ **Deprecated** ](../../../deprecated-list.html) |  [ **Index** ](../../../index-all.html) |  [ **Help** ](../../../help-doc.html)  
---|---|---|---|---|---|---|---  
__  
[ **PREV CLASS** ](../../../org/hamcrest/core/StringEndsWith.html "class in org.hamcrest.core") [ **NEXT CLASS** ](../../../org/hamcrest/core/SubstringMatcher.html "class in org.hamcrest.core") |  [ **FRAMES** ](../../../index.html?org/hamcrest/core/StringStartsWith.html) [ **NO FRAMES** ](StringStartsWith.html) [ **All Classes** ](../../../allclasses-noframe.html)  
SUMMARY: NESTED |  FIELD  |  CONSTR  |  METHOD  |  DETAIL: FIELD |  CONSTR  |  METHOD   
  
* * *
* * *

|  [ **Overview** ](../../overview-summary.html) |  [ **Package** ](package-summary.html) |  **Class** |  [ **Use** ](class-use/JavaLangMatcherAssert.html) |  [ **Tree** ](package-tree.html) |  [ **Deprecated** ](../../deprecated-list.html) |  [ **Index** ](../../index-all.html) |  [ **Help** ](../../help-doc.html)  
---|---|---|---|---|---|---|---  
__  
[ **PREV CLASS** ](../../org/hamcrest/FeatureMatcher.html "class in org.hamcrest") [ **NEXT CLASS** ](../../org/hamcrest/JMock1Matchers.html "class in org.hamcrest") |  [ **FRAMES** ](../../index.html?org/hamcrest/JavaLangMatcherAssert.html) [ **NO FRAMES** ](JavaLangMatcherAssert.html) [ **All Classes** ](../../allclasses-noframe.html)  
SUMMARY: NESTED | FIELD | CONSTR |  METHOD  |  DETAIL: FIELD | CONSTR |  METHOD   
  
* * *

##  org.hamcrest  
Class JavaLangMatcherAssert

    
    
    java.lang.Object
      ![extended by ](../../resources/inherit.gif)**org.hamcrest.JavaLangMatcherAssert**
    

* * *
    
    
    public class **JavaLangMatcherAssert** extends java.lang.Object

Integration method for use with Java's ` assert ` keyword. Example:

    
    
     assert that("Foo", startsWith("f"));
     

**Author:**

     Neil Dunn 

* * *

**Method Summary**  
---  
` static  |  ` <T> boolean `  
---  
` ` **[ that ](../../org/hamcrest/JavaLangMatcherAssert.html#that\(T,
org.hamcrest.Matcher\)) ** (T argument, [ Matcher
](../../org/hamcrest/Matcher.html "interface in org.hamcrest") <? super T>
matcher) `  
  
**Methods inherited from class java.lang.Object**  
---  
` clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString,
wait, wait, wait `  
  
**Method Detail**  
---  
  
###  that

    
    
    public static <T> boolean **that**(T argument,
                                   [Matcher](../../org/hamcrest/Matcher.html "interface in org.hamcrest")<? super T> matcher)

    

* * *

|  [ **Overview** ](../../overview-summary.html) |  [ **Package** ](package-summary.html) |  **Class** |  [ **Use** ](class-use/JavaLangMatcherAssert.html) |  [ **Tree** ](package-tree.html) |  [ **Deprecated** ](../../deprecated-list.html) |  [ **Index** ](../../index-all.html) |  [ **Help** ](../../help-doc.html)  
---|---|---|---|---|---|---|---  
__  
[ **PREV CLASS** ](../../org/hamcrest/FeatureMatcher.html "class in org.hamcrest") [ **NEXT CLASS** ](../../org/hamcrest/JMock1Matchers.html "class in org.hamcrest") |  [ **FRAMES** ](../../index.html?org/hamcrest/JavaLangMatcherAssert.html) [ **NO FRAMES** ](JavaLangMatcherAssert.html) [ **All Classes** ](../../allclasses-noframe.html)  
SUMMARY: NESTED | FIELD | CONSTR |  METHOD  |  DETAIL: FIELD | CONSTR |  METHOD   
  
* * *