com.google.appengine.api.memcache

## Class MemcacheService.CasValues

- java.lang.Object
- - com.google.appengine.api.memcache.MemcacheService.CasValues

- Enclosing interface:
    MemcacheService

      public static final class MemcacheService.CasValues
      extends java.lang.Object

  A holder for compare and set values. `expiration` and `newValue` can be null.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CasValues(MemcacheService.IdentifiableValue oldValue, java.lang.Object newValue)`
    `CasValues(MemcacheService.IdentifiableValue oldValue, java.lang.Object newValue, Expiration expiration)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object otherObj)`
    `Expiration` | `getExipration()`
    `java.lang.Object` | `getNewValue()`
    `MemcacheService.IdentifiableValue` | `getOldValue()`
    `int` | `hashCode()`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CasValues

          public CasValues(MemcacheService.IdentifiableValue oldValue,
                           java.lang.Object newValue)

    - #### CasValues

          public CasValues(MemcacheService.IdentifiableValue oldValue,
                           java.lang.Object newValue,
                           Expiration expiration)

  - ### Method Detail

    - #### getOldValue

          public MemcacheService.IdentifiableValue getOldValue()

    - #### getNewValue

          public java.lang.Object getNewValue()

    - #### getExipration

          public Expiration getExipration()

    - #### equals

          public boolean equals(java.lang.Object otherObj)

      Overrides:
        `equals` in class `java.lang.Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `java.lang.Object`