All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xapi.collect.proxy.SetOf Maven / Gradle / Ivy

Go to download

This module exists solely to package all other gwt modules into a single uber jar. This makes deploying to non-mavenized targets much easier. Of course, you would be wise to inherit your dependencies individually; the uber jar is intended for projects like collide, which have complex configuration, and adding many jars would be a pain.

The newest version!
package xapi.collect.proxy;

import java.util.Collection;
import java.util.Comparator;
import java.util.Iterator;
import java.util.Set;

import xapi.collect.X_Collect;
import xapi.collect.api.CollectionOptions;

public class SetOf  implements Set{

  private final Comparator cmp;


  public SetOf() {
    this(X_Collect.MUTABLE_SET);
  }
  public SetOf(Comparator cmp) {
    this.cmp = cmp;
  }
  public SetOf(CollectionOptions opts) {
    this(X_Collect.getComparator(opts));
  }

  @Override
  public int size() {
    return 0;
  }

  @Override
  public boolean isEmpty() {
    // TODO Auto-generated method stub
    return false;
  }

  @Override
  public boolean contains(Object o) {
    // TODO Auto-generated method stub
    return false;
  }

  @Override
  public Iterator iterator() {
    // TODO Auto-generated method stub
    return null;
  }

  @Override
  public Object[] toArray() {
    // TODO Auto-generated method stub
    return null;
  }

  @Override
  public  T[] toArray(T[] a) {
    // TODO Auto-generated method stub
    return null;
  }

  @Override
  public boolean add(V e) {
    // TODO Auto-generated method stub
    return false;
  }

  @Override
  public boolean remove(Object o) {
    // TODO Auto-generated method stub
    return false;
  }

  @Override
  public boolean containsAll(Collection c) {
    // TODO Auto-generated method stub
    return false;
  }

  @Override
  public boolean addAll(Collection c) {
    // TODO Auto-generated method stub
    return false;
  }

  @Override
  public boolean retainAll(Collection c) {
    // TODO Auto-generated method stub
    return false;
  }

  @Override
  public boolean removeAll(Collection c) {
    // TODO Auto-generated method stub
    return false;
  }

  @Override
  public void clear() {
    // TODO Auto-generated method stub

  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy