nq$b.java 2.46 KB
import com.google.common.base.Preconditions;
import com.google.common.collect.BoundType;
import com.google.common.collect.DiscreteDomain;
import com.google.common.collect.Range;

final class nq$b<C extends Comparable>
  extends nq<C>
{
  private static final long serialVersionUID = 0L;
  
  nq$b(C paramC)
  {
    super((Comparable)Preconditions.checkNotNull(paramC));
  }
  
  final BoundType a()
  {
    return BoundType.OPEN;
  }
  
  final C a(DiscreteDomain<C> paramDiscreteDomain)
  {
    return paramDiscreteDomain.next(this.a);
  }
  
  final nq<C> a(BoundType paramBoundType, DiscreteDomain<C> paramDiscreteDomain)
  {
    Object localObject = this;
    switch (nq.1.a[paramBoundType.ordinal()])
    {
    default: 
      throw new AssertionError();
    case 1: 
      paramBoundType = paramDiscreteDomain.next(this.a);
      if (paramBoundType == null) {
        localObject = nq.c.f();
      }
      break;
    case 2: 
      return (nq<C>)localObject;
    }
    return b(paramBoundType);
  }
  
  final void a(StringBuilder paramStringBuilder)
  {
    paramStringBuilder.append('(').append(this.a);
  }
  
  final boolean a(C paramC)
  {
    return Range.a(this.a, paramC) < 0;
  }
  
  final BoundType b()
  {
    return BoundType.CLOSED;
  }
  
  final C b(DiscreteDomain<C> paramDiscreteDomain)
  {
    return this.a;
  }
  
  final nq<C> b(BoundType paramBoundType, DiscreteDomain<C> paramDiscreteDomain)
  {
    Object localObject = this;
    switch (nq.1.a[paramBoundType.ordinal()])
    {
    default: 
      throw new AssertionError();
    case 2: 
      paramBoundType = paramDiscreteDomain.next(this.a);
      if (paramBoundType == null) {
        localObject = nq.a.f();
      }
      break;
    case 1: 
      return (nq<C>)localObject;
    }
    return b(paramBoundType);
  }
  
  final void b(StringBuilder paramStringBuilder)
  {
    paramStringBuilder.append(this.a).append(']');
  }
  
  final nq<C> c(DiscreteDomain<C> paramDiscreteDomain)
  {
    paramDiscreteDomain = a(paramDiscreteDomain);
    if (paramDiscreteDomain != null) {
      return b(paramDiscreteDomain);
    }
    return nq.a.f();
  }
  
  public final int hashCode()
  {
    return this.a.hashCode() ^ 0xFFFFFFFF;
  }
  
  public final String toString()
  {
    String str = String.valueOf(String.valueOf(this.a));
    return str.length() + 2 + "/" + str + "\\";
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/nq$b.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */