java.io.DataOutput



API Populatity

62 Client projects

Project: java

Package: java.io

Project apache/cassandra in file ....java.org.apache.cassandra.dht.AbstractBounds.java (2014-04-14)
@@ -18,7 +18,6 @@
 package org.apache.cassandra.dht;
 
 import java.io.DataInput;
-import java.io.DataOutput;
 import java.io.IOException;
 import java.io.Serializable;
 import java.util.*;
@@ -100,7 +99,7 @@ public abstract class AbstractBounds<T extends RingPosition> implements Serializ
     {
         if (value instanceof DecoratedKey)
         {
-            return keyValidator.getString(((DecoratedKey)value).key);
+            return keyValidator.getString(((DecoratedKey)value).getKey());
         }
         else
         {
Project JetBrains/intellij-community in file ...src.com.intellij.history.core.storage.Content.java (2009-11-11)
@@ -19,10 +19,11 @@ package com.intellij.history.core.storage;
 import com.intellij.history.core.tree.Entry;
 import com.intellij.history.integration.IdeaGateway;
 
+import java.io.DataOutput;
 import java.io.IOException;
 
 public abstract class Content {
-  public void write(Stream s) throws IOException {
+  public void write(DataOutput out) throws IOException {
   }
 
   public abstract byte[] getBytes();
@@ -37,7 +38,7 @@ public abstract class Content {
 
   public abstract boolean isAvailable();
 
-  public abstract void purge();
+  public abstract void release();
 
   @Override
   public String toString() {
Project apache/cassandra in file ...rc.java.org.apache.cassandra.db.ColumnIndexer.java (2009-08-11)
@@ -20,6 +20,7 @@ package org.apache.cassandra.db;
 
 import java.io.DataOutputStream;
 import java.io.IOException;
+import java.io.DataOutput;
 import java.util.ArrayList;
 import java.util.Collection;
 import java.util.List;
@@ -45,7 +46,7 @@ public class ColumnIndexer
 	 * @param dos data output stream
 	 * @throws IOException
 	 */
-    public static void serialize(ColumnFamily columnFamily, DataOutputStream dos) throws IOException
+    public static void serialize(ColumnFamily columnFamily, DataOutput dos) throws IOException
 	{
         Collection<IColumn> columns = columnFamily.getSortedColumns();
         BloomFilter bf = createColumnBloomFilter(columns);                    
@@ -101,7 +102,7 @@ public class ColumnIndexer
      *            to be written.
      * @throws IOException
      */
-    private static void doIndexing(AbstractType comparator, Collection<IColumn> columns, DataOutputStream dos) throws IOException
+    private static void doIndexing(AbstractType comparator, Collection<IColumn> columns, DataOutput dos) throws IOException
     {
         assert !columns.isEmpty();