EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.jpql.util.iterator
Class NullMutator

java.lang.Object
  extended by org.eclipse.persistence.jpa.jpql.util.iterator.NullMutator
All Implemented Interfaces:
Mutator<java.lang.Object>

public final class NullMutator
extends java.lang.Object
implements Mutator<java.lang.Object>

A null instance of a Mutator.

Version:
2.4
Since:
2.4

Method Summary
static
<T> Mutator<T>
instance()
          Returns the singleton instance of this NullMutator.
 void remove(java.lang.Object current)
          Removes the specified object from the original collection.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

instance

public static <T> Mutator<T> instance()
Returns the singleton instance of this NullMutator.

Returns:
The singleton instance of this NullMutator

remove

public void remove(java.lang.Object current)
Removes the specified object from the original collection.

Specified by:
remove in interface Mutator<java.lang.Object>
Parameters:
current - The item to remove from the original collection

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference