public class Sort extends Object implements Map.Entry<String,Sort.Direction>
Modifier and Type | Class and Description |
---|---|
static class |
Sort.Direction
Enumeration for sort directions.
|
Constructor and Description |
---|
Sort(String key,
Sort.Direction value) |
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
Sort.Direction |
getValue() |
Sort.Direction |
setValue(Sort.Direction value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, hashCode
public Sort(String key, Sort.Direction value)
public String getKey()
getKey
in interface Map.Entry<String,Sort.Direction>
public Sort.Direction getValue()
getValue
in interface Map.Entry<String,Sort.Direction>
public Sort.Direction setValue(Sort.Direction value)
setValue
in interface Map.Entry<String,Sort.Direction>
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.